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 GitHubWhat 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.