Stripe MCP server: setup, auth, production
Last verified: June 2026· Stripe MCP integration
Official MCP server commonly availableYour payments, subscriptions, and billing data.
What is the Stripe MCP server?
A Stripe MCP server implements the Model Context Protocol and exposes Stripe's capabilities as typed tools an agent can discover and call in the middle of a task. Your payments, subscriptions, and billing data.
Business-system access is where a wrong write moves money or touches a customer record, so the rule is absolute: read-only by default, restricted keys, and a hard human gate on anything that mutates. The value is answering real questions against live data, safely.
A real Stripe workflow
A billing question — “why did this customer get charged twice?” — becomes a real answer: the agent reads the customer’s payment and subscription history against live data, and drafts (never executes) the refund for a human to approve.
What an agent can do with Stripe
- Let an agent answer a billing question against real data
- Investigate a failed payment or subscription state
- Draft a refund for human approval (never auto-execute)
Read-only is the right default: let the agent observe and reason first, then grant specific write actions deliberately — each behind audit logging and, for anything high-impact, human approval.
Setting up the Stripe MCP server
Use a restricted Stripe API key, read-only by default. Stripe’s restricted keys let you allow specific resources; grant read on customers/charges/subscriptions and nothing that can move money.
Auth: A restricted Stripe API key, read-only by default. Credentials belong in the environment or a secret store — never in the repo or the agent's sandbox. Wiring a server into Claude Code or Cursor is the same for every tool; the step-by-step lives in the MCP connection guide.
The risk to watch with Stripe
This is money. A key that can create refunds or modify subscriptions in an agent’s hands is unacceptable — read-only key, and any money-moving action is a human decision, full stop.
More broadly, a production-grade Stripe integration needs restricted keys, read-only defaults, and a hard gate on money-moving actions. The MCP security checklist applies to every integration — we build servers with these controls baked in.
Troubleshooting
If the Stripe tools don't appear after setup, it's almost always auth or transport. See MCP server not connecting for the step-by-step fix — and note that hosted servers often need OAuth, not a plain API key. To understand how MCP relates to ordinary tool use, see MCP vs function calling.
Frequently asked questions
Is there an official MCP server for Stripe?
Official MCP server commonly available. Whichever you use, a production setup needs restricted keys, read-only defaults, and a hard gate on money-moving actions.
How does authentication work for Stripe over MCP?
A restricted Stripe API key, read-only by default. Credentials should never live in the sandbox or the repo; route them through your client's secret handling or a vaulted credential.
What can an agent actually do with Stripe?
Let an agent answer a billing question against real data; Investigate a failed payment or subscription state; Draft a refund for human approval (never auto-execute). Start read-only and add write access deliberately, behind audit logging.
Is it safe to give agents access to Stripe?
Yes, when scoped correctly: least-privilege credentials, read-only by default, audit logs on every call, and human approval for any high-impact action. Restricted keys, read-only defaults, and a hard gate on money-moving actions.