如何将 Stripe 远程 MCP 连接到 Cursor
约 1 分钟即可把 Stripe 的远程 MCP 服务端接入 Cursor。如需排查 OAuth / 401 问题,可先用 OAuth 2.1 调试器体检端点。
Streamable HTTPhttps://mcp.stripe.com
Install in Cursor →
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"stripe": {
"url": "https://mcp.stripe.com"
}
}
}claude mcp add --transport http stripe https://mcp.stripe.com
Install in VS Code →
Or add to .vscode/mcp.json:
{
"servers": {
"stripe": {
"type": "http",
"url": "https://mcp.stripe.com"
}
}
}- Open Settings → Connectors (Integrations) → Add Custom Connector.
- Paste the endpoint URL:
https://mcp.stripe.com - Complete the browser OAuth 2.1 login flow when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.stripe.com"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"stripe": {
"serverUrl": "https://mcp.stripe.com"
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"stripe": {
"url": "https://mcp.stripe.com"
}
}
}Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.stripe] url = "https://mcp.stripe.com"
Add to cline_mcp_settings.json (Cline → MCP Servers → Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"stripe": {
"type": "streamableHttp",
"url": "https://mcp.stripe.com"
}
}
}Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"stripe": {
"httpUrl": "https://mcp.stripe.com"
}
}
}接入步骤
- 打开 MCP 设置 — Cursor → Settings → MCP,或直接编辑全局
~/.cursor/mcp.json/ 项目级.cursor/mcp.json。 - 添加服务端 — 点击本页一键 deeplink 自动安装,或在
mcpServers下加入"stripe": { "url":https://mcp.stripe.com}。 - 完成认证 — 首次调用时客户端会打开 Stripe 的 OAuth 授权页面——点击允许后工具即可用。
- 验证 — 在 在线 Inspector 中粘贴
https://mcp.stripe.com并运行 initialize + tools/list 验证连通性。
🧰 工具预览(43)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| get_stripe_account_info ~36 tok | 🟢 Read | Get details of the connected Stripe account. | — |
| retrieve_balance ~34 tok | 🟢 Read | Retrieve the current Stripe account balance. | — |
| search_documentation ~34 tok | 🟢 Read | Search Stripe's official documentation. | — |
| create_customer ~30 tok | 🟠 Write | Create a new Stripe customer. | — |
| list_customers ~28 tok | 🟢 Read | List Stripe customers. | — |
| update_customer ~32 tok | 🟠 Write | Update a Stripe customer's details. | — |
| create_product ~30 tok | 🟠 Write | Create a new Stripe product. | — |
| list_products ~28 tok | 🟢 Read | List Stripe products. | — |
| create_price ~31 tok | 🟠 Write | Create a price for a Stripe product. | — |
| list_prices ~27 tok | 🟢 Read | List Stripe prices. | — |
| create_payment_link ~31 tok | 🟠 Write | Create a Stripe payment link. | — |
| create_payment_intent ~36 tok | 🟠 Write | Create a PaymentIntent to collect a payment. | — |
| list_payment_intents ~29 tok | 🟢 Read | List PaymentIntents. | — |
| create_invoice ~30 tok | 🟠 Write | Create a draft Stripe invoice. | — |
| create_invoice_item ~32 tok | 🟠 Write | Add a line item to an invoice. | — |
| finalize_invoice ~33 tok | 🟠 Write | Finalize a draft invoice for payment. | — |
| list_invoices ~28 tok | 🟢 Read | List Stripe invoices. | — |
| list_charges ~27 tok | 🟢 Read | List Stripe charges. | — |
| create_refund ~27 tok | 🔴 Destructive | Refund a charge. | — |
| list_subscriptions ~30 tok | 🟢 Read | List Stripe subscriptions. | — |
| retrieve_subscription ~32 tok | 🟢 Read | Retrieve a subscription by ID. | — |
| update_subscription ~32 tok | 🟠 Write | Update an existing subscription. | — |
| cancel_subscription ~30 tok | 🔴 Destructive | Cancel a subscription. | — |
| create_coupon ~28 tok | 🟠 Write | Create a Stripe coupon. | — |
| list_coupons ~27 tok | 🟢 Read | List Stripe coupons. | — |
| create_tax_rate ~29 tok | 🟠 Write | Create a Stripe tax rate. | — |
| list_tax_rates ~28 tok | 🟢 Read | List Stripe tax rates. | — |
| list_disputes ~27 tok | 🟢 Read | List card disputes. | — |
| update_dispute ~33 tok | 🟠 Write | Update or submit evidence for a dispute. | — |
| create_payout ~34 tok | 🟠 Write | Create a payout to a connected bank account. | — |
| list_payouts ~27 tok | 🟢 Read | List Stripe payouts. | — |
| create_transfer ~33 tok | 🟠 Write | Create a transfer to a connected account. | — |
| list_payment_methods ~33 tok | 🟢 Read | List payment methods for a customer. | — |
| create_checkout_session ~33 tok | 🟠 Write | Create a Stripe Checkout session. | — |
| list_meters ~27 tok | 🟢 Read | List billing meters. | — |
| create_billing_portal_session ~37 tok | 🟠 Write | Create a customer billing portal session. | — |
| list_checkout_sessions ~31 tok | 🟢 Read | List Checkout sessions. | — |
| expire_checkout_session ~33 tok | 🟠 Write | Expire an open Checkout session. | — |
| create_terminal_reader ~31 tok | 🟠 Write | Create a Terminal reader. | — |
| list_terminal_readers ~30 tok | 🟢 Read | List Terminal readers. | — |
| list_balance_transactions ~32 tok | 🟢 Read | List balance transactions. | — |
| list_events ~27 tok | 🟢 Read | List Stripe events. | — |
| create_credit_note ~29 tok | 🟠 Write | Create a credit note. | — |