Skip to main content
AS

Asaas

v0.1.3API Key

Automação de cobrança, Pix, boleto, cartão de crédito e assinaturas. Seu agente gerencia clientes, cria cobranças recorrentes e acompanha o status do pagamento.

24 ferramentas1 env vars🇧🇷 Brasilestável no npm

O que seu agente faz

O Asaas dá ao seu agente 24 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.

  • create_paymentCreate a payment in Asaas (Pix, boleto, or credit card). Pass `installments` (>=2) with `billingType: CREDIT_CARD` to split the value into equal monthly installments.
  • get_paymentGet payment details by ID
  • list_paymentsList payments with optional filters
Exemplo de chamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_payment", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-asaas

Quickstart

Adicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "asaas": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-asaas"
      ],
      "env": {
        "ASAAS_API_KEY": "<your_asaas_api_key>"
      }
    }
  }
}

Depois de reiniciar, seu agente pode chamar qualquer uma das 24 ferramentas abaixo — teste create_payment primeiro.

Variáveis de ambiente · 1

Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.

ASAAS_API_KEY
obrigatóriosecret

API key for asaas

Ferramentas disponíveis · 24

Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.

WRITEcreate_payment
Create a payment in Asaas (Pix, boleto, or credit card). Pass `installments` (>=2) with `billingType: CREDIT_CARD` to split the value into equal monthly installments.
WRITEget_payment
Get payment details by ID
WRITElist_payments
List payments with optional filters
READget_pix_qrcode
Get Pix QR code for a payment (returns payload and image)
READget_boleto
Get boleto digitable line and barcode for a payment
WRITEcreate_customer
Create a customer in Asaas
READlist_customers
List customers with optional filters
WRITEcreate_subscription
Create a recurring subscription

Frameworks compatíveis

MCP é um protocolo — qualquer framework que o fale pode montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Qualquer cliente MCPProtocolo

Perguntas frequentes

Rode `npx -y @codespar/mcp-asaas` e adicione o bloco de config acima ao seu cliente MCP — Claude, Cursor, VS Code ou qualquer cliente compatível com MCP. Sem build, sem SDK. Prefere hospedado? O tier gerenciado da CodeSpar roda pra você, com a auth resolvida.
Asaas — MCP server · 24 tools | CodeSpar