Skip to main content
AS

Asaas

v0.1.3API Key

Automatización de cobros, Pix, boleto, tarjeta de crédito y suscripciones. Tu agente gestiona clientes, crea cobros recurrentes y sigue el estado del pago.

24 herramientas1 env vars🇧🇷 Brasilestable en npm

Qué puede hacer tu agente

Asaas le da a tu agente 24 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier 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
Ejemplo de llamada
// 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

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

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

Después de reiniciar, tu agente puede llamar cualquiera de las 24 herramientas de abajo — probá create_payment primero.

Variables de entorno · 1

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

ASAAS_API_KEY
obligatoriosecret

API key for asaas

Herramientas disponibles · 24

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

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 compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

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

Preguntas frecuentes

Corré `npx -y @codespar/mcp-asaas` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Asaas — MCP server · 24 tools | CodeSpar