KosmoKrator

billing

Zuora MCP Integration for LangChain

Connect Zuora to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Manual OAuth token auth

Connect Zuora 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.

Zuora MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-zuora": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=zuora",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=zuora --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Zuora instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Zuora Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Zuora integration catalog.

MCP toolSource functionTypeDescription
integration__zuora__zuora_list_accounts zuora.zuora_list_accounts Read List Zuora customer accounts. Returns account IDs, names, numbers, and status. Supports filtering and pagination.
integration__zuora__zuora_get_account zuora.zuora_get_account Read Get details of a specific Zuora account by its ID. Returns account name, number, status, balance, and billing information.
integration__zuora__zuora_list_subscriptions zuora.zuora_list_subscriptions Read List Zuora subscriptions. Returns subscription IDs, numbers, status, and key dates. Supports filtering by account, status, and more.
integration__zuora__zuora_get_subscription zuora.zuora_get_subscription Read Get details of a specific Zuora subscription by its ID. Returns subscription status, rate plans, charges, and key dates.
integration__zuora__zuora_list_invoices zuora.zuora_list_invoices Read List Zuora invoices. Returns invoice IDs, numbers, amounts, status, and dates. Supports filtering by account, status, and date.
integration__zuora__zuora_list_payments zuora.zuora_list_payments Read List Zuora payments. Returns payment IDs, numbers, amounts, status, and methods. Supports filtering by account, status, and date.
integration__zuora__zuora_get_current_user zuora.zuora_get_current_user Read Get the profile of the currently authenticated Zuora user. Returns user name, email, and tenant information.

Related Zuora Pages