用途:通过 MCP 让 Claude 直接对接 Stripe 支付基础设施,用于客户管理、订阅、发票、产品目录操作以及文档搜索。
主要能力:客户创建、查询、更新与列出;订阅生命周期、计费周期与定价管理;发票创建、定稿、发送与检索;产品与价格管理;查询 Stripe 官方文档。对应工具如 stripe_create_customer、stripe_retrieve_customer、stripe_list_customers、stripe_create_product、stripe_list_products、stripe_create_subscription、stripe_cancel_subscription、stripe_create_invoice、stripe_finalize_invoice、stripe_search_documentation。
使用方式:可选远程 HTTP(在 ~/.claude/settings.json 配置 type http 与 https://mcp.stripe.com/v1/sse,提示时用密钥认证)、本地 npm(npm install -g @stripe/mcp,先在 shell 中导出 STRIPE_SECRET_KEY,再执行 claude mcp add stripe -- npx -y @stripe/mcp),或项目根目录 .mcp.json 配置。
限制与注意:不要用 claude mcp add 的 -e 传入明文密钥,该值会以明文持久化到配置中;应先在 shell 导出变量。用测试卡与 Stripe CLI(如 stripe listen --forward-to localhost:3000/api/webhooks/stripe)在测试模式验证。Webhook 需校验签名,Deno/边缘运行时须用 constructEventAsync()。注意速率限制:每秒 100 次读或 100 次写。其他细节暂未提供。