Mcp Stripe Acp

io.github.codespar由 GitHub 账号 codespar 发布v0.1.4更新于 Oct 24, 2026

Stripe ACP — AI agent checkout, payment delegation, products, invoices

发布方自己的服务:Stripe

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

让助手执行 Stripe ACP 代理结账会话,以及客户、产品、发票、订阅等标准 Stripe 操作。

可以做什么
提供 24 个工具,覆盖代理商务协议(与卖家创建、查询、更新、完成和取消结账会话)以及标准 Stripe API 操作:客户、支付链接、支付意图、退款、余额、产品、价格、发票、发票项目、订阅、优惠券、争议、托管结账会话和账户信息。ACP 流程让代理先获取价格和配送选项,再提交支付令牌代用户完成购买。
适用场景
当助手需要针对卖家的 ACP 端点处理代理结账或支付委托,或需要在聊天客户端中读取和管理 Stripe 商品目录、账单与客户数据时使用。它是仅限桌面的本地服务器,适合 Claude Desktop、Claude Code、Cursor 或 VS Code,而非托管网页客户端。
运行要求
通过 stdio 在本地运行,通常使用 npx @codespar/mcp-stripe-acp,因此需要 Node.js 以及访问 Stripe 的网络。需要 STRIPE_API_KEY 环境变量(Stripe 密钥或受限密钥);可选的 STRIPE_ACP_BASE 变量用于设置卖家 ACP 端点 URL,ACP 工具需要它。服务器本身未声明认证。
安装前请注意
服务器在 STRIPE_API_KEY 中保存 Stripe 密钥或受限密钥,可动用真实资金并更改账户数据。工具会创建扣款、支付链接、退款、发票、订阅和优惠券,并取消订阅;complete_checkout 会向卖家提交支付令牌。请使用测试模式密钥和权限最小的受限密钥,并注意结账与支付数据会发送到所配置的卖家 ACP 端点。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Stripe Acp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@codespar/mcp-stripe-acp

MCP server for Stripe ACP — Agentic Commerce Protocol for AI agent checkout, payment delegation, and product management

[npm] [License: MIT]

What is Stripe ACP?

The Agentic Commerce Protocol (ACP) is an open standard co-developed by Stripe and OpenAI. It enables AI agents to complete purchases on behalf of users — the agent handles the checkout UX, while the seller handles inventory, pricing, and payment processing.

This MCP server covers both ACP protocol operations (checkout sessions, payment delegation) and standard Stripe API operations (customers, products, invoices, subscriptions).

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

json
{  "mcpServers": {    "stripe-acp": {      "command": "npx",      "args": ["-y", "@codespar/mcp-stripe-acp"],      "env": {        "STRIPE_API_KEY": "sk_test_...",        "STRIPE_ACP_BASE": "https://seller.example.com/acp"      }    }  }}

Claude Code

bash
claude mcp add stripe-acp -- npx @codespar/mcp-stripe-acp

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

json
{  "servers": {    "stripe-acp": {      "command": "npx",      "args": ["-y", "@codespar/mcp-stripe-acp"],      "env": {        "STRIPE_API_KEY": "sk_test_...",        "STRIPE_ACP_BASE": "https://seller.example.com/acp"      }    }  }}

Tools (24)

ToolPurpose
create_checkoutCreate an ACP checkout session with a seller.
get_checkoutRetrieve the current state of an ACP checkout session, including status, pricing, and available payment met...
update_checkoutUpdate an ACP checkout session — modify quantities, shipping address, or fulfillment selections
complete_checkoutComplete an ACP checkout by submitting a payment token.
cancel_checkoutCancel an ACP checkout session.
create_customerCreate a Stripe customer
list_customersList Stripe customers with optional filters
create_payment_linkCreate a shareable Stripe Payment Link for a price
list_payment_intentsList Stripe payment intents with optional filters
create_refundRefund a Stripe payment intent or charge
get_balanceGet Stripe account balance
list_productsList products in the Stripe catalog
create_productCreate a new product in Stripe
list_pricesList prices for Stripe products
create_invoiceCreate a draft invoice for a customer
list_subscriptionsList active Stripe subscriptions
create_subscriptionCreate a subscription for a customer with a recurring price
cancel_subscriptionCancel a Stripe subscription immediately or at period end
create_invoice_itemAdd a line item to an upcoming or specific invoice
finalize_invoiceFinalize a draft invoice so it can be paid
create_couponCreate a discount coupon
list_disputesList payment disputes (chargebacks)
create_checkout_sessionCreate a Stripe Checkout Session (hosted payment page)
get_accountGet Stripe account info for the authenticated account

Authentication

Stripe uses a secret API key (or restricted key for production). Use test mode keys (sk_test_...) for development.

Get your credentials

  1. Go to Stripe Dashboard
  2. Copy your secret key (or create a restricted key with specific permissions)
  3. For ACP: configure your seller's ACP endpoint URL
  4. Set the environment variables

Environment Variables

VariableRequiredDescription
STRIPE_API_KEYYesStripe secret or restricted API key
STRIPE_ACP_BASENoSeller's ACP endpoint base URL (required for ACP tools)

ACP Checkout Flow

1. Agent calls create_checkout → sends items + buyer info2. Seller returns pricing, shipping options, payment handlers3. Agent calls update_checkout → selects shipping, updates address4. Checkout reaches "ready_for_payment" status5. Agent calls complete_checkout → submits payment token6. Seller processes payment → order confirmed

Roadmap

v0.2 (planned)

  • search_products — Search catalog by query
  • create_checkout_link — Generate ACP checkout URL
  • get_order_status — Track order post-checkout
  • list_payment_handlers — Discover available payment methods

v0.3 (planned)

  • SharedPaymentToken creation and management
  • Webhook support for checkout status updates
  • Multi-seller checkout orchestration

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

来源:packages/payments/stripe-acp/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.4最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Stripe 集成