Stripe Mcp Server

io.github.friendlygeorge由 GitHub 帳號 friendlygeorge 發布v1.0.0更新於 Oct 24, 2026

MCP server for Stripe API — customers, charges, payments, subscriptions, products, and invoices

發布方自己的服務:Stripe

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

本機 MCP 伺服器,提供 21 個 Stripe API 工具,讓助理查詢餘額並管理客戶、付款、訂閱、商品、發票、退款與 Webhook。

可以做什麼
  • 查詢帳戶餘額,列出扣款、付款意圖、發票與 Connect 轉帳
  • 列出、建立、查詢與更新客戶
  • 建立並列出付款意圖、商品以及單次或週期性價格
  • 列出、建立與取消訂閱
  • 發起全額或部分退款並記錄原因
  • 列出並建立 Webhook 端點
適用情境
適合在對話中檢視或操作 Stripe 帳戶:核對餘額、查詢客戶與扣款,或在測試模式下建立客戶、付款意圖、價格、訂閱與退款,不必切換到 Stripe 後台。
執行需求
以 stdio 方式在本機執行,通常透過 npx 或全域 npm 安裝,需要 Node.js。必須以環境變數 STRIPE_API_KEY 提供 Stripe 金鑰,範例中使用測試金鑰。需要能連線至 Stripe API 的網路。
安裝前請注意
需要 Stripe 金鑰,而正式金鑰具備真實資金操作能力:工具可建立付款意圖、訂閱、退款與 Webhook 端點,並可取消訂閱。建議先使用測試金鑰,並在核准任何寫入操作前確認。寫入設定檔的金鑰應避免提交到版本控制。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Stripe Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Stripe MCP Server

A Model Context Protocol server for the Stripe API. Provides 21 tools for managing customers, charges, payments, subscriptions, products, prices, invoices, refunds, transfers, and webhooks.

Features

  • Balance — Check available and pending balances
  • Customers — List, create, retrieve, update customers
  • Charges — List and retrieve charges with filters
  • Payment Intents — Create and list payment intents
  • Products — List and create products
  • Prices — List and create one-time and recurring prices
  • Subscriptions — List, create, and cancel subscriptions
  • Invoices — List invoices with status filters
  • Refunds — Full or partial refunds with reason tracking
  • Transfers — List Connect platform transfers
  • Webhooks — List and create webhook endpoints

Installation

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "stripe": {      "command": "npx",      "args": ["-y", "stripe-mcp-server"],      "env": {        "STRIPE_API_KEY": "sk_test_your_key_here"      }    }  }}

Cursor / VS Code

Add to your MCP configuration:

json
{  "mcpServers": {    "stripe": {      "command": "npx",      "args": ["-y", "stripe-mcp-server"],      "env": {        "STRIPE_API_KEY": "sk_test_your_key_here"      }    }  }}

Manual

bash
npm install -g stripe-mcp-serverexport STRIPE_API_KEY=sk_test_your_key_herestripe-mcp-server

Environment Variables

VariableRequiredDescription
STRIPE_API_KEYYesYour Stripe secret key (sk_test_... or sk_live_...)

Usage

Get account balance

json
{ "tool": "get_balance", "arguments": {} }

Create a customer

json
{  "tool": "create_customer",  "arguments": {    "email": "[email protected]",    "name": "Jane Doe"  }}

Create a payment intent

json
{  "tool": "create_payment_intent",  "arguments": {    "amount": 2000,    "currency": "usd",    "customer": "cus_abc123",    "description": "Order #1234"  }}

Create a subscription

json
{  "tool": "create_subscription",  "arguments": {    "customer": "cus_abc123",    "price": "price_xyz789"  }}

API Coverage

ResourceTools
Balanceget_balance
Customerslist_customers, create_customer, retrieve_customer, update_customer
Chargeslist_charges, retrieve_charge
Payment Intentscreate_payment_intent, list_payment_intents
Productslist_products, create_product
Priceslist_prices, create_price
Subscriptionslist_subscriptions, create_subscription, cancel_subscription
Invoiceslist_invoices
Refundscreate_refund
Transferslist_transfers
Webhookslist_webhook_endpoints, create_webhook_endpoint

Development

bash
git clone https://github.com/friendlygeorge/stripe-mcp-server.gitcd stripe-mcp-servernpm installnpm run buildnpm start

License

MIT

來源:README.md,提交 d7abd46

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Stripe 整合