Stripe MCP server

Stripe's official remote server for searching, reading and writing Stripe API objects and searching Stripe's documentation. Connect with OAuth, or with an agent API key where OAuth is unavailable.

Remote (HTTP)OAuth

Set up Stripe

Configuration examples, not tested connections. Replace placeholders and review the upstream documentation before use.

Claude Code

Run in your terminal.

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

Cursor

Merge into ~/.cursor/mcp.json

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

Codex

Run in your terminal.

codex mcp add stripe --url https://mcp.stripe.com
codex mcp login stripe

Gemini CLI

Merge into ~/.gemini/settings.json

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

OpenCode

Merge into ~/.config/opencode/opencode.jsonc

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "stripe": {
      "type": "remote",
      "url": "https://mcp.stripe.com",
      "enabled": true
    }
  }
}

VS Code

Merge into .vscode/mcp.json

{
  "servers": {
    "stripe": {
      "type": "http",
      "url": "https://mcp.stripe.com"
    }
  }
}

Using more than one server?Add to a config with other servers

Step-by-step setup guides: Claude Code and Codex CLI, Cursor and VS Code. In Claude Desktop, add the URL as a custom connector. This is a remote server with OAuth sign-in; see remote vs local servers and authentication and security basics.

Overview

Stripe hosts an official MCP server at https://mcp.stripe.com, documented at docs.stripe.com/mcp. Related agent tooling lives in the stripe/ai repository, which had commits on 11 October 2026. The server is meant for developers building or operating a Stripe integration with an agent's help.

Its tools fall into two groups. stripe_api_search, stripe_api_read and stripe_api_write find, read and change objects in your Stripe account, using the Stripe API. search_stripe_documentation searches Stripe's documentation, and get_stripe_account_info reports which account the connection uses. Stripe's documentation lists further specialised tools. The OAuth consent page lets you grant access to live mode accounts or sandboxes with different permissions for each, so start with a sandbox.

The recommended connection is OAuth. After you add the URL, your client opens a Stripe sign-in where you choose the account and grant permissions. In Claude Code you complete this with /mcp; in Codex, with codex mcp login stripe. For clients without OAuth, Stripe documents an agent API key sent as a bearer token. In Codex this uses bearer_token_env_var; in other clients, an Authorization header. Create the key with only the permissions the agent needs. Stripe says that from 31 October 2026 the server stops accepting full-access secret keys and restricted keys without the Agent tag.

Example tools

  • stripe_api_search
  • stripe_api_read
  • stripe_api_write
  • search_stripe_documentation
  • get_stripe_account_info

Tool names are upstream examples. The server's live tool list can differ.

Browse Developer Tools servers

Sources

This page was written from the upstream documentation below and last reviewed on 11 October 2026. Listing is not a security or compatibility endorsement. Report a correction through the contact page.