Stripe MCP Server Configuration & Usage Guide
Installationnpx
Risk LevelHigh Risk
API KeyRequired
Clients3 supported
Stripe 支付 API 集成,支持查询交易、客户、订阅和发票信息
Supported Clients
- Claude Desktop
- Cursor
- VS Code / Cline
Installation Command
npx -y @stripe/agent-toolkit-mcpConfiguration Example
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@stripe/agent-toolkit-mcp"
],
"env": {
"STRIPE_SECRET_KEY": "sk_test_xxxxxxxxxxxx"
}
}
}
}Environment variable required:STRIPE_SECRET_KEY。Do not commit these values to public repositories.
Permission Scope & Security Notes
使用 Stripe Secret Key 可访问支付数据,务必使用测试模式 Key(sk_test_开头)
- network-access
- credential-required
Risk Score:6/10
Common Errors
- Invalid API Key
- 确认使用的是正确的 Secret Key,测试环境用 sk_test_ 开头的 Key
- 权限不足
- 确认 API Key 有对应资源的访问权限
Sources
Recently Verified:2026-05-18。Client versions and configuration formats may change. Please refer to official documentation before use.