payments
Chargebee MCP Gateway for AI Agents
Expose Chargebee tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
7 functions 7 read 0 write Bearer token auth
Chargebee MCP Gateway
Expose Chargebee to MCP clients with `kosmokrator mcp:serve --integration=chargebee`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=chargebee --write=deny --json {
"mcpServers": {
"kosmokrator-chargebee": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=chargebee",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=chargebee --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__chargebee__chargebee_list_subscriptions | chargebee.chargebee_list_subscriptions | Read read |
integration__chargebee__chargebee_get_subscription | chargebee.chargebee_get_subscription | Read read |
integration__chargebee__chargebee_list_customers | chargebee.chargebee_list_customers | Read read |
integration__chargebee__chargebee_get_customer | chargebee.chargebee_get_customer | Read read |
integration__chargebee__chargebee_list_invoices | chargebee.chargebee_list_invoices | Read read |
integration__chargebee__chargebee_get_invoice | chargebee.chargebee_get_invoice | Read read |
integration__chargebee__chargebee_get_current_user | chargebee.chargebee_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.