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 集成