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 整合