productivity
Stripe MCP, CLI, and Lua Integration for AI Agents
Stripe integration docs for AI agents: MCP gateway setup, Stripe CLI commands, Lua API reference, credentials, and function schemas.
25 functions 10 read 15 write API key auth
Stripe for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
stripe- route_slug
stripe- package
stripe- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Stripe CLIHeadless setup and direct function calls. Stripe MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Stripe MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Stripe.
Claude Code Stripe MCP setup for Claude Code. Cursor Stripe MCP setup for Cursor. Codex Stripe MCP setup for Codex. OpenAI Agents Stripe MCP setup for OpenAI Agents SDK. Claude Agent SDK Stripe MCP setup for Claude Agent SDK. Vercel AI SDK Stripe MCP setup for Vercel AI SDK. LangChain Stripe MCP setup for LangChain. LangGraph Stripe MCP setup for LangGraph. CrewAI Stripe MCP setup for CrewAI. MCP clients Stripe MCP setup for Generic MCP Clients.
Stripe CLI Matrix
Use these pages for direct Stripe CLI workflows in scripts, CI, cron, and agent wrappers.
CI Stripe CLI for CI. Cron Jobs Stripe CLI for cron jobs. Shell Scripts Stripe CLI for shell scripts. Headless Automation Stripe CLI for headless automation. Coding Agents Stripe CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
stripe.stripe_create_customer | Write write | 5 | Create a new Stripe customer. Supports name, email, description, phone, and metadata. Returns the created customer object with ID. |
stripe.stripe_get_customer | Read read | 1 | Retrieve a Stripe customer by ID. Returns full customer details including email, name, metadata, and default payment method. |
stripe.stripe_update_customer | Write write | 6 | Update an existing Stripe customer. Supports updating name, email, description, phone, and metadata. |
stripe.stripe_list_customers | Read read | 3 | List Stripe customers with optional filtering. Supports filtering by email, pagination with limit and starting_after cursor. |
stripe.stripe_delete_customer | Write write | 1 | Delete a Stripe customer by ID. Permanently removes the customer and all associated data. |
stripe.stripe_create_product | Write write | 4 | Create a new Stripe product. Products are the goods or services you sell. After creating a product, create a price for it. |
stripe.stripe_list_products | Read read | 3 | List Stripe products with optional filtering. Supports filtering by active status and pagination. |
stripe.stripe_get_product | Read read | 1 | Retrieve a Stripe product by ID. Returns full product details including name, description, active status, and metadata. |
stripe.stripe_create_price | Write write | 6 | 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. |
stripe.stripe_list_prices | Read read | 4 | List Stripe prices with optional filtering. Supports filtering by product, active status, and pagination. |
stripe.stripe_create_payment_intent | Write write | 7 | Create a Stripe payment intent. Amounts are in cents (e.g., $10.00 = 1000). Supports automatic payment methods, manual capture, and metadata. |
stripe.stripe_get_payment_intent | Read read | 1 | Retrieve a Stripe payment intent by ID. Returns full payment intent details including amount, status, and charges. |
stripe.stripe_update_payment_intent | Write write | 3 | Update a Stripe payment intent. Supports updating description and metadata. |
stripe.stripe_confirm_payment_intent | Write write | 3 | Confirm a Stripe payment intent. Provide a payment method and optional return URL to confirm the payment. |
stripe.stripe_cancel_payment_intent | Write write | 2 | Cancel a Stripe payment intent. Can only cancel payment intents that are in "requires_payment_method", "requires_capture", or "requires_confirmation" status. |
stripe.stripe_capture_payment_intent | Write write | 2 | 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. |
stripe.stripe_create_invoice | Write write | 5 | Create a Stripe invoice for a customer. Requires a customer ID. Supports description, subscription, metadata, and auto_advance. |
stripe.stripe_get_invoice | Read read | 1 | Retrieve a Stripe invoice by ID. Returns full invoice details including line items, totals, and status. |
stripe.stripe_list_invoices | Read read | 4 | List Stripe invoices with optional filtering. Supports filtering by customer, status, and pagination. |
stripe.stripe_pay_invoice | Write write | 1 | Pay a Stripe invoice. The invoice must be in "open" status and the customer must have a payment method. |
stripe.stripe_void_invoice | Write write | 1 | Void a Stripe invoice. Marks the invoice as void. The invoice must be in "draft" or "open" status. |
stripe.stripe_create_subscription | Write write | 5 | Create a Stripe subscription for a customer. Requires a customer ID and a price ID. Supports quantity, trial periods, and metadata. |
stripe.stripe_get_subscription | Read read | 1 | Retrieve a Stripe subscription by ID. Returns full subscription details including status, plan, billing cycle, and trial info. |
stripe.stripe_cancel_subscription | Write write | 3 | Cancel a Stripe subscription by ID. Supports proration and immediate invoicing options. |
stripe.stripe_get_balance | Read read | 0 | Get the Stripe account balance. Returns available and pending balances with amounts per currency. |