Subscription billing with Pix, boleto, and credit card. Your agent creates invoices, manages customers, and handles recurring charges.
Iugu gives your agent 23 tools it calls directly β pick the ones it needs, in Claude, Cursor, or any MCP client.
create_invoice β Create an invoice in iugu (Pix, boleto, or credit card)get_invoice β Get invoice details by IDlist_invoices β List invoices 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_invoice", { /* ... */ });$ npm install @codespar/mcp-iuguAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"iugu": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-iugu"
],
"env": {
"IUGU_API_TOKEN": "<your_iugu_api_token>"
}
}
}
}After restart, your agent can call any of the 23 tools below β try create_invoice first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
IUGU_API_TOKENAPI key for iugu
Each tool is independent β your agent loads only what it needs to reduce context and response time.
create_invoiceget_invoicelist_invoicescancel_invoicerefund_invoiceduplicate_invoicecreate_customerupdate_customerMCP is a protocol β any framework that speaks it can mount this server.