Skip to content
← All MCP servers

Is the Stripe MCP server safe? What it can reach

What the Stripe MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Official serverChecked

Stripe runs an official hosted MCP server at mcp.stripe.com. You sign in with OAuth, or with an agent API key for unattended use. Its stripe_api_write tool can send any POST, PATCH, PUT or DELETE call, and Treasury tools can move money. Stripe adds human confirmation for some actions, and you set per-environment permissions on the consent page.

Who maintains it

ImplementationKindStatus
Stripe MCP server (hosted)Officialactive
@stripe/mcp and @stripe/agent-toolkit (local packages)Officialdeprecated

It runs as a hosted remote server. The documented endpoint is https://mcp.stripe.com.

How it signs in

OAuth acts on your Stripe user account, and you pick live accounts or sandboxes and set permissions for each on the consent page. An agent API key, sent as a bearer token, gives independent access for clients that can’t use OAuth.

What its tools can do

KindTools
Readstripe_api_search, stripe_api_details, stripe_api_read, get_stripe_account_info, stripe_analytics, stripe_directory_search, get_balance_summary, search_stripe_documentation, stripe_implementation_planner
Writeatlas_company_formation, setup_recipient, send_stripe_feedback
Can’t be undonestripe_api_write, send_money, transfer_money, convert_currency

stripe_api_write covers every POST, PATCH, PUT and DELETE method, including refunds, voiding invoices, cancelling subscriptions and deleting coupons. Stripe says confirmation depends on the action, not the tool name. Stripe says that from January 11, 2027 the server will no longer accept full-access secret keys or non-agent restricted keys.

Built-in limits

OptionWhat it does
Agent API keysCreate a key with only the permissions the client needs. Stripe labels these keys Agent in the Dashboard.
OAuth consent permissionsChoose which live accounts or sandboxes to grant, with separate permissions for each.
Human confirmationStripe can require you to approve some actions, such as refunds and Treasury transfers, in the Dashboard. The approval expires after 24 hours.
Dashboard MCP access settingAdministrators can turn MCP access on or off for the whole team, separately for live mode and sandboxes.
Session revocationRevoke a client under OAuth sessions in user settings. OAuth refresh tokens expire after 14 days.
Client tool approvalStripe tells you to turn on your client’s tool-approval setting.

The risks

  • stripe_api_write can reach most of the Stripe API, so an injected instruction could refund charges, void invoices, cancel subscriptions or create payment links.
  • send_money, transfer_money and convert_currency move funds from a Treasury account, and Stripe marks them as needing human confirmation.
  • A key or OAuth grant on a live account gives the agent your real customer and payment data, including PaymentIntents and customers.
  • Stripe warns that combining this server with other MCP servers raises prompt-injection risk, since text from one tool can steer calls to this one.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

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

Claude Code names MCP tools mcp__stripe__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__stripe__send_money",
      "mcp__stripe__transfer_money",
      "mcp__stripe__convert_currency"
    ],
    "ask": [
      "mcp__stripe__stripe_api_write",
      "mcp__stripe__atlas_company_formation",
      "mcp__stripe__setup_recipient"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.stripe]
url = "https://mcp.stripe.com"
disabled_tools = ["send_money", "transfer_money", "convert_currency"]

Checklist

  • Connect a sandbox first, and add live mode only when you must.
  • Prefer OAuth for interactive use, and an agent API key with narrow permissions for unattended use.
  • Turn on your client’s tool approval, and keep Stripe’s human confirmation on.
  • Read every stripe_api_write request before you allow it.
  • Revoke the OAuth session when the work is done.

Checked against the vendor documentation on November 25, 2026. Stripe Model Context Protocol docs · stripe/ai repository README

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing