Set it up
-
Turn on Stripe in your AI
In Claude: open Settings → Connectors and add Stripe. In ChatGPT: Settings → Apps & Connectors.
-
Add it to your app once
Copy the short config below into your app. It just tells your AI where to find Stripe.
-
Just ask
Tell it what you want in plain words — no special commands.
For example, say
“Show me the 10 most recent successful charges in Stripe”
Need the exact config? Show it +
Add to your client
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": ["-y", "@stripe/mcp", "--tools=all", "--api-key=sk_test_<your-key>"]
}
}
}Paste into your client's MCP configuration file.
Get the skill
A ready-made skill that teaches your AI agent to use Stripe well. Stripe's official agent skills for modern Stripe APIs.
npx skills add stripe/ai Ready-to-run prompts
If you ask, Stripe does it. Copy one, paste it into Claude, Codex or ChatGPT, done. No setup.
Look up a customer's billing
If you ask
“Look up the customer with email jane@acme.com and show their last 5 charges”
Then
Investigate a customer's billing history, failed charges, or active subscriptions.
Pull a revenue snapshot
If you ask
“How many new subscriptions did we get in the last 7 days?”
Then
Get a quick revenue or subscription count for any time window.
Handle refunds and disputes
If you ask
“Issue a full refund for charge ch_3XYZ and add a note saying 'customer error'”
Then
Issue refunds or pull dispute details through conversation, with AI-generated notes.
Good to know
- · Restricted API keys are strongly recommended — never use a full secret key for AI agents
- · Live-mode actions are irreversible — refunds and customer deletes can't be undone
- · Never paste live Stripe keys into shared chats or logs — they leak quickly
When to use
- ✓ You need to investigate a customer's payment or subscription issue quickly
- ✓ You want to run revenue or subscription queries without opening the dashboard
- ✓ You're handling customer support and need to issue refunds from context
- ✓ You're testing Stripe integrations and want to inspect test-mode data
When not to use
- × You're building production payment flows — use the Stripe SDK directly in code
- × You need to manage sensitive actions without human review (always confirm refunds)
- × You use Paddle, Lemon Squeezy, or another billing provider
About
Imagine asking your AI: 'How much revenue did we make this week?' or 'Refund the charge for customer@example.com' — and it queries Stripe for you. This server connects your AI to the Stripe API so it can look up customers, inspect charges, manage subscriptions, and handle refunds through conversation.
The official Stripe MCP server gives AI assistants access to the Stripe API. Query customers, inspect payment histories, manage subscriptions, retrieve invoices, and handle refunds — all through natural language.
Maintained by Stripe with comprehensive API coverage. One of the most valuable integrations for SaaS businesses.
Workflows That Use Stripe MCP
Works With
FAQ
What does Stripe MCP do? +
Imagine asking your AI: 'How much revenue did we make this week?' or 'Refund the charge for customer@example.com' — and it queries Stripe for you. This server connects your AI to the Stripe API so it can look up customers, inspect charges, manage subscriptions, and handle refunds through conversation.
Do I need to know how to code? +
No. Turn it on in your AI's settings and ask in plain English — no terminal, no coding.
When should I use Stripe MCP? +
Reach for it when you need to: You need to investigate a customer's payment or subscription issue quickly; You want to run revenue or subscription queries without opening the dashboard; You're handling customer support and need to issue refunds from context; You're testing Stripe integrations and want to inspect test-mode data.
When should I avoid Stripe MCP? +
Skip it when: You're building production payment flows — use the Stripe SDK directly in code; You need to manage sensitive actions without human review (always confirm refunds); You use Paddle, Lemon Squeezy, or another billing provider.
Is Stripe MCP free? +
Stripe MCP is free and open source (MIT license).
How do I install Stripe MCP? +
In Claude Code, run: claude mcp add stripe -- npx -y @stripe/mcp --tools=all --api-key=sk_test_<your-key>. Copy-paste configs for Claude Desktop, Cursor, and Windsurf are at the top of this page.