Stripe MCP Server
Interact with Stripe's payment processing APIs directly from Claude Code. Build and debug billing integrations, manage subscriptions, inspect payment objects, and troubleshoot webhook events without switching to the Stripe dashboard.
MCP Server Configuration
{ "mcpServers": { "stripe": { "command": "npx", "args": ["-y", "@stripe/mcp", "--tools=all"], "env": { "STRIPE_SECRET_KEY": "<your-stripe-secret-key>" } } } }
Available Tools
| Tool | Description |
|---|---|
list_customers | List customers with filters |
create_customer | Create a new customer record |
list_products | List products in your catalog |
create_product | Create a new product |
list_prices | List price configurations |
create_price | Create a new price for a product |
list_subscriptions | List active subscriptions |
create_subscription | Create a new subscription |
list_payment_intents | List payment intents with status |
list_invoices | List invoices with filters |
create_checkout_session | Generate a Checkout session URL |
list_events | List webhook events for debugging |
retrieve_balance | Check your Stripe account balance |
list_refunds | List refund records |
create_refund | Process a refund |
Setup
- Get your API key from https://dashboard.stripe.com/apikeys
- Use test mode key (
sk_test_...) for development - Replace
<your-stripe-secret-key>with your key - Optionally limit tools:
--tools=customers,products,prices
Usage Examples
Once configured, ask Claude Code:
- "List recent failed payment intents and show the error reasons"
- "Create a product with monthly and annual pricing tiers"
- "Show me all webhook events from the last hour"
- "Find customer by email and show their subscription status"
- "Generate a checkout session for the Pro plan"
Security Notes
- ALWAYS use test mode keys (
sk_test_) during development - Never commit Stripe keys to version control
- Store in
.claude/settings.local.jsonand add to.gitignore - The
--tools=allflag enables write operations - restrict with--tools=for read-only - Review all create/update operations before approving
- Consider using Stripe restricted keys with minimal permissions
Reviews
No reviews yet. Be the first to review this template!
Similar Templates
Database MCP Integration
MCP server configuration for connecting Claude Code to PostgreSQL, MySQL, and MongoDB databases. Enables schema inspection, query building, and migration generation.
Elevenlabs Server
Streamline your workflow with this official, elevenlabs, text, speech. Includes structured workflows, validation checks, and reusable patterns for audio.
Browser Use Portal
Powerful mcp for server, enables, agents, control. Includes structured workflows, validation checks, and reusable patterns for browser_automation.