KosmoKrator

analytics

ChartMogul MCP, CLI, and Lua Integration for AI Agents

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

7 functions 7 read 0 write API key auth

ChartMogul 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
chartmogul
route_slug
chartmogul
package
chartmogul
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

ChartMogul MCP Client Matrix

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

ChartMogul CLI Matrix

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

Function Catalog

FunctionTypeParametersDescription
chartmogul.chartmogul_list_customers Read read 4 List customers from ChartMogul. Supports filtering by status or email and pagination. Returns customer details including UUID, name, email, company, and status.
chartmogul.chartmogul_get_customer Read read 1 Get details for a single ChartMogul customer by UUID. Returns full customer information including attributes, address, and custom fields.
chartmogul.chartmogul_list_subscriptions Read read 4 List subscriptions from ChartMogul. Supports filtering by customer UUID or status and pagination. Returns subscription details including plan, dates, and state.
chartmogul.chartmogul_list_plans Read read 2 List billing plans from ChartMogul. Returns plan details including name, interval, amount, and currency.
chartmogul.chartmogul_list_invoices Read read 3 List invoices from ChartMogul. Supports filtering by customer UUID and pagination. Returns invoice details including amount, dates, line items, and status.
chartmogul.chartmogul_get_metrics Read read 4 Query subscription analytics metrics from ChartMogul. Returns key metrics like MRR, ARR, churn rate, customer count, and more. Specify a date range and interval for timeseries data.
chartmogul.chartmogul_get_current_user Read read 0 Get the currently authenticated ChartMogul user. Returns user details including name, email, and account information. Useful for verifying API credentials.