
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 助理查詢客戶、付款、訂閱、發票與退款資料。