Stripe MCP 远程 MCP 服务器 – 官方端点、工具列表与一键连接指南

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~1336 tok43 tools·Online225ms·30 天在线率: 100%·上次拨测 12 分钟前

Stripe 官方远程 MCP 服务器(mcp.stripe.com)。AI 代理可通过 OAuth 查询客户、PaymentIntent、订阅并调用 Stripe API。

本页收录其官方远程端点、传输协议、认证方式、全部工具 Schema、实时可用性拨测与安全审计结果,并为 Cursor、Claude Code、VS Code、ChatGPT 等 10 大客户端提供一键接入指引。

https://mcp.stripe.com
提供方
Stripe ↗
分类
💳 支付、账单与电商
Streamable HTTPhttps://mcp.stripe.com
Install in Cursor →

Or add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "stripe": {
      "url": "https://mcp.stripe.com"
    }
  }
}

🧰 Stripe MCP 工具与 Schema(43)

ToolSafetyDescriptionParameters
get_stripe_account_info
~36 tok
🟢 ReadGet details of the connected Stripe account.—
retrieve_balance
~34 tok
🟢 ReadRetrieve the current Stripe account balance.—
search_documentation
~34 tok
🟢 ReadSearch Stripe's official documentation.—
create_customer
~30 tok
🟠 WriteCreate a new Stripe customer.—
list_customers
~28 tok
🟢 ReadList Stripe customers.—
update_customer
~32 tok
🟠 WriteUpdate a Stripe customer's details.—
create_product
~30 tok
🟠 WriteCreate a new Stripe product.—
list_products
~28 tok
🟢 ReadList Stripe products.—
create_price
~31 tok
🟠 WriteCreate a price for a Stripe product.—
list_prices
~27 tok
🟢 ReadList Stripe prices.—
create_payment_link
~31 tok
🟠 WriteCreate a Stripe payment link.—
create_payment_intent
~36 tok
🟠 WriteCreate a PaymentIntent to collect a payment.—
list_payment_intents
~29 tok
🟢 ReadList PaymentIntents.—
create_invoice
~30 tok
🟠 WriteCreate a draft Stripe invoice.—
create_invoice_item
~32 tok
🟠 WriteAdd a line item to an invoice.—
finalize_invoice
~33 tok
🟠 WriteFinalize a draft invoice for payment.—
list_invoices
~28 tok
🟢 ReadList Stripe invoices.—
list_charges
~27 tok
🟢 ReadList Stripe charges.—
create_refund
~27 tok
🔴 DestructiveRefund a charge.—
list_subscriptions
~30 tok
🟢 ReadList Stripe subscriptions.—
retrieve_subscription
~32 tok
🟢 ReadRetrieve a subscription by ID.—
update_subscription
~32 tok
🟠 WriteUpdate an existing subscription.—
cancel_subscription
~30 tok
🔴 DestructiveCancel a subscription.—
create_coupon
~28 tok
🟠 WriteCreate a Stripe coupon.—
list_coupons
~27 tok
🟢 ReadList Stripe coupons.—
create_tax_rate
~29 tok
🟠 WriteCreate a Stripe tax rate.—
list_tax_rates
~28 tok
🟢 ReadList Stripe tax rates.—
list_disputes
~27 tok
🟢 ReadList card disputes.—
update_dispute
~33 tok
🟠 WriteUpdate or submit evidence for a dispute.—
create_payout
~34 tok
🟠 WriteCreate a payout to a connected bank account.—
list_payouts
~27 tok
🟢 ReadList Stripe payouts.—
create_transfer
~33 tok
🟠 WriteCreate a transfer to a connected account.—
list_payment_methods
~33 tok
🟢 ReadList payment methods for a customer.—
create_checkout_session
~33 tok
🟠 WriteCreate a Stripe Checkout session.—
list_meters
~27 tok
🟢 ReadList billing meters.—
create_billing_portal_session
~37 tok
🟠 WriteCreate a customer billing portal session.—
list_checkout_sessions
~31 tok
🟢 ReadList Checkout sessions.—
expire_checkout_session
~33 tok
🟠 WriteExpire an open Checkout session.—
create_terminal_reader
~31 tok
🟠 WriteCreate a Terminal reader.—
list_terminal_readers
~30 tok
🟢 ReadList Terminal readers.—
list_balance_transactions
~32 tok
🟢 ReadList balance transactions.—
list_events
~27 tok
🟢 ReadList Stripe events.—
create_credit_note
~29 tok
🟠 WriteCreate a credit note.—

🛡️ 安全评级、质量与上下文 Token 审计

🛡️ 安全评级 A+上下文 Token 开销: ~1336 tokens(该服务端 43 个工具定义注入每次系统提示词)

估算单次调用 Token 成本 →

  • No prompt-injection or hidden-character anomalies detected in tool descriptions
  • Streamable HTTP primary endpoint (current 2025-03-26 transport)
  • OAuth 2.1 with PKCE S256 enforced
  • Official first-party endpoint operated by the vendor
  • Manually verified by RemoteMCP.net

🔐 OAuth 2.1 与安全

认证方式
OAuth 2.1
动态客户端注册(DCR)
✅ 支持
PKCE S256
✅ 支持
受保护资源元数据
https://mcp.stripe.com/.well-known/oauth-protected-resource
审计 OAuth 2.1 配置 →

📡 官方远程端点与传输协议

远程端点 https://mcp.stripe.com 采用 Streamable HTTP(流式 HTTP,2025-03-26 规范)。Streamable HTTP 在单一 POST 端点上完成 JSON-RPC 双向交互,是当前 MCP 规范推荐的传输方式,可直接被 Claude、Cursor、VS Code 等客户端以 URL 形式接入,无需 npx mcp-remote 桥接。

接入前可将端点粘贴至本站 在线 MCP Inspector 实测 initialize / tools/list 握手,确认真实协议行为。

🔐 认证与权限机制

认证方式为 OAuth 2.1。首次连接时客户端会收到 401 挑战并从 WWW-Authenticate 头解析 RFC 9728 受保护资源元数据,随后自动完成授权服务器发现(RFC 8414)、动态客户端注册(DCR)与 PKCE S256 浏览器授权流程——你只需在浏览器中点击一次授权,无需手工粘贴任何密钥。

🛡️ 上下文开销与安全审计

该服务端当前登记 43 个工具,全部定义合计约 1336 tokens,会在每次请求时注入模型系统提示词。安全评级为 A+,官方直营来源。工具名与 Schema 越精简,对上下文窗口的"税"越低;可用 feecalculator.app 估算每次调用的边际成本。

🧩 主流客户端快速接入

本站为 Stripe MCP 生成了 Cursor / Claude Code / VS Code / ChatGPT / Windsurf / Kiro / Codex / Cline / Gemini 等 10 大客户端的专属配置——包括一键 deeplink、claude mcp add 命令与 JSON/TOML 片段。下方选择你的客户端即可查看 1 分钟接入步骤。代表性工具包括 get_stripe_account_info、retrieve_balance、search_documentation、create_customer、list_customers 等。

📖 Stripe 详解

Stripe MCP — Remote MCP Server

Stripe's remote MCP runs on Stripe's own infrastructure and shares the toolset of the open-source Stripe Agent Toolkit. Because authorization happens through Stripe OAuth, the agent acts with the permissions of the Stripe account you connect — use a restricted-scope account or test-mode data for experiments. Write-capable tools such as refunds are gated by the toolset you enable.

Official Stripe MCP Endpoint & Transport Architecture

  • Endpoint URL: https://mcp.stripe.com
  • Transport: Streamable HTTP

Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. Stripe MCP does not publish a separate legacy SSE endpoint, so your client must speak Streamable HTTP.

Authentication, Scopes & Permission Boundaries

Stripe MCP uses OAuth 2.1 — the first request returns a 401 Unauthorized challenge with a WWW-Authenticate header pointing at the authorization metadata. Compliant clients (Cursor, Claude, VS Code, ChatGPT) handle the whole flow — PKCE and Dynamic Client Registration, so no manual client setup is needed — and simply open a browser consent screen.

Of the 5 cataloged tools, 3 are read-only and 2 can write or mutate state (create resources, run SQL, post messages). Grant access only to the accounts and projects you intend agents to act on, and prefer scoped credentials or a dedicated workspace where the provider supports them.

Common Troubleshooting & Connection Tips

  • 401 Unauthorized on connect — that's expected; the server is OAuth-protected. Let your client complete the browser consent flow, or inspect the endpoint in our OAuth debugger to see the exact WWW-Authenticate challenge.
  • "Session expired" / stale Mcp-Session-Id — just re-send initialize; stateless clients can ignore session headers entirely.
  • Runs against your live Stripe account once authorized — point agents at test mode while prototyping.
  • Refund and customer-mutation tools require explicit confirmation flows in most clients.

🚀 如何接入 Stripe MCP 远程 MCP

  1. 获取远程端点 — 复制官方端点 https://mcp.stripe.com。
  2. 写入客户端配置 — 在 Cursor 的 mcp.json / Claude Code CLI / 其他客户端中添加该 URL(见下方分客户端指南)。
  3. 授权并验证 — 完成浏览器 OAuth 授权后,在本站 Inspector 中运行 initialize 与 tools/list 验证连通性。

🔌 Stripe × 各客户端连接指南

❓ 常见问题

Stripe MCP 远程 MCP 服务器是官方提供的吗?

本条目标记为「官方直营」。端点由 Stripe 官方运营,所有收录端点均经过真实 MCP initialize 握手验证。

如何在 Claude / Cursor 中连接 Stripe MCP?

复制远程端点 https://mcp.stripe.com:Claude Code 执行 claude mcp add --transport http stripe https://mcp.stripe.com;Cursor 可直接使用本页的一键 deeplink 或在 ~/.cursor/mcp.json 中添加 { "mcpServers": { "stripe": { "url": "https://mcp.stripe.com" } } }。首次调用会自动弹出 OAuth 2.1 授权页面。

连接时返回 401 或需要密钥怎么办?

401 是 OAuth 2.1 的正常挑战响应——客户端会依据 RFC 9728 元数据自动完成授权,无需手工处理。若授权流程中断,可用本站 OAuth 2.1 Debugger 定位 PRM / DCR / CORS 配置问题。

本地 stdio MCP 和这个远程 MCP 有什么区别?

本地 MCP 通过 npx/uvx 在你的机器上启动 stdio 子进程,依赖本地运行时且密钥以明文写入配置文件;远程 MCP 是 Stripe 托管的 HTTPS 端点,免安装、支持 OAuth 2.1 授权流,且同一端点可跨桌面与移动端复用。详见 本地 vs 远程 MCP 对比。

🔗 同类远程 MCP 服务端