payments
Stripe Connect MCP Integration for LangGraph
Connect Stripe Connect to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Stripe Connect to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Stripe Connect MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph 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. |