Stripe MCP Server
Interact with Stripe — query customers, charges, subscriptions, and payment intents.
claude_desktop_config.json
{
"mcpServers": {
"server-stripe": {
"command": "npx",
"args": [
"-y",
"@stripe/mcp-server",
"--tools=all"
],
"env": {
"STRIPE_SECRET_KEY": "your-secret-key-here"
}
}
}
} Environment Variables
| Variable | Required | Description |
|---|---|---|
STRIPE_SECRET_KEY | ✓ Required | Stripe secret API key (sk_live_… or sk_test_…). |
STRIPE_RESTRICTED_KEY | Optional | Optional Stripe restricted key for scoped access. |
Setup Instructions
- Ensure Node.js 18+ is installed on your system.
-
Copy the config block above into your
claude_desktop_config.jsonfile (typically at~/.config/claude/claude_desktop_config.jsonon macOS/Linux or%APPDATA%\Claude\claude_desktop_config.jsonon Windows). - Set the
STRIPE_SECRET_KEYenvironment variable: Stripe secret API key (sk_live_… or sk_test_…). - Restart your AI client to apply the config.