KosmoKrator

billing

Zuora MCP Integration for Vercel AI SDK

Connect Zuora to Vercel AI SDK 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Zuora MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI SDK 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