Stripe MCP Server: Connect Claude or ChatGPT, What It Can Change, and the Approval Rules to Set First
Stripe's MCP server is a hosted endpoint at https://mcp.stripe.com. You add it to Claude, ChatGPT, Cursor, Claude Code, Codex or VS Code, sign in to Stripe through an OAuth window, and the assistant can read and write your Stripe data through the Stripe API. That includes refunds, subscriptions, invoices, coupons and payment links, so the setup choice that matters most is which permissions you grant and which actions need a person to approve them.
Stripe lists the server as a public preview. Everything below comes from Stripe's own documentation for MCP, API keys, approval rules and analyzing data with AI, read on November 23, 2026. Preview features change, so check those pages before you rely on a specific detail.
Who this applies to
The server works on a Stripe account you can sign in to. If your Shopify store takes payments through Shopify Payments, you manage those payments and payouts in Shopify admin, and this server won't show them to you. It matters if you bill through Stripe directly: Stripe Billing subscriptions, memberships, wholesale invoices, a headless checkout, or a separate brand that runs on Stripe.
How to connect it
Stripe's recommended route is its agent plugin. Install the Stripe CLI, then run stripe agent setup. The command detects which agents you use, configures the MCP server and installs Stripe's skills, and keeps them updated.
To set it up by hand, each client needs only the URL:
- Claude (web and desktop): add the official Stripe connector from Claude's directory, sign in to Stripe and grant permissions, then enable it in a chat from the plus menu under Connectors. On Team and Enterprise plans, an owner adds the connector to the workspace first.
- ChatGPT: install the official Stripe plugin and authorize it in the OAuth window.
- Claude Code:
claude mcp add --transport http stripe https://mcp.stripe.com/, then run/mcpinside Claude Code to sign in. - Cursor: add
{"mcpServers": {"stripe": {"url": "https://mcp.stripe.com"}}}to~/.cursor/mcp.json, or use the install link in Stripe's docs. - Codex:
codex mcp add stripe --url https://mcp.stripe.com.
Any other MCP client takes the same URL. If a client can't do OAuth, Stripe says to pass an agent API key as a bearer token instead of a regular secret key.
Two details catch people later. OAuth sessions expire 14 days after you first authorize, and refreshing doesn't extend that, so a scheduled job built on an OAuth connection will stop working after two weeks. And on a managed company laptop, IT may block outside MCP servers; Stripe's fix is to ask them to allow mcp.stripe.com.
If you find a guide that installs a local @stripe/mcp package with npx, it is out of date. Stripe's GitHub repository now marks @stripe/mcp and the agent toolkit packages as deprecated, with no further updates, security fixes included, and points to the hosted server.
What it can read and change
The server exposes a small set of tools. Two of them carry most of the work: stripe_api_read calls any supported Stripe GET method, and stripe_api_write calls any supported POST, PATCH, PUT or DELETE method. Search tools help the assistant find the right API method, and a stripe_analytics tool (in preview) queries metrics, reporting tables and financial reports.
Stripe publishes the list of API methods the server supports. For an ecommerce or subscription brand, the write methods worth knowing about are these:
| Area | What an assistant can do through MCP | Human confirmation by default (OAuth sessions)? |
|---|---|---|
| Refunds | Create a refund | Yes |
| Subscriptions | Create, update and cancel subscriptions | No |
| Invoices | Create, update, finalize, void, mark uncollectible | No |
| Coupons and promotion codes | Create, update and delete coupons; create promotion codes | No |
| Products, prices, payment links | Create and update | No |
| Customers | Create and update | No |
| Disputes | Update a dispute | No |
| Customer portal | Create and update portal configurations | No |
| Treasury money movement | Send money, transfer money, convert currency | Yes |
The third column is the one to read twice. When you connect with your own login, Stripe marks only some actions with a Human confirmation badge. For those, the agent hands you a link, you approve the request in the Dashboard, and the agent has to retry the call with the approval token; an unapproved request expires after 24 hours. In the supported-methods list, refunds and Treasury money movement carry the badge. Cancelling a subscription, voiding an invoice and deleting a coupon don't.
Stripe also notes that the client shows tool names, and one tool can cover many actions. A refund and a coupon edit both go through stripe_api_write, so allowing that tool once in your client allows both.
Read-only analysis: the setup to start with
Most brands want questions answered before they want anything changed. Stripe's own guide to analyzing data with AI asks for only three read permissions when you sign in:
- Data > Metrics: Read
- Data > Queries: Read
- Data > Reports: Read
Stripe says those let the agent analyze your data without changing anything in your account. You can only grant permissions you already have in the Dashboard. OAuth also lets you pick which live accounts or sandboxes the session can reach and set different permissions for each, so a first connection can be a sandbox plus read-only live data.
Prompts that fit this setup, two of them taken from Stripe's guide:
- "Reconcile each payout from the past three months to its underlying payments, refunds, disputes, fees and transfers. Show any amounts that don't tie out."
- "Analyze disputes and refunds from the past week by payment method and dispute reason, and highlight the segments with the largest increases."
- "List subscriptions that moved to past due this month and the decline codes on their last failed invoice payment."
The third is ours. It is the kind of question that feeds a failed payment recovery review, and it only needs reads. The Queries API behind some of these answers is free through January 31, 2027, and Stripe says usage-based pricing starts February 1, 2027.
Stripe also ships a stripe-bfcm-dashboard skill that builds a Black Friday and Cyber Monday dashboard from the Metrics and Queries APIs. Stripe says it will remove that skill on December 17, 2026, so use it for this season's monitoring and don't build anything that depends on it.
Before you allow writes: approval rules
If an assistant will issue refunds or touch subscriptions, set rules in Stripe itself and keep your client's tool-approval prompt on as well. Stripe treats the two as separate layers: its confirmation requirement is "separate from your MCP client's tool-approval setting," and account approval rules can require review of more actions.
Approval rules live under Settings > Approvals. Supported actions include a refund being created, a subscription being created or canceled, a credit note, a customer balance transaction, a payment intent, bank account changes and admin invites. Each rule can be conditional:
- Amount: require approval only above a threshold, such as refunds over $200.
- Actor: apply the rule to team members or to agent-tagged API keys.
- Rate limit: require approval when requests in a time window pass a count, which catches an agent looping through a customer list.
For each rule you choose to pause the action for review or block it outright, and you pick reviewers by name or by role. Reviewers can approve from the Dashboard or the Stripe mobile app, nobody can approve their own request, and requests expire after 14 days.
For an agent that runs on its own, such as a nightly job, Stripe recommends an agent API key over OAuth. It is a restricted key tagged as belonging to an agent, so you choose its permissions, and it gets default approval rules when you create your first one: refunds, subscription cancellations, outbound payments and transfers, payouts and currency conversions all wait for a reviewer. When the agent hits one of these, Stripe returns an approval_required error and files the request for review. On a single-user account, two-party approval only works with the actor set to agent keys, since the agent key counts as a separate actor from you.
There is a deadline here too. From January 11, 2027, Stripe MCP stops accepting full-access secret keys and non-agent restricted keys, and those requests get a 401. Any setup still using a plain secret key needs to move to an agent key or OAuth before then.
A setup checklist for a subscription brand
- Connect a sandbox first and run your questions there.
- For live data, grant the three Data read permissions and nothing else until you have a written reason to add a write.
- Keep tool approval on in your MCP client, and don't "always allow"
stripe_api_write. - Before any write access, add approval rules for subscription cancellations and refunds above an amount you choose, plus a rate-limit rule.
- Use an agent API key for anything scheduled, since OAuth sessions end after 14 days.
- Review sessions under OAuth sessions in your user settings, and revoke the ones you no longer use. Admins can see and revoke team members' sessions under Team and security.
- Check the MCP tool call logs in Workbench after the first week.
Stripe's tools page also tells you to be careful when you run its server next to other MCP servers, because of prompt injection. A Stripe connection sitting beside a server that reads support tickets or web pages is the case to think about: text in a ticket shouldn't be able to steer a refund.
Where Stripe data runs out
The server answers questions about what happened in Stripe. It doesn't know which ad brought a subscriber in, what the customer bought on Shopify, or whether a Klaviyo flow came before the cancellation. Questions like "which acquisition channel has the worst involuntary churn" need billing, store and ad data with the same customer and revenue definitions.
You can connect several MCP servers to one assistant and reconcile the answers yourself; the Shopify MCP servers overview and the Klaviyo MCP server guide cover two of the others. Or you point the assistant at one governed layer. Finsi MCP works that way: Shopify, Klaviyo, Meta, Google Ads and subscription data in one warehouse with one set of metric definitions, read-only, one brand per key, every call logged. Finsi's Stripe integration reads Stripe with OAuth and read-only permissions.
For changes, the pattern we recommend is the one Stripe's approval rules point toward: the agent proposes, a person approves, and the record shows who approved what. That is how approval-gated agents work, and how Finsi's agents handle anything that touches money or customers. If you are still choosing a billing system, our Chargebee vs Stripe Billing comparison covers that decision, and smart dunning vs basic retries covers what to do with the failed payments your first read-only questions will turn up.
Sources
- Stripe Docs, Model Context Protocol (MCP) (public preview; read November 23, 2026)
- Stripe Docs, API keys: agent keys
- Stripe Docs, Set up two-party approvals
- Stripe Docs, Analyze your data with AI
- GitHub, stripe/ai README (deprecation notice for
@stripe/mcpand the agent toolkit)