
Stripe MCP Server
Official Model Context Protocol (MCP) server by Stripe that allows AI agents like Claude, Cursor, and others to securely interact with the Stripe API and knowledge base for managing payments, customers, products, invoices, refunds, and more using natural language.
Overview
Stripe MCP Server is Stripe’s official implementation of the Model Context Protocol (MCP). It provides a standardized set of tools that AI coding and agent assistants (Claude, Cursor, VS Code, ChatGPT, Windsurf, and any MCP-compatible client) can use to interact directly with your Stripe account.
Instead of manually writing API calls, agents can perform real-world financial operations and retrieve knowledge from Stripe’s documentation and support articles through natural language prompts.
Key Features
- Comprehensive Stripe Tools: Manage Customers, Products, Prices, Invoices, Payment Intents, Payment Links, Subscriptions, Charges, Refunds, Disputes, Balances, and more
- Knowledge Base Search: Query Stripe documentation and support articles in real time
- Remote Hosted Server: Secure access via OAuth at
https://mcp.stripe.com(recommended) - Local Deployment: Run via
npx @stripe/mcpwith restricted API keys for full control - Scoped Permissions: Use Restricted API Keys (RAK) or OAuth for granular security
- Agent-Friendly Design: Optimized for function calling, reasoning, and safe execution of financial actions
How It Works
- Connect your AI agent to the MCP server (remote or local)
- Authorize using OAuth (remote) or Stripe secret/restricted key (local)
- Prompt your agent in natural language, e.g., “Create a new customer for john@example.com”, “Generate a payment link for $49 product”, or “Process a refund for charge ch_123”
- The agent uses MCP tools to execute actions securely on your Stripe account
Installation & Setup
Remote (Easiest – OAuth)
# For Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=stripe&config=eyJ1cmwiOiJodHRwczovL21jcC5zdHJpcGUuY29tIn0%3D
# For Claude Code
claude mcp add --transport http stripe https://mcp.stripe.com
Local (npx)
npx -y @stripe/mcp --api-key=sk_...
Package: @stripe/mcp on npm
Supported AI Agents
- Claude Desktop / Claude Code
- Cursor
- VS Code with Stripe AI Assistant
- ChatGPT (MCP support)
- Windsurf and other MCP-compatible clients
Use Cases
- Automated customer management and onboarding
- Generating invoices, payment links, and checkout sessions
- Handling refunds, disputes, and subscription updates
- Building AI-powered billing agents and support bots
- Real-time financial operations and reporting from chat interfaces
- Secure guardrailed agents (human-in-the-loop approvals for sensitive actions)
Official Links
- Documentation: https://docs.stripe.com/mcp
- Remote Server: https://mcp.stripe.com
- npm Package: https://www.npmjs.com/package/@stripe/mcp
- GitHub Registry Entry: https://github.com/mcp/com.stripe/mcp