
Mcp Stripe
io.github.codespar由 GitHub 账号 codespar 发布v0.2.2更新于 Oct 24, 2026
MCP server for Stripe — global payments API (PaymentIntents, Checkout, Billing, Refunds)
发布方自己的服务:Stripe
概览
让助手操作 Stripe 账户:创建和确认支付、退款、客户、商品、价格、订阅、发票、支付链接与争议。
- 可以做什么
- 这是一个封装 Stripe 支付 API 的本地 MCP 服务器,提供约 30 个工具。涵盖 PaymentIntent(创建、确认、查询、取消、列表)、退款、客户、商品与价格、订阅、托管 Checkout 会话与支付链接、发票(创建、定稿、发送、收款、作废)、争议以及账户余额查询。它会代为处理 Stripe 的表单编码请求体,包括嵌套对象和数组。
- 适用场景
- 适合已经使用 Stripe 作为支付服务商、希望助手直接在对话中读取或操作该账户的团队,例如查看余额与争议、起草发票,或创建客户、价格和订阅。每个 Stripe 账户都自带测试模式,可先用测试密钥试用。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 从 npm 包 @codespar/mcp-stripe 启动,因此需要 Node.js。需要 Stripe 账户,并设置环境变量 STRIPE_SECRET_KEY(来自 Stripe 后台的测试或正式密钥)。可选设置 STRIPE_API_VERSION 固定 API 版本。仅支持桌面客户端,且需要访问 Stripe 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Stripe,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@codespar/mcp-stripe
MCP server for Stripe — global standard-bearer payments API
Stripe vs. Stripe ACP
Two Stripe MCP servers live in the CodeSpar catalog — different products:
If you are a typical SaaS with Stripe as your PSP, this is the package.
Why Stripe in the CodeSpar catalog?
Stripe is the global standard-bearer for developer-first payments. Nearly every LatAm SaaS that bills international cards ships with Stripe — Truora, Platzi, Rappi Pay (for some flows), countless Y Combinator LatAm companies. Adding Stripe lets agents operate the payments stack those SaaS already run, without forcing a migration to a local-first gateway.
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Tools (30)
Authentication
Stripe uses a single secret key. The key prefix selects the environment:
sk_test_...→ test mode (no real money moves)sk_live_...→ live mode
There is no separate base URL — the key itself routes requests. Set STRIPE_SECRET_KEY and you are done.
Request bodies are application/x-www-form-urlencoded with bracket notation (customer[name]=Foo, metadata[order]=123, expand[]=latest_invoice). This server handles nested objects and arrays for you.
Pinning an API version
Stripe auto-upgrades breaking changes on a calendar cadence. If you want to lock the version your agent sees, set STRIPE_API_VERSION (e.g. 2024-06-20). The server passes it as the Stripe-Version header on every call.
Environment Variables
Sandbox / Testing
Every Stripe account has test mode built in — no separate signup. Use a sk_test_... key and any of Stripe's test cards (e.g. 4242 4242 4242 4242).
Get your credentials
- Sign up at stripe.com
- Go to Dashboard > Developers > API keys
- Copy your Secret key (test mode by default)
- Set
STRIPE_SECRET_KEY
Roadmap
v0.2 (planned)
update_payment_intent,capture_payment_intent(separate capture)retrieve_refund,list_refundslist_customers,search_customersupdate_subscription,retrieve_subscriptionretrieve_invoice,finalize_invoice,pay_invoice,send_invoice,void_invoicecreate_invoice_item,list_invoice_itemscreate_price,create_productlist_charges,retrieve_chargeretrieve_dispute,close_dispute,list_disputes
v0.3 (planned)
- Stripe Connect: accounts, account links, transfers, payouts
create_setup_intent,confirm_setup_intent(saving cards for later)- PaymentMethod attach / detach / list
- Webhook event construction helper
Want a tool sooner? Open an issue or PR.
Links
Enterprise
Need governance, spend caps, and audit trails for agent-initiated charges, refunds, and subscription changes? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
来源:packages/payments/stripe/README.md,提交 d0a519a
工具
0版本历史
1- v0.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Stripe 集成

Stripe
com.stripe官方发布者
Stripe 托管的远程 MCP 服务器,让助手通过 OAuth 处理 Stripe 客户、产品、支付等业务数据。

Stripe MCP by InsightfulPipe
com.insightfulpipe
托管的 Stripe MCP 服务器,让 AI 助手读取 Stripe 账户中的支付、订阅、发票、客户与收入数据。

Stripe Mcp
由 GitHub 账号 mrfentmen 发布
Query the Stripe API (test-mode key; set STRIPE_SECRET_KEY, Basic): charges, customers, balance.

Stripe Billing
由 GitHub 账号 theluckystrike 发布
一个本地 Stripe 账单服务器,让助手在对话中读取账户余额并创建真实可分享的 Stripe 支付链接。

Stripe MCP
由 GitHub 账号 robinafaruqia 发布
只读的 Stripe MCP 服务器,让 AI 助手查询客户、支付、订阅、发票和退款数据。