MCP Ecommerce
Stripe logo

Installation guide

How to install Stripe MCP Server

In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.

Stripe runs this MCP server for you at `https://mcp.stripe.com`, so nothing is installed on your machine to host it. You add the URL to your AI client and sign in with OAuth, which opens Stripe's consent page. You choose which live mode accounts or sandboxes to grant and set permissions for each. For clients that cannot use OAuth, Stripe documents agent API keys passed as a bearer token. Stripe also offers a plugin route: `npm install -g @stripe/cli@latest`, then `stripe agent setup`, which detects your agents and configures them. The Stripe docs label the server Public preview.

A Stripe user with access to the account should do this, ideally someone in finance or operations who knows which permissions the assistant needs. Start in a sandbox with read-only intent. If an administrator has turned off MCP access for the team in the Dashboard, they need to re-enable it first. Stripe requires human confirmation for some write actions, such as refunds and outbound payments, but keep write use for supervised tasks only.

Stripe MCP Server setup guide: Stripe's MCP documentation page on docs.stripe.com, shown in a browser frame (payments MCP server for e-commerce)
Stripe MCP Server setup guide preview: Stripe’s documentation on docs.stripe.com, captured Oct 22, 2026. The page may have changed since; the link opens the live version.

Before you start

  • A Stripe account, with a sandbox to test in before touching live mode.
  • A Stripe user whose role allows the access you plan to grant. Administrators can enable or disable MCP access for the team, separately for live mode and sandbox.
  • For OAuth clients: a client that supports remote MCP servers by URL. For autonomous clients: an agent API key created in the Dashboard with only the permissions needed (Agent badge).
  • If your device or network is managed, confirmation from IT that mcp.stripe.com is allowed.
  • Optional for the plugin route: Node.js and npm, to run npm install -g @stripe/cli@latest.
How it runs
Remote, added by URL
Access
Varies by tool
Server address
https://mcp.stripe.com

Stripe MCP Server in Claude

  1. Open Claude.ai or the Claude Desktop app and go to Settings > Connectors.
  2. Choose the option to add a custom connector by URL.
  3. Enter https://mcp.stripe.com as the server URL and save.
  4. Start the connection. Stripe's OAuth consent page opens; select a sandbox first and grant read-oriented permissions.
  5. Enable the tool-approval setting so you can review each tool call before it runs.
  6. The Stripe docs list a Claude Desktop tab, but the text available to us does not include its steps, so check the vendor page for any client-specific instructions.
Connector URL
https://mcp.stripe.com

Stripe MCP Server in ChatGPT

  1. In ChatGPT, enable Developer mode in the settings if you have not already, since custom MCP connectors need it.
  2. Open the connectors settings and choose to create a new custom connector.
  3. Enter https://mcp.stripe.com as the MCP server URL and select OAuth when asked for authentication.
  4. Complete Stripe's OAuth consent page, choosing a sandbox first with limited permissions.
  5. The Stripe docs list a ChatGPT tab, but the text available to us does not include its steps. Take any extra values from https://docs.stripe.com/mcp.
Connector URL
https://mcp.stripe.com

Stripe MCP Server in Gemini

  1. The Stripe docs text available to us does not cover Gemini, so use Gemini CLI's standard method: add an entry under mcpServers in its settings file.
  2. Point the entry at https://mcp.stripe.com. Take the exact key name for remote HTTP servers (for example url or httpUrl) from the Gemini CLI documentation.
  3. Restart Gemini CLI and run its MCP listing command to confirm stripe appears.
  4. Complete the OAuth sign-in if the client prompts for it, choosing a sandbox with read-oriented permissions.
  5. If your Gemini client cannot do OAuth, use an agent API key as a bearer token in the Authorization header, as described in the Stripe docs.

Stripe MCP Server in Microsoft Copilot

  1. For GitHub Copilot in VS Code, create or open .vscode/mcp.json in your workspace. The Stripe docs list a VS Code tab, but its steps are not in the text available to us.
  2. Add a stripe entry under servers with the URL https://mcp.stripe.com, as in the snippet.
  3. Save the file and start the server from the inline action in the editor, or from the MCP server list in VS Code.
  4. Sign in through Stripe's OAuth consent page, choosing a sandbox first.
  5. For Microsoft Copilot Studio, the docs do not cover it. Use its standard MCP tool or custom connector flow with the same URL, and take the exact fields from Microsoft's documentation.
.vscode/mcp.json
{
  "servers": {
    "stripe": {
      "type": "http",
      "url": "https://mcp.stripe.com"
    }
  }
}

Stripe MCP Server in Perplexity

  1. The Stripe docs text available to us does not cover Perplexity, so use the app's standard way of adding a remote connector.
  2. Open the Perplexity desktop app and go to its connectors settings.
  3. Add a custom remote MCP connector and enter https://mcp.stripe.com as the URL.
  4. Complete Stripe's OAuth consent page, choosing a sandbox and limited permissions.
  5. If the option to add a custom connector is not available in your plan or version, check Perplexity's documentation for what it supports.
Connector URL
https://mcp.stripe.com

Stripe MCP Server in Cursor

  1. Use the Install in Cursor button on https://docs.stripe.com/mcp, or configure it manually as below.
  2. For manual setup, open ~/.cursor/mcp.json and add the stripe entry shown in the snippet.
  3. Save the file and open Cursor's MCP settings to confirm stripe is listed.
  4. Complete Stripe's OAuth consent page when prompted, choosing a sandbox first.
  5. Turn on Cursor's tool-approval setting so you can review tool calls before they run.
~/.cursor/mcp.json
{
  "mcpServers": {
    "stripe": {
      "url": "https://mcp.stripe.com"
    }
  }
}

Stripe MCP Server in Claude Code

  1. In a terminal, run the claude mcp add command from the snippet to register the remote server over HTTP.
  2. Start claude and run /mcp to see the stripe server and its status.
  3. Select the server to start authentication. Stripe's OAuth consent page opens; choose a sandbox first and grant limited permissions.
  4. Keep Claude Code's tool permission prompts on so you approve each Stripe call.
  5. Alternatively, run npm install -g @stripe/cli@latest then stripe agent setup, which Stripe recommends and which configures detected agents automatically.
Terminal
claude mcp add --transport http stripe https://mcp.stripe.com

Check that it works

Start with questions that only read data. If these answer from your real account, the connection is good.

  • Use get_stripe_account_info to tell me which Stripe account and environment (sandbox or live) this connection is using.
  • List the five most recent customers in my sandbox. Read only, do not change anything.
  • Search the Stripe documentation for how payment links work and summarize the steps.

Troubleshooting

+

I get a 401 response with an OAuth discovery challenge. What is wrong?

Stripe says requests with an unsupported key receive a 401 with an OAuth discovery challenge. From December, after the November 30, 2026 deadline, full-access secret keys and restricted keys without the Agent tag stop working. Create a new agent API key with minimal permissions, or reconnect with OAuth.

+

The server will not connect from my work laptop or network. What should I check?

If your organization manages the device or network, IT may block external MCP servers. Ask them to allow `mcp.stripe.com`. Also ask a Stripe administrator whether MCP access is enabled for your team in the Dashboard, since it is configured separately for live mode and sandbox.

+

Some tools are missing or a write action did not complete. Why?

Available tools depend on the permissions you granted on the OAuth consent page, and some need extra products, for example `stripe_analytics` requires Sigma. Certain `stripe_api_write` actions, such as refunds, need you to open the URL the agent gives you and approve it. Approval expires after 24 hours, and you must then tell the agent to retry.

Written Oct 22, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.

Questions and answers

Questions readers and searchers ask about installing Stripe MCP Server, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.