Billing automation, Pix, boleto, credit card, and subscriptions. Your agent manages customers, creates recurring charges, and tracks payment status.
Asaas gives your agent 24 tools it calls directly β pick the ones it needs, in Claude, Cursor, or any MCP client.
create_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.get_payment β Get payment details by IDlist_payments β List payments with optional filters// 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", { /* ... */ });$ npm install @codespar/mcp-asaasAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"asaas": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-asaas"
],
"env": {
"ASAAS_API_KEY": "<your_asaas_api_key>"
}
}
}
}After restart, your agent can call any of the 24 tools below β try create_payment first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
ASAAS_API_KEYAPI key for asaas
Each tool is independent β your agent loads only what it needs to reduce context and response time.
create_paymentget_paymentlist_paymentsget_pix_qrcodeget_boletocreate_customerlist_customerscreate_subscriptionMCP is a protocol β any framework that speaks it can mount this server.