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.

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.comis allowed. - Optional for the plugin route:
Node.jsand npm, to runnpm 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
- Open Claude.ai or the Claude Desktop app and go to
Settings > Connectors. - Choose the option to add a custom connector by URL.
- Enter
https://mcp.stripe.comas the server URL and save. - Start the connection. Stripe's OAuth consent page opens; select a sandbox first and grant read-oriented permissions.
- Enable the tool-approval setting so you can review each tool call before it runs.
- 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.
https://mcp.stripe.com
Stripe MCP Server in ChatGPT
- In ChatGPT, enable Developer mode in the settings if you have not already, since custom MCP connectors need it.
- Open the connectors settings and choose to create a new custom connector.
- Enter
https://mcp.stripe.comas the MCP server URL and select OAuth when asked for authentication. - Complete Stripe's OAuth consent page, choosing a sandbox first with limited permissions.
- 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.
https://mcp.stripe.com
Stripe MCP Server in Gemini
- The Stripe docs text available to us does not cover Gemini, so use Gemini CLI's standard method: add an entry under
mcpServersin its settings file. - Point the entry at
https://mcp.stripe.com. Take the exact key name for remoteHTTPservers (for exampleurlorhttpUrl) from the Gemini CLI documentation. - Restart Gemini CLI and run its MCP listing command to confirm
stripeappears. - Complete the OAuth sign-in if the client prompts for it, choosing a sandbox with read-oriented permissions.
- If your Gemini client cannot do OAuth, use an agent API key as a bearer token in the
Authorizationheader, as described in the Stripe docs.
Stripe MCP Server in Microsoft Copilot
- For GitHub Copilot in VS Code, create or open
.vscode/mcp.jsonin your workspace. The Stripe docs list a VS Code tab, but its steps are not in the text available to us. - Add a
stripeentry underserverswith the URLhttps://mcp.stripe.com, as in the snippet. - Save the file and start the server from the inline action in the editor, or from the MCP server list in VS Code.
- Sign in through Stripe's OAuth consent page, choosing a sandbox first.
- 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.
{
"servers": {
"stripe": {
"type": "http",
"url": "https://mcp.stripe.com"
}
}
}
Stripe MCP Server in Perplexity
- The Stripe docs text available to us does not cover Perplexity, so use the app's standard way of adding a remote connector.
- Open the Perplexity desktop app and go to its connectors settings.
- Add a custom remote MCP connector and enter
https://mcp.stripe.comas the URL. - Complete Stripe's OAuth consent page, choosing a sandbox and limited permissions.
- If the option to add a custom connector is not available in your plan or version, check Perplexity's documentation for what it supports.
https://mcp.stripe.com
Stripe MCP Server in Cursor
- Use the Install in Cursor button on
https://docs.stripe.com/mcp, or configure it manually as below. - For manual setup, open
~/.cursor/mcp.jsonand add thestripeentry shown in the snippet. - Save the file and open Cursor's MCP settings to confirm
stripeis listed. - Complete Stripe's OAuth consent page when prompted, choosing a sandbox first.
- Turn on Cursor's tool-approval setting so you can review tool calls before they run.
{
"mcpServers": {
"stripe": {
"url": "https://mcp.stripe.com"
}
}
}
Stripe MCP Server in Claude Code
- In a terminal, run the
claude mcp addcommand from the snippet to register the remote server overHTTP. - Start
claudeand run/mcpto see thestripeserver and its status. - Select the server to start authentication. Stripe's OAuth consent page opens; choose a sandbox first and grant limited permissions.
- Keep Claude Code's tool permission prompts on so you approve each Stripe call.
- Alternatively, run
npm install -g @stripe/cli@latestthenstripe agent setup, which Stripe recommends and which configures detected agents automatically.
claude mcp add --transport http stripe https://mcp.stripe.comCheck 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.