cursor mcpindependent directory
Stripe logo

Servers / Stripe

Install Stripe MCP in Cursor

Stripe · Remote HTTP · OAuth or API key

Direct answer

Stripe hosts MCP at https://mcp.stripe.com. Add that as mcpServers.stripe.url in ~/.cursor/mcp.json, reload Cursor, and complete OAuth. Stripe documents this exact JSON for Cursor. For a restricted key instead of OAuth, send Authorization Bearer with a key that cannot move money until you need writes.

ProviderStripe
Classificationofficial
TransportRemote HTTP
AuthOAuth or API key

Cursor mcp.json

Paste this into ~/.cursor/mcp.json (global) or.cursor/mcp.json (this repo). Merge it with servers you already have. Primer: how Cursor loads MCP.

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

MCP endpoint: https://mcp.stripe.com. Source: Stripe MCP docs.

What it is

Stripe MCP can search the API reference and, with the right grant, read customers, payment links, and more. It is a live account adapter, not only a docs search. Context7 remains better for framework docs; Stripe MCP is for Stripe itself.

The problem it solves

Copy-pasting test mode keys into chat is how they leak. The MCP keeps the credential in Cursor's config and lets the agent call tools.

Install steps

  1. Add the URL. mcpServers.stripe.url = https://mcp.stripe.com as Stripe's Cursor snippet shows.
  2. Authenticate. OAuth is the default. A restricted key in an Authorization header is the manual path. Start in test mode.
  3. Read, then write. Ask for the current API of Checkout or PaymentIntents before you let it create anything.

A prompt that uses it

Using Stripe MCP in test mode, look up the current Checkout Session create parameters and patch this handler. Do not create a live charge.

If it will not connect

Live vs test mode mixups look like empty data. OAuth must finish. If you used a key, it has to be a secret key, not the publishable one, and it has to match the mode the code expects.

FAQ

What is the Stripe MCP URL?

https://mcp.stripe.com as documented at docs.stripe.com/mcp for Cursor.

Can this refund customers?

Yes if the grant or key allows it. Use a restricted test key while you build.

Should I also install Context7?

Yes if you want Next.js or other library docs. Stripe MCP is not a replacement for that.

Is the URL /mcp or the host root?

Stripe's Cursor example uses https://mcp.stripe.com with no extra path. Copy that unless their docs change.