Stripe MCP: what it can change, and how to keep it read-only
Stripe MCP is Stripe's hosted Model Context Protocol server at mcp.stripe.com. It lets an AI assistant read Stripe data and, with write permission, create refunds, invoices and subscriptions. For reporting, connect with OAuth or an agent API key that holds Read permissions only, so the assistant can look but cannot change anything.
What is Stripe MCP?
Stripe MCP is the Model Context Protocol server Stripe hosts at https://mcp.stripe.com. MCP is an open standard for connecting AI applications to outside systems. A server publishes a list of tools, and any assistant that speaks the protocol can call them. According to Stripe's MCP documentation, the server gives an agent tools to "interact with the Stripe API and search the Stripe knowledge base."
That sentence covers two very different jobs. One is reading: how much did we collect last month, how many subscriptions ended. The other is acting: refunding a charge, cancelling a subscription, voiding an invoice. The same server does both. Which one your assistant can do depends on the permissions you grant when you connect it, and almost every setup guide skips that step.
I checked the nine organic results DataForSEO returned for "stripe mcp" in the US on November 26, 2026. Eight were tool directories, integration listings or a news item, and one was a setup guide for a coding tool. None of the nine result descriptions mentioned read-only access. Everything below comes from Stripe's own pages as they read on December 4, 2026. Stripe updates them often, so check the date before you rely on a detail.
What can the Stripe MCP server change?
More than most people expect from something they connected to ask about revenue. Stripe's tools reference lists these, among others:
| Tool | What Stripe's documentation says it does | Reads or changes |
|---|---|---|
stripe_api_read | Read data with any Stripe API GET method | Reads |
stripe_api_write | Write data with any Stripe API POST, PATCH, PUT and DELETE method | Changes |
stripe_analytics | (Public preview) Find metrics, reporting tables and reports, and build SQL queries from plain language | Reads |
send_money | Sends money from a Treasury account to a recipient, with human confirmation | Changes |
search_stripe_documentation | Searches Stripe's docs | Neither |
The write tool is the one to understand. Stripe's list of methods it supports includes creating a refund, creating and finalizing an invoice, voiding an invoice, and creating, updating and cancelling a subscription. Some of those carry a "Human confirmation" badge, which means Stripe asks a person to approve the request in the Dashboard first. Creating a refund is one of them. Cancelling a subscription, on the list as it read today, is not.
Stripe is also plain about the limits of that safeguard. Its page says confirmation "depends on the action, not only the tool name," and that it is separate from your assistant's own tool-approval setting. It also tells you to "Turn on your MCP client's tool-approval setting so you can review tool calls before they run."
How do you keep Stripe MCP read-only?
With the permissions on the connection, and nothing else. A tool's description of itself is not a control. The MCP specification's page on tools says clients "MUST consider tool annotations to be untrusted unless they come from trusted servers." A permission that says None is a fact. A label that says read-only is a claim.
Stripe offers two ways to connect.
- OAuth, for an assistant you use yourself. Stripe opens a consent page where you can grant access to live mode or a sandbox and "set different permissions for each environment." Stripe's page says OAuth refresh tokens expire after 14 days, after which you authorize again.
- An agent API key, for software that runs on its own. Per Stripe's API keys page, this is a restricted key tagged for agent access. Tagged keys work like any restricted key, and they are automatically subject to Stripe's approval rules for high-risk actions such as payouts, refunds and account configuration changes.
Restricted keys are where read-only gets enforced. Stripe's restricted key guide says each resource is set to None, Read or Write, that a new key can start from zero permissions, and that "Write permissions imply read permissions." So the rule is simple. Set Read on the few resources the report needs and leave everything else at None.
One date matters if you connected with an older key. Stripe's MCP page says that starting January 11, 2027, the server "will no longer accept full-access secret keys or non-agent restricted API keys." A setup that pastes a full secret key into a config file stops working that day, and it was never a good idea for reporting anyway.
Permissions for an assistant that only reports
| Job | Grant | Leave at None |
|---|---|---|
| Ask questions of Stripe's metrics and reports | Data, Metrics: Read. Data, Queries: Read. Data, Reports: Read | Everything with Write |
| Count charges by day | Charges: Read | Charges: Write, Refunds: Write |
| Track subscriptions started and ended | Subscriptions: Read | Subscriptions: Write |
| Anything involving payouts or money movement | Nothing | Payouts, Treasury |
The first row comes straight from Stripe's guide to analyzing data with AI, which says those three Read permissions "let your agent analyze your data without changing anything in your account." The same page notes that the Queries API is free through January 31, 2027, and that usage-based pricing begins February 1, 2027. The other rows are my reading of the restricted key guide, so check them against the permission list in your own Dashboard.
Is a read-only connection enough to trust the numbers?
No. Read-only stops an assistant from changing your account. It does not stop it from quoting a wrong number with full confidence. An assistant that runs a fresh query each time reads whatever is there, and the answer sounds the same whether the data is complete or not.
Two gaps cause most of the trouble. A sync can drop records without raising an error, so a total built on it comes up short. And ad platforms count sales their own way, so a question like "what did our ads bring in" mixes a platform's claim with Stripe's record of real payments. Ecommerce data reconciliation walks through why sources disagree and which gaps are normal.
Worked example: checking Stripe data before an assistant quotes it
The figures below are an example, printed by the built-in example run in Starstead CLI 0.23.0 on December 4, 2026. They show what a check looks like, not anyone's results. In the example, a sync quietly loses 6 charges, and the check catches it before any report is built.
| Check | Result | What the assistant should do |
|---|---|---|
| Charges in the daily table against every charge pulled from Stripe | FAIL: 446 against 452, off by 1.33% | Say the totals are short and stop |
| Daily Stripe data complete, after a clean sync | PASS | Quote the number |
| Subscriptions balance | PASS | Quote the number |
| Ad claims against new paying customers | WARN: Meta claims 270 purchases while Stripe shows 51 new paying customers on the same days, 5.3 times as many | Report the claim as Meta's attribution, never as sales |
| Freshness | PASS | Quote the number |
The first row is the one a plain read-only connection would miss. 446 charges is a believable number. Nothing about it looks wrong until it is counted against what Stripe itself holds. The fourth row is the other common mistake: an assistant asked about ad results will happily add an ad platform's purchases to revenue unless something tells it those are claims.
What should you ask before you connect Stripe to an AI assistant?
- Which permissions does the key or OAuth grant hold? Get the list.
- Is any resource set to Write, and which job needs it?
- Is it an agent-tagged key or OAuth, so it keeps working after January 11, 2027?
- Who can revoke it, and where? Stripe lists OAuth sessions under your user settings.
- Is your assistant's own tool-approval setting turned on?
- Are totals checked against Stripe before the assistant quotes one?
The same questions apply to ad accounts and stores. The longer list is in what to check before you connect an AI agent, and the store version is in Shopify MCP.
Where Starstead AI fits
I build Starstead AI (formerly Cosmic AI), so read this part as a maker's description. Starstead CLI is free and open source, and it runs on your own computer with no account. Its Stripe setup uses a restricted key with Charges and Subscriptions set to Read and everything else left at None. The key is read from an environment variable and kept in your keychain, and no command prints it.
Every sync ends with a reconcile against Stripe, and cosmic mcp gives any MCP client read-only tools for metrics, checks and a capped query. Each number comes with a trust line that says whether the checks passed. The CLI page has the install command and the full output of the example above. If you would rather have it run for you, pricing covers the hosted plans.
Frequently asked questions
Does Stripe have an official MCP server?
Yes. Stripe hosts one at mcp.stripe.com and documents it on its MCP page, with setup steps for several AI clients and a list of tools. You can connect with OAuth or an agent API key.
Can Stripe MCP issue refunds?
Yes, if the connection holds write permission. Creating a refund goes through the stripe_api_write tool, and Stripe marks it for human confirmation in the Dashboard. A key with Refunds left at Read or None cannot create one.
What permissions does an AI need to analyze Stripe data?
Stripe's guide to analyzing data with AI lists three: Data, Metrics: Read, Data, Queries: Read, and Data, Reports: Read. Stripe says those let an agent analyze your data without changing anything in your account.
Can I still use a secret key with Stripe MCP?
Only until January 11, 2027. From that date Stripe's MCP server stops accepting full-access secret keys and restricted keys without the agent tag. Use OAuth or an agent API key with only the permissions the job needs.