Stripe MCP
by Stripe
Official Stripe AI toolkit for payments, billing, and commerce automation
finance Node.js Intermediate Self-hostable Verified
β 1.3k stars π
Updated: 1mo ago
Description
Official Stripe AI toolkit for building AI-powered products with Stripe. Includes an MCP server plus SDKs for popular agent frameworks like OpenAI Agents, LangChain, and CrewAI. Supports both local STDIO transport via npx and a remote OAuth-authenticated endpoint at mcp.stripe.com. Features Restricted API Key support for granular permission control and connected account context for platform scenarios. The broader toolkit also includes @stripe/ai-sdk for Vercel AI billing integration and @stripe/token-meter for LLM usage-based billing. Languages: TypeScript (79.8%) and Python (14.7%).
β Best for
Developers building AI-powered products that need payment processing and billing automation
βοΈ Skip if
You need a multi-provider payment solution or only accept non-Stripe payments
π‘ Use cases
- Processing payments and managing customers from AI assistants
- Automating invoice creation and subscription management
- Building AI-powered commerce workflows with billing integration
- Platform operators managing connected Stripe accounts via AI
π Pros
- β Official Stripe project with full payment API coverage
- β Dual access β local STDIO or remote OAuth endpoint
- β Restricted API Key support for granular, secure permissions
- β SDKs for multiple agent frameworks (OpenAI, LangChain, CrewAI)
π Cons
- β Financial operations require careful permission scoping for safety
- β Remote OAuth flow adds setup complexity compared to API key
- β Limited to Stripe ecosystem β no multi-provider payment support
π§ Exposed tools (6 tools)
| Tool | Category | Description |
|---|---|---|
| manage_subscriptions | billing | Create, update, or cancel subscriptions |
| create_invoice | billing | Create and send invoices to customers |
| create_customer | customers | Create a new Stripe customer record |
| create_payment | payments | Create a new payment intent or charge |
| list_payments | payments | List and filter payment transactions |
| refund_payment | payments | Process refunds for existing payments |
β‘ Installation
Prerequisites:
- β’ Node.js v18+
- β’ Stripe secret key or OAuth via remote endpoint
- β’ API key required
Check Claude Code documentation to configure this MCP server.
π‘ Tips & tricks
Always use Restricted API Keys with minimal permissions instead of your full secret key. Start with read-only access and enable write operations only when needed. The remote endpoint at mcp.stripe.com uses OAuth, which is more secure for production use.
Quick info
- Author
- Stripe
- License
- MIT
- Runtime
- Node.js 18+
- Transport
- stdio
- Category
- finance
- Difficulty
- Intermediate
- Self-hostable
- β
- Auth
- β
- Docker
- β
- Version
- latest
- Updated
- Feb 28, 2026
Client compatibility
- β Claude Code
- β Cursor
- β VS Code Copilot
- β Gemini CLI
- β Windsurf
- β Cline
- β JetBrains AI
- β Warp
Platforms
π macOS π§ Linux πͺ Windows