KosmoKrator

payments

Chargebee MCP, CLI, and Lua Integration for AI Agents

Chargebee integration docs for AI agents: MCP gateway setup, Chargebee CLI commands, Lua API reference, credentials, and function schemas.

7 functions 7 read 0 write Bearer token auth

Chargebee for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
chargebee
route_slug
chargebee
package
chargebee
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Chargebee MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Chargebee.

Chargebee CLI Matrix

Use these pages for direct Chargebee CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
chargebee.chargebee_list_subscriptions Read read 3 List subscriptions from Chargebee. Supports filtering by state (active, cancelled, non_renewing, paused, in_trial, future) and pagination. Returns subscription details including plan, status, and billing period.
chargebee.chargebee_get_subscription Read read 1 Retrieve detailed information about a specific Chargebee subscription by its ID, including plan details, billing period, status, and associated customer.
chargebee.chargebee_list_customers Read read 2 List customers from Chargebee with pagination. Returns customer details including email, name, company, and billing address.
chargebee.chargebee_get_customer Read read 1 Retrieve detailed information about a specific Chargebee customer by their ID, including contact details, billing address, and payment method.
chargebee.chargebee_list_invoices Read read 3 List invoices from Chargebee. Supports filtering by status (paid, posted, payment_due, not_paid, voided, pending) and pagination.
chargebee.chargebee_get_invoice Read read 1 Retrieve detailed information about a specific Chargebee invoice by its ID, including line items, totals, tax, and payment status.
chargebee.chargebee_get_current_user Read read 0 Retrieve the current authenticated user information from Chargebee. Use this to verify credentials are working and check user details.