# Stripe MCP — Payments API Server for AI Agents > Official Stripe MCP server that gives AI agents access to payment processing, customer management, subscription billing, and financial reporting through natural language. 2,000+ stars. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use Add to your `.mcp.json`: ```json { "mcpServers": { "stripe": { "command": "npx", "args": ["-y", "@stripe/mcp-server"], "env": { "STRIPE_SECRET_KEY": "sk_test_..." } } } } ``` Get your test key from [dashboard.stripe.com/apikeys](https://dashboard.stripe.com/apikeys). Restart Claude Code. --- ## Intro Stripe MCP is the official Model Context Protocol server from Stripe that gives AI agents access to payment processing, customer management, subscriptions, and financial data with 2,000+ GitHub stars. Create payment links, query revenue, manage customers, and build billing flows through natural language commands. Best for developers integrating Stripe payments who want AI-assisted financial operations. Works with: Claude Code, Cursor, any MCP client. Setup time: under 2 minutes. --- ## Available Tools ### Payments ``` "Create a payment link for $49.99 with description 'Pro Plan Monthly'" "Show all payments from the last 7 days" "Refund the last payment from customer cus_abc123" ``` ### Customers ``` "Create a new customer with email john@example.com" "List all customers who signed up this month" "Update customer cus_abc123 with new billing address" ``` ### Subscriptions ``` "Create a monthly subscription for $29/mo on the Pro plan" "Show all active subscriptions and their MRR" "Cancel subscription sub_xyz at period end" ``` ### Products & Prices ``` "Create a product called 'Enterprise Plan' with monthly and annual pricing" "List all products with their current prices" ``` ### Reporting ``` "Show total revenue for March 2026" "What's our current MRR and subscriber count?" "Show churn rate for the last quarter" ``` ## Use Cases ### Build Checkout Flow ``` "Set up a checkout flow for our SaaS: Free, Pro ($29/mo), Enterprise ($99/mo)" → Agent creates products, prices, and payment links ``` ### Revenue Dashboard ``` "Show me a breakdown of revenue by plan for the last 3 months" → Agent queries Stripe and presents formatted data ``` ### Key Stats - 2,000+ GitHub stars - Official Stripe product - Full Payments API access - Customer + Subscription management - Test mode and live mode support ### FAQ **Q: What is Stripe MCP?** A: The official MCP server from Stripe that gives AI agents full access to payment processing, customer management, subscriptions, and financial reporting. **Q: Is it safe to use with production data?** A: Start with test mode (sk_test_ key). For production, use restricted API keys with specific permissions. **Q: Is Stripe MCP free?** A: The MCP server is open-source. Stripe charges standard payment processing fees. --- ## Source & Thanks > Created by [Stripe](https://github.com/stripe). Licensed under MIT. > > [stripe-mcp](https://github.com/stripe/agent-toolkit) — ⭐ 2,000+ Thanks to Stripe for making payments AI-accessible. --- ## 快速使用 将以下配置添加到 `.mcp.json`: ```json { "mcpServers": { "stripe": { "command": "npx", "args": ["-y", "@stripe/mcp-server"], "env": { "STRIPE_SECRET_KEY": "sk_test_..." } } } } ``` --- ## 简介 Stripe MCP 是 Stripe 官方 MCP 服务器,GitHub 2,000+ stars。AI Agent 可通过自然语言处理支付、管理客户、创建订阅和查询收入。适合集成 Stripe 支付的开发者。 --- ## 来源与感谢 > Created by [Stripe](https://github.com/stripe). Licensed under MIT. > > [stripe-mcp](https://github.com/stripe/agent-toolkit) — ⭐ 2,000+ --- Source: https://tokrepo.com/en/workflows/9fa25556-579f-4c7d-9791-667c23e6bf7d Author: MCP Hub