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.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.
Agent Surfaces
Machine-Readable Metadata
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. |