Back to Home
pcontezini icon

asaas-mcp-server

Verified Safe

by pcontezini

Overview

This server acts as an MCP (Model Context Protocol) intermediary, dynamically generating tools from the Asaas OpenAPI specification to enable LLMs to interact with the Asaas financial API via STDIO/JSON-RPC.

Installation

Run Command
npm run dev

Environment Variables

  • ASAAS_API_KEY
  • SANDBOX_API_KEY
  • ASAAS_ENV
  • ASAAS_BASE_URL
  • ASAAS_TIMEOUT_MS
  • ASAAS_RETRY_ATTEMPTS
  • ASAAS_RETRY_BACKOFF_MS
  • ASAAS_RETRY_MAX_BACKOFF_MS
  • ASAAS_SPEC_PATH
  • ASAAS_SPEC_CACHE_ONLY
  • ASAAS_LOG
  • ASAAS_LOG_FILE
  • ASAAS_TOOL_LIMIT
  • ASAAS_TOOL_FILTER
  • ASAAS_SCHEMA_MINIMAL
  • ASAAS_LSP_FRAMING
  • API_KEY
  • DEBUG

Security Notes

The server primarily relies on environment variables for sensitive data like API keys, which is a good practice. It explicitly checks for the presence of an API key. HTTP requests are made over HTTPS, and basic retry logic for rate limits/network errors is included. Path parameters are URL-encoded, preventing path traversal. Logging can be directed to a file but is carefully handled to prevent crashes. There are no obvious signs of eval() usage or code obfuscation. The server acts as a proxy, so its security profile is largely dependent on the underlying Asaas API's security. Input schemas for tools are derived from the OpenAPI spec, providing a level of input validation.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens800
Stars0
Forks0
Last Update2025-12-02

Tags

MCP ServerOpenAPIJSON-RPCAsaas APINode.jsFinancial Integration