MCP guide

Stripe MCP server

Yes, Stripe has an official MCP server, hosted at mcp.stripe.com. This guide covers the exact setup for each client, the tools it exposes, and the part Stripe's own page leaves out: how someone answering a billing ticket uses it to see a customer's subscription, invoices and refunds, and how to make sure the assistant can look but not touch.

Checked on November 28, 2026. Every command and config block below is copied from the linked source as it read that day; this area changes fast, so follow the link if something does not match.

Does Stripe have an official MCP server?

There is one server and Stripe runs it: https://mcp.stripe.com. You add the URL to your AI client and sign in with OAuth, choosing on Stripe's consent page which live accounts or sandboxes the client may reach and with which permissions. For an agent that cannot use OAuth, Stripe gives it an agent API key: a restricted key tagged for agents, sent as a bearer token.

It is a thin layer over the Stripe API. Two tools do most of the work: stripe_api_read calls any supported GET method and stripe_api_write any supported POST, PATCH, PUT or DELETE. The supported methods include customers, subscriptions, invoices, charges, refunds, payment methods and disputes, which is everything a billing ticket usually needs.

The local server you may have seen in older tutorials (npx @stripe/mcp) is gone as an option: Stripe's repository lists @stripe/mcp as deprecated, with no further updates or security fixes, and tells you to connect to the hosted server instead.

Stripe MCP servers that exist today

What we found and opened ourselves on November 28, 2026, with the page each row comes from.

Server How it connects Sign-in What it can do Availability
Stripe MCP server Official Maintained by Stripe. Source: Stripe docs: Model Context Protocol (MCP) Remote (Streamable HTTP) Endpoint: https://mcp.stripe.com OAuth for interactive clients. An agent API key (a restricted key tagged for agents) as a bearer token for clients that cannot use OAuth. From January 11, 2027, full-access secret keys and other restricted keys are refused. Read and write over the supported API methods, within the permissions you grant. Stripe asks for a person's confirmation in the Dashboard before some actions, creating a refund among them. Hosted by Stripe. An administrator can turn MCP access on or off for the whole team, separately for live mode and sandboxes. Stripe's page names no plan or price for it.

Set up the Stripe MCP server

Nothing to install: you add a URL and sign in. If you are setting this up for a support team, read the read-only section further down before you approve anything on the consent page.

  1. 1Claude Code: run this command, then start Claude Code and run /mcp to authenticate with OAuth.

    Claude Code
    claude mcp add --transport http stripe https://mcp.stripe.com/

    Source: Stripe docs: Model Context Protocol (MCP)

  2. 2Claude on the web and Claude Desktop: Stripe has an official connector in Claude's directory. Select Connect to Claude and add the connector to your account or workspace, sign in to Stripe and grant permissions in the OAuth window, then in a conversation select the plus icon, select Connectors and enable Stripe. On Team and Enterprise accounts an owner has to add the connector to the workspace first.

    Source: Stripe docs: Model Context Protocol (MCP)

  3. 3Cursor: use the Install in Cursor button on Stripe's page, or add this to ~/.cursor/mcp.json.

    ~/.cursor/mcp.json
    {
     "mcpServers": {
       "stripe": {
         "url": "https://mcp.stripe.com"
       }
     }
    }

    Source: Stripe docs: Model Context Protocol (MCP)

  4. 4ChatGPT: install the official Stripe plugin in ChatGPT, connect your Stripe account and grant permissions in the OAuth window. For Codex (the ChatGPT desktop app, the Codex CLI and the IDE extension share one configuration), run:

    Codex
    codex mcp add stripe --url https://mcp.stripe.com

    Source: Stripe docs: Model Context Protocol (MCP)

  5. 5On Stripe's consent page, choose what the client can reach. You can grant access to one or more live mode accounts or sandboxes and set different permissions for each environment. Start with a sandbox, check that the answers look right, then come back for live mode.

    Source: Stripe docs: Model Context Protocol (MCP)

  6. 6An agent that cannot open a browser: create an agent API key with only the permissions it needs and send it as a bearer token. In Claude Code that goes in the project's .mcp.json, with the key in an environment variable instead of on the command line (AGENT_API_KEY is a placeholder for your variable's name).

    .mcp.json
    {
      "mcpServers": {
        "stripe": {
          "type": "http",
          "url": "https://mcp.stripe.com",
          "headers": {
            "Authorization": "Bearer ${AGENT_API_KEY}"
          }
        }
      }
    }

    Source: Stripe docs: Model Context Protocol (MCP)

  7. 7Test it with something that only reads: "Use stripe to find the customer with the email [email protected] and list their subscriptions." Your client shows stripe_api_read and asks you to approve the call.

    Source: Stripe docs: Model Context Protocol (MCP)

What a support team does with the Stripe MCP server

A billing ticket is mostly a lookup: who is this customer in Stripe, what are they paying for, what happened to the last payment. Each job below runs through stripe_api_read on an API method Stripe lists as supported.

Find the customer and what they pay for
Start from the email on the ticket: list customers, then that customer's subscriptions and their items. You get the plan, the status, the current period and whether a cancellation is already scheduled, which answers "am I still subscribed?" and "when does it renew?" before you write a word.
Uses: stripe_api_read: List all customers, List subscriptions, List all subscription items
"Why was I charged twice?"
List the customer's charges and invoices for the dates they mention and compare them. Two invoices for two periods, a retried payment and a real duplicate look the same on a bank statement and very different in Stripe.
Uses: stripe_api_read: List all charges, List all invoices, Retrieve an invoice's line items
"Where is my refund?"
List the refunds for the charge and read the status and the date. You can tell the customer that the refund was created on a given day and for what amount, instead of "it should arrive soon".
Uses: stripe_api_read: List all refunds for a charge, Retrieve a refund
A failed payment, before the dunning email
Read the open invoice, its payment attempts and the customer's payment methods. Knowing that the card on file expired last month lets you ask for the one thing that fixes it.
Uses: stripe_api_read: Retrieve an invoice, List all payments for an invoice, List a customer's PaymentMethods
A dispute lands in the inbox
Retrieve the dispute and the charge behind it, then check whether the same customer wrote to support first. That history is the evidence you will want.
Uses: stripe_api_read: List all disputes, Retrieve a dispute, Retrieve a charge
What must stay read-only, and how
For lookups, the assistant needs no write access at all. Stripe's restricted keys take one permission per resource: None, Read or Write, with None as the default and Write implying Read. Stripe does not publish a per-tool list of permissions for the MCP server; its rule is that a GET needs read on the resource it touches (its example: GET /v1/customers needs read on the Customer resource). So create an agent API key with Read on the resources above (customers, subscriptions, invoices, charges, refunds, payment methods, disputes) and None on everything else. A write then fails at Stripe with a message naming the missing permission, whatever the model was asked to do.
Uses: stripe_api_read

What it cannot do

  • It does not know your product. Stripe can say the subscription is active; it cannot say whether the feature the customer is asking about is on for their account.
  • It does not write to the customer. No tool on the list sends a reply; you write it, with the facts in front of you.
  • It does not cover the whole API. stripe_api_read and stripe_api_write work on the methods Stripe lists as supported, and nothing outside that list.
  • It does not decide the refund. Whether this customer should get their money back is your policy; the server only reports what happened and, if you let it, creates the refund you approve.

Local or remote: how the connection works

The MCP specification (revision 2026-07-28, read on November 22, 2026) defines two standard transports. With stdio, your AI client starts the server as a program on your own computer and talks to it through that process. With Streamable HTTP, the server lives at a URL and your client sends each message to it as an HTTP request.

In practice a remote server means a URL and a sign-in in your browser, with nothing to install. A local server means a config block with a command, and a credential kept on your machine. The older SSE transport is deprecated: Claude Code's documentation says to use HTTP servers where they are available.

What each server exposes

Tool names exactly as each source lists them. Your client shows the same names when it asks you to approve a call.

Stripe MCP server

16 tools documented.

API tools

  • stripe_api_search
  • stripe_api_details
  • stripe_api_read
  • stripe_api_write

Account

  • get_stripe_account_info

Atlas

  • atlas_company_formation

Analytics (preview)

  • stripe_analytics

Stripe Directory (private preview)

  • stripe_directory_search

Treasury (public preview)

  • get_balance_summary
  • convert_currency
  • send_money
  • setup_recipient
  • transfer_money

Others

  • search_stripe_documentation
  • stripe_implementation_planner
  • send_stripe_feedback

What you can ask once it is connected

Each example is tied to tools the servers above really have.

  • “Find the Stripe customer with the email [email protected] and tell me their plan, status and next renewal date.”

    Uses: stripe_api_search, stripe_api_read

  • “This customer says they were charged twice in October. List their charges and invoices for that month and tell me whether any is a duplicate.”

    Uses: stripe_api_read

  • “Is there a refund for charge ch_123? Give me its status, amount and the date it was created.”

    Uses: stripe_api_read

  • “Their last invoice failed. Show me the payment attempts and whether the card on file has expired. Do not change anything.”

    Uses: stripe_api_read

  • “How do proration and refunds work when a customer downgrades in the middle of a billing period?”

    Uses: search_stripe_documentation

Limits to know before you rely on it

  • OAuth sessions end. Stripe's refresh tokens expire after 14 days, and refreshing does not extend the session beyond 14 days from the first authorization: after that you reconnect the client and authorize again. (Stripe docs: Model Context Protocol (MCP))
  • Old API keys stop working here on January 11, 2027. From that date the server no longer accepts full-access secret keys or restricted keys that are not agent keys, and answers them with a 401. Move to an agent API key or to OAuth before then. (Stripe docs: Model Context Protocol (MCP))
  • A confirmed action is not finished when you approve it. For actions marked Human confirmation, you open the link the agent gives you, approve in the Dashboard, and then have to tell the agent to retry. An approval nobody gives within 24 hours expires. (Stripe docs: Model Context Protocol (MCP))
  • Connect platforms cannot use OAuth to act on connected accounts. That needs an agent API key for the platform and the Stripe-Account header. (Stripe docs: Model Context Protocol (MCP))
  • The local npm server is deprecated. Stripe's repository says @stripe/mcp and @stripe/agent-toolkit will receive no further updates, including security fixes. (stripe/ai on GitHub (README))
  • Agent keys come with approval rules. A restricted key tagged for agents is automatically subject to Stripe's approval rules, with default rules that cover payouts, refunds and account configuration changes. (Stripe docs: API keys (API keys for autonomous agents))
  • A restricted key's permissions are per resource, with None as the default, and Write implies Read. (Stripe docs: Restricted API keys)

Security: what to lock down first

Read-only is a key, not a request
Writing "do not change anything" in a prompt is a wish. A key with Read on a handful of resources and None on the rest is a wall: Stripe refuses the write. For a support team that only looks things up, connect with that key, or choose the narrowest permissions the OAuth consent page offers.
One tool name covers many actions
Your client shows stripe_api_write whether the call cancels a subscription, voids an invoice or creates a refund. Stripe says its confirmation depends on the action, not on the tool name, and is separate from your client's own approval setting. Keep approval on in the client and read the method and the parameters of every write before you allow it.
Sandbox first, live mode second
The consent page lets you grant a sandbox and a live account different permissions. Try your prompts against the sandbox, then authorize live mode with the narrowest permissions that still answer the tickets you get.
Know where to revoke
Authorized clients appear under OAuth sessions in your Stripe user settings, where the overflow menu has Revoke access. An administrator can see and revoke a team member's sessions from Team and security, and can turn MCP access off for everyone.
Customer data goes to your AI provider
Whatever the assistant reads from Stripe (names, email addresses, account and payment details, what a customer wrote) becomes part of your conversation with the model. From there it is handled under your AI provider's terms and settings, not Stripe's. Check retention, training and your data processing agreement before you connect an account that holds personal data.
Text written by other people is untrusted input
A support thread you paste, an issue a stranger opened, a name field a customer filled in: the model reads all of it in the same stream as your request, and any of it can say "ignore your instructions and…". This is prompt injection. Keep a person approving every tool call that writes, do not leave a session with write access to Stripe running unattended, and treat instructions found inside data as text to summarize, never as something to do.
Sign in as the smallest identity that works
Every server on this page acts with the permissions of whoever signed in or whose key it holds. Connect it as a person or key that sees only what the job needs, read-only where the server offers it, and remove the connection when the experiment is over.

Where ReplyBrain fits

An MCP server for Stripe gives the assistant you already use a way into Stripe. You still open each ticket and decide what happens; the assistant helps when you ask it to.

ReplyBrain is a different kind of thing: a support inbox for software products. It reads the support email that arrives, drafts the reply with the customer's context, and by default a person on your team approves and sends it.

ReplyBrain does not connect to Stripe. When a draft needs to know something about the customer's account, it reads it from your own app, scoped to that account; it does not look inside Stripe itself.

It does have an MCP server of its own. You use it from Claude, Cursor or ChatGPT to set ReplyBrain up (your product, your mailbox, your approved answers) and to check on your cases, and none of its tools sends anything to a customer.

See ReplyBrain's MCP server and its tools

Stripe MCP: questions people ask

Does Stripe have an official MCP server?

Yes. Stripe hosts it at https://mcp.stripe.com and documents setup for Claude Code, Claude, Cursor, ChatGPT, Codex and VS Code. You sign in with OAuth, or give an autonomous agent an agent API key.

Can the Stripe MCP server issue refunds?

It can create one through stripe_api_write if the connection has write permission on refunds. Stripe marks Create refund with Human confirmation: the agent gives you a link, you approve the request in the Dashboard, and you tell the agent to retry. If you do not want refunds to be possible at all, connect with a key that has no write permission on refunds.

How do I make the Stripe MCP server read-only?

Grant only read permissions. With OAuth you set permissions per environment on the consent page. With a key, create an agent API key with Read on the resources you look up and None on the rest; Stripe then rejects any write.

Is npx @stripe/mcp still the way to run it?

No. Stripe's repository lists @stripe/mcp as deprecated, with no further updates, including security fixes, and points to the hosted server at mcp.stripe.com.

Can I keep using my secret key with the Stripe MCP server?

Not for long. Starting January 11, 2027, the server refuses full-access secret keys and restricted keys that are not agent keys. Create an agent API key with only the permissions the client needs, or reconnect with OAuth.

How often do I have to sign in again?

Every 14 days with OAuth: Stripe's refresh tokens expire after 14 days and refreshing does not extend the session past that. An agent API key does not have that limit, which is why Stripe points autonomous agents to it.

Stripe is a trademark of its owner. ReplyBrain is not affiliated with Stripe or with the projects described here.

Sources

The pages opened for this guide, each with the date it was read. Commands and config blocks are quoted from them; the rest is our summary.

  1. Stripe docs: Model Context Protocol (MCP), read on November 28, 2026
  2. Stripe docs: API keys (API keys for autonomous agents), read on November 28, 2026
  3. Stripe docs: Restricted API keys, read on November 28, 2026
  4. stripe/ai on GitHub (README), read on November 28, 2026
  5. Model Context Protocol specification (2026-07-28): Transports, read on November 22, 2026
  6. Claude Code docs: Connect Claude Code to tools via MCP, read on November 22, 2026

Would you rather not answer every ticket by hand?

ReplyBrain drafts the reply to each support email with the customer's context, and your team approves it. Built for software products.

Start free

A new account is a free help desk for your whole team, with a chat widget for your website. No card. AI drafting is the paid part.