Stripe Agent Toolkit
Officialby Stripe
Ask Claude to create a payment link, email the invoice, and apply a 20% coupon -- in one prompt. The Stripe Agent Toolkit MCP server turns your AI assistant into a billing operations co-pilot that can read, write, and manage your entire Stripe account without you ever opening the dashboard. The server exposes 30+ tools covering the full billing lifecycle. Create and list customers, build product catalogs with tiered pricing, generate payment links for instant checkout, draft and finalize invoices with line items, manage subscriptions (create, update, cancel), process refunds, handle disputes, and create coupon codes. Utility tools like search_stripe_resources and fetch_stripe_resources let Claude query any Stripe object by ID or search term, and search_stripe_documentation gives it access to Stripe's knowledge base for answering integration questions on the fly. Stripe hosts a remote MCP server at mcp.stripe.com with OAuth authentication, so you can connect from Claude Desktop, Cursor, or VS Code without managing API keys locally. For local development or CI pipelines, run `npx -y @stripe/mcp --api-key=sk_test_...` and you are up in under a minute. Security is handled through Restricted API Keys -- you decide exactly which Stripe resources your AI assistant can touch, down to individual API methods. The real power shows up when you combine Stripe MCP with other servers. Pair it with GitHub MCP to build an end-to-end workflow: customer reports a billing bug in an issue, Claude reads the issue, queries Stripe for the customer's invoice history, identifies the problem, issues a refund, and posts the resolution back to the issue. Or connect it with a database MCP server to reconcile your internal records against Stripe's data. Beyond MCP, the toolkit also works as a standalone SDK for OpenAI Agents, LangChain, CrewAI, and Vercel AI SDK -- but the MCP server is the zero-config path for Claude users. This is an official Stripe product built on the Stripe Node SDK, backed by Stripe's security team, and MIT-licensed. If you run any kind of SaaS, e-commerce, or subscription business and use an AI coding assistant, this server pays for itself the first time you resolve a billing support ticket without leaving your editor.
Installation
Key Features
- ✓30+ tools covering payments, subscriptions, invoices, refunds, disputes, coupons, and customer management -- full billing lifecycle in natural language
- ✓Remote OAuth server at mcp.stripe.com -- connect from Claude Desktop or Cursor without managing API keys locally
- ✓Local STDIO mode via `npx -y @stripe/mcp` for development and CI pipelines with sub-minute setup
- ✓Restricted API Key scoping lets you control exactly which Stripe resources your AI can read or write
- ✓Built-in Stripe documentation search so Claude can look up API behavior and edge cases mid-conversation
- ✓Also works as a standalone SDK for OpenAI Agents, LangChain, CrewAI, and Vercel AI SDK beyond MCP
Use Cases
- →Resolve billing support tickets without leaving your editor: ask Claude to look up a customer, check their invoice history, and issue a targeted refund or apply a credit
- →Bootstrap SaaS pricing: tell Claude to create your product, set up three pricing tiers, and generate payment links you can drop into your landing page -- entire checkout configured in one conversation
- →Subscription management during development: update, cancel, or create test subscriptions while building your billing integration -- no Stripe dashboard tab-switching
- →Dispute response: ask Claude to pull dispute details, draft evidence from your order data, and submit the response directly through Stripe
- →Revenue investigation: search across customers, invoices, and subscriptions to answer ad-hoc questions like 'which Pro plan customers have overdue invoices?'