Skip to content

Menu

Stripe MCP Server logo

Stripe MCP Server

Published · Updated

At a glance

GitHub repository
stripe/ai
Watch out for
There is no maintained local server; the deprecated npm packages receive no security fixes, so use the hosted endpoint.

Stripe's MCP server is a hosted service at mcp.stripe.com. The GitHub repository this page links to, stripe/ai (renamed from stripe/agent-toolkit), now mostly points there: the old local packages, including @stripe/mcp and @stripe/agent-toolkit, are deprecated and will not get further updates, security fixes included. If a tutorial tells you to run npx @stripe/mcp, it is out of date.

The hosted server takes an approach worth understanding before you connect it. Instead of one tool per API endpoint, it exposes a small set of general tools: stripe_api_search to find the right API method, stripe_api_details to read its parameters, then stripe_api_read for GET calls and stripe_api_write for POST, PATCH, PUT and DELETE. Behind those sit well over a hundred supported API methods, covering customers, payments, invoices, subscriptions, products and prices, refunds, disputes, webhooks and tax. This keeps the tool list short without hiding most of the API.

Stripe has also built in a safety mechanism that most MCP servers lack. Certain actions, such as creating a refund or sending money from a Treasury account, are marked Human confirmation: the agent gets a link, you approve the request in the Stripe Dashboard, and only then can it retry. Approvals expire after 24 hours.

How it connects

Your AI app

An assistant or agent that supports MCP

Stripe MCP Server

Runs as

  • Remote (HTTP)

Gives the agent

  • General API access
  • Documentation search
  • Analytics (preview)
  • Human confirmation for sensitive actions
  • Connected accounts

Stripe

Signs in with

  • OAuth / browser sign-in
  • API key
Your AI app talks to Stripe MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

General API access
stripe_api_search, stripe_api_details, stripe_api_read and stripe_api_write give access to a large list of supported API methods without loading a schema for each one.
Documentation search
search_stripe_documentation answers questions from Stripe's docs and support articles, and stripe_implementation_planner walks through which Stripe products fit a given integration.
Analytics (preview)
stripe_analytics queries metrics, subscriptions and billing data and can build SQL queries from a plain-language question.
Human confirmation for sensitive actions
Refunds, Treasury transfers, currency conversion and sending money require you to approve the request in the Dashboard before it runs. This is separate from your client's own tool-approval setting.
Connected accounts
Connect platforms can act on a connected account by sending a Stripe-Account header, using an agent API key rather than OAuth.

Setting it up

Point your client at https://mcp.stripe.com. In Claude Code: claude mcp add --transport http stripe https://mcp.stripe.com/, then run /mcp to sign in with OAuth. In Codex: codex mcp add stripe --url https://mcp.stripe.com. During OAuth you choose which live accounts or sandboxes the client can reach and can set different permissions for each, so connect a sandbox first. For unattended agents, create an agent API key with only the permissions it needs and send it as a bearer token. Note the deadline in Stripe's docs: from January 11, 2027 the server stops accepting full-access secret keys and restricted keys that are not agent API keys. Stripe recommends its CLI for this: install it and run stripe agent setup, which detects your agents and configures the server and skills.

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Looking up a customer's recent payments, invoices and subscription status while handling a support question
  • Creating test products, prices and payment links in a sandbox while building checkout
  • Asking how to model a pricing scheme and getting an answer grounded in Stripe's docs
  • Investigating a dispute or a failed payment without clicking through the Dashboard
  • Pulling billing metrics for a quick report with the analytics tool

Limitations and things to watch

  • There is no maintained local server; the deprecated npm packages receive no security fixes, so use the hosted endpoint.
  • stripe_api_write covers many actions, and only some require human confirmation. Turn on tool approval in your client as Stripe recommends.
  • Stripe warns about prompt injection when this server runs alongside others. Avoid pairing live-mode write access with servers that read untrusted content.
  • Managed networks may block mcp.stripe.com; Stripe's docs say to ask IT to allow it.
  • Analytics and Treasury tools are in preview and may change.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…