Skip to main content
MCP server CX Codex

Stripe · stripe — Claude Code MCP server: what it does, how to install

Connects Stripe API capabilities to your AI coding agent via Model Context Protocol. Helpful for running billing actions directly in your editor.

MIT ★ 2,077 updated 2026-10-24

Open on GitHub

What Stripe does

The server exposes Stripe API features to coding assistants using tool calls. You can point your setup to the hosted endpoint at https://mcp.stripe.com or launch it on your machine using @stripe/mcp via npx or the mcp/stripe Docker image.

Authentication relies on passing an API secret key directly or setting STRIPE_SECRET_KEY in the environment. Without configuring a Restricted API Key (RAK) in the Stripe dashboard, your assistant operates without boundary limits on payment resources.

Targeting multi-tenant setups works by passing --stripe-account followed by the connected account ID. If you need to inspect individual tool definitions, run the build step and verify them using MCP Inspector.

What it helps with

  • call Stripe API endpoints directly through assistant tool use
  • configure local or containerized access using npx or Docker
  • isolate access to a specific connected account via --stripe-account
  • verify and debug individual tools using MCP Inspector

Example prompts for the agent

  • Retrieve recent payment details using the Stripe MCP server
  • Create a checkout session using my configured Stripe API key
  • Test Stripe MCP tool calls through MCP Inspector

How to install Stripe

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Stripe

How do you run the Stripe MCP server locally?

Run npx -y @stripe/mcp --api-key=YOUR_STRIPE_SECRET_KEY, substituting your actual secret key, or define it via the STRIPE_SECRET_KEY environment variable.

How do you set up Stripe in Gemini CLI?

Install the extension with gemini extensions install https://github.com/stripe/ai, launch the CLI with gemini, and authenticate via /mcp auth stripe.

How do you limit permissions for Stripe MCP?

Generate a Restricted API Key (RAK) in your Stripe dashboard with explicit privileges. The MCP tools respect the boundaries assigned to that key.

Similar MCP servers

All MCP servers for Finance and business →

From the same set11

The whole set →
stripe-directory stripe-directory is a Claude Code skill that finds providers and organizations and their documented engagement paths. It runs before web search to choose a service, pay, or arrange an integration. CX Codex +1 4,400installs stripe-docs stripe-docs is a Claude Code skill that searches Stripe documentation and API references through the Stripe CLI. It activates for docs.stripe.com lookups, including gated pages. CX Codex +1 2,900installs stripe-apps Guides coding agents in building, modifying, and reviewing Stripe Apps, Dashboard extensions, and billing scripts. CX Codex +1 1,700installs connect-required-verification-information connect-required-verification-information guides the agent through Stripe Connect verification rules to determine KYC requirements, onboarding fields, and documents for connected accounts. CX Codex +1 1,500installs stripe-pay stripe-pay — a skill for Claude Code, Codex, Cursor and other platforms that lets an agent send money to another Stripe business by Profile handle or network ID. The agent shows the exact command and fee before any money moves. CX Codex +1 766installs metronome Guides usage-based billing integration with Metronome and Stripe sync. Helps design billable metrics, contracts, and AI token pricing. CX Codex +1 671installs mcp Stripe's remote MCP server gives your agent access to customers, products, payments and other Stripe objects from the chat. CX Codex +1 ★ 2,077repo stars stripe Adds commands for Stripe API operations. Called with /stripe to create products, subscriptions and payments directly from the editor. ★ 2,077repo stars

Project sponsors

Companies that keep this analytics open