payments
Stripe Connect MCP Integration for OpenAI Agents SDK
Connect Stripe Connect to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Stripe Connect to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Stripe Connect MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |