payments
Stripe Connect MCP Integration for Claude Agent SDK
Connect Stripe Connect to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Stripe Connect to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Stripe Connect MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-stripe-connect": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=stripe-connect",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=stripe-connect --write=deny Why Use KosmoKrator Here
Expose only Stripe Connect 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.
Stripe Connect Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Stripe Connect integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__stripe_connect__stripe_connect_list_accounts | stripe-connect.stripe_connect_list_accounts | Read | List Stripe Connect accounts. Returns a paginated list of connected accounts with ID, business type, display name, and email. |
integration__stripe_connect__stripe_connect_get_account | stripe-connect.stripe_connect_get_account | Read | Retrieve a Stripe Connect account by ID. Returns full account details including business profile, capabilities, and metadata. |
integration__stripe_connect__stripe_connect_list_payouts | stripe-connect.stripe_connect_list_payouts | Read | List Stripe Connect payouts with optional filtering. Supports filtering by status (paid, pending, in_transit, canceled, failed) and arrival date, and pagination with limit. |
integration__stripe_connect__stripe_connect_get_payout | stripe-connect.stripe_connect_get_payout | Read | Retrieve a Stripe Connect payout by ID. Returns full payout details including amount, status, arrival date, and destination. |
integration__stripe_connect__stripe_connect_list_balances | stripe-connect.stripe_connect_list_balances | Read | List Stripe Connect balance transactions. Returns a paginated list of balance transactions with type, amount, currency, and description. |
integration__stripe_connect__stripe_connect_list_capabilities | stripe-connect.stripe_connect_list_capabilities | Read | List Stripe Connect account capabilities. Returns capabilities for a specified connected account, including activation status (active, inactive, pending). |
integration__stripe_connect__stripe_connect_get_current_user | stripe-connect.stripe_connect_get_current_user | Read | Get the currently authenticated Stripe Connect user. Returns user profile information including ID, name, and email. |