productivity
Stripe MCP Integration for Codex
Connect Stripe to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Stripe to Codex
Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.
Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with
--write=deny so Codex can inspect read-capable tools without receiving write access by default.
Stripe MCP Config for Codex
Keep write access denied or ask-based unless the workspace is trusted.
{
"mcpServers": {
"kosmokrator-stripe": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=stripe",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=stripe --write=deny Why Use KosmoKrator Here
Expose only Stripe 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 Tools Visible to Codex
Codex sees stable MCP tool names generated from the Stripe integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__stripe__stripe_create_customer | stripe.stripe_create_customer | Write | Create a new Stripe customer. Supports name, email, description, phone, and metadata. Returns the created customer object with ID. |
integration__stripe__stripe_get_customer | stripe.stripe_get_customer | Read | Retrieve a Stripe customer by ID. Returns full customer details including email, name, metadata, and default payment method. |
integration__stripe__stripe_update_customer | stripe.stripe_update_customer | Write | Update an existing Stripe customer. Supports updating name, email, description, phone, and metadata. |
integration__stripe__stripe_list_customers | stripe.stripe_list_customers | Read | List Stripe customers with optional filtering. Supports filtering by email, pagination with limit and starting_after cursor. |
integration__stripe__stripe_delete_customer | stripe.stripe_delete_customer | Write | Delete a Stripe customer by ID. Permanently removes the customer and all associated data. |
integration__stripe__stripe_create_product | stripe.stripe_create_product | Write | Create a new Stripe product. Products are the goods or services you sell. After creating a product, create a price for it. |
integration__stripe__stripe_list_products | stripe.stripe_list_products | Read | List Stripe products with optional filtering. Supports filtering by active status and pagination. |
integration__stripe__stripe_get_product | stripe.stripe_get_product | Read | Retrieve a Stripe product by ID. Returns full product details including name, description, active status, and metadata. |
integration__stripe__stripe_create_price | stripe.stripe_create_price | Write | Create a price for a Stripe product. Amounts are in cents (e.g., $10.00 = 1000). Supports one-time and recurring prices with configurable intervals. |
integration__stripe__stripe_list_prices | stripe.stripe_list_prices | Read | List Stripe prices with optional filtering. Supports filtering by product, active status, and pagination. |
integration__stripe__stripe_create_payment_intent | stripe.stripe_create_payment_intent | Write | Create a Stripe payment intent. Amounts are in cents (e.g., $10.00 = 1000). Supports automatic payment methods, manual capture, and metadata. |
integration__stripe__stripe_get_payment_intent | stripe.stripe_get_payment_intent | Read | Retrieve a Stripe payment intent by ID. Returns full payment intent details including amount, status, and charges. |
integration__stripe__stripe_update_payment_intent | stripe.stripe_update_payment_intent | Write | Update a Stripe payment intent. Supports updating description and metadata. |
integration__stripe__stripe_confirm_payment_intent | stripe.stripe_confirm_payment_intent | Write | Confirm a Stripe payment intent. Provide a payment method and optional return URL to confirm the payment. |
integration__stripe__stripe_cancel_payment_intent | stripe.stripe_cancel_payment_intent | Write | Cancel a Stripe payment intent. Can only cancel payment intents that are in "requires_payment_method", "requires_capture", or "requires_confirmation" status. |
integration__stripe__stripe_capture_payment_intent | stripe.stripe_capture_payment_intent | Write | Capture a Stripe payment intent that was created with capture_method="manual". Optionally specify an amount_to_capture to capture less than the original amount. Amounts are in cents. |
integration__stripe__stripe_create_invoice | stripe.stripe_create_invoice | Write | Create a Stripe invoice for a customer. Requires a customer ID. Supports description, subscription, metadata, and auto_advance. |
integration__stripe__stripe_get_invoice | stripe.stripe_get_invoice | Read | Retrieve a Stripe invoice by ID. Returns full invoice details including line items, totals, and status. |
integration__stripe__stripe_list_invoices | stripe.stripe_list_invoices | Read | List Stripe invoices with optional filtering. Supports filtering by customer, status, and pagination. |
integration__stripe__stripe_pay_invoice | stripe.stripe_pay_invoice | Write | Pay a Stripe invoice. The invoice must be in "open" status and the customer must have a payment method. |
integration__stripe__stripe_void_invoice | stripe.stripe_void_invoice | Write | Void a Stripe invoice. Marks the invoice as void. The invoice must be in "draft" or "open" status. |
integration__stripe__stripe_create_subscription | stripe.stripe_create_subscription | Write | Create a Stripe subscription for a customer. Requires a customer ID and a price ID. Supports quantity, trial periods, and metadata. |
integration__stripe__stripe_get_subscription | stripe.stripe_get_subscription | Read | Retrieve a Stripe subscription by ID. Returns full subscription details including status, plan, billing cycle, and trial info. |
integration__stripe__stripe_cancel_subscription | stripe.stripe_cancel_subscription | Write | Cancel a Stripe subscription by ID. Supports proration and immediate invoicing options. |
integration__stripe__stripe_get_balance | stripe.stripe_get_balance | Read | Get the Stripe account balance. Returns available and pending balances with amounts per currency. |