payments
ChargeOver MCP Integration for LangChain
Connect ChargeOver to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect ChargeOver to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
ChargeOver MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-chargeover": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=chargeover",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=chargeover --write=deny Why Use KosmoKrator Here
Expose only ChargeOver instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
ChargeOver Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the ChargeOver integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__chargeover__chargeover_list_customers | chargeover.chargeover_list_customers | Read | List customers from ChargeOver. Returns customer records with contact details, company info, and account status. Supports pagination and status filtering. |
integration__chargeover__chargeover_get_customer | chargeover.chargeover_get_customer | Read | Get detailed information about a specific ChargeOver customer by ID, including contact details, billing address, account balance, and payment methods. |
integration__chargeover__chargeover_list_subscriptions | chargeover.chargeover_list_subscriptions | Read | List subscriptions from ChargeOver. Returns subscription details including plan, billing cycle, status, and associated customer. Supports filtering by customer. |
integration__chargeover__chargeover_list_invoices | chargeover.chargeover_list_invoices | Read | List invoices from ChargeOver. Returns invoice details including amounts, dates, line items, and payment status. Supports pagination and status filtering. |
integration__chargeover__chargeover_get_invoice | chargeover.chargeover_get_invoice | Read | Get detailed information about a specific ChargeOver invoice by ID, including line items, totals, tax, applied payments, and invoice URL. |
integration__chargeover__chargeover_list_transactions | chargeover.chargeover_list_transactions | Read | List transactions (payments) from ChargeOver. Returns payment records including amounts, methods, dates, and associated customers and invoices. |
integration__chargeover__chargeover_get_current_user | chargeover.chargeover_get_current_user | Read | Get information about the currently authenticated ChargeOver user and account. Useful for verifying connectivity and understanding which account the integration is connected to. |