
Alternative Payments
io.github.wyre-technology由 GitHub 帳號 wyre-technology 發布v1.0.8更新於 Oct 24, 2026
MCP server for Alternative Payments — customers, invoices, payment requests, payouts, webhooks.
發布方自己的服務:Payments Ai Mcp
概覽
讓助理讀取並安全寫入 Alternative Payments 的客戶、發票、付款請求、交易、撥款和 Webhook 資料。
- 可以做什麼
- 提供四個領域的工具:客戶(列出、取得、建立、新增使用者、封存)、發票(列出、取得、付款連結、PDF 連結、建立發票、建立付款請求、封存)、付款(列出和取得交易、列出和取得撥款、列出撥款交易)以及 Webhook(列出、列出事件、建立、重試、刪除)。另外提供探索工具 ap_navigate 和 ap_status。它刻意不實作直接建立付款,因此無法向信用卡或銀行帳戶請款。三個破壞性工具在執行前需要互動式確認。
- 適用情境
- 當助理需要查詢或管理 Alternative Payments 記錄時使用,例如檢視客戶、發票、交易或撥款,建立客戶、發票和代管付款連結,或管理 Webhook,同時不涉及資金移轉。
- 執行需求
- 以本機程序方式透過 stdio(或用於閘道託管的 HTTP)執行。需要來自 Alternative Payments 合作夥伴後台的 OAuth 2.0 用戶端憑證,透過 ALTERNATIVE_PAYMENTS_CLIENT_ID 和 ALTERNATIVE_PAYMENTS_CLIENT_SECRET 提供,並設定 ALTERNATIVE_PAYMENTS_ENVIRONMENT(production 或 demo)。選用變數:AUTH_MODE、LOG_LEVEL、MCP_TRANSPORT。需要連線至 Alternative Payments API 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Alternative Payments,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Alternative Payments MCP Server
A Model Context Protocol (MCP) server that gives AI assistants read + safe-write access to Alternative Payments — customers, invoices, payment requests, transactions, payouts, and webhooks.
Maintained by Wyre Technology.
Capabilities
This server deliberately does not move money. It exposes reads and safe writes
(creating customers, invoices, and hosted payment links). It does not implement
direct payment creation (POST /payments), which would charge a card or bank account.
The three destructive tools — ap_archive_customer, ap_archive_invoice,
ap_delete_webhook — require interactive confirmation before they run.
Plus discovery tools ap_navigate and ap_status.
Authentication
Alternative Payments uses OAuth 2.0 client-credentials. Generate an API key
(client_id / client_secret) in the Partner Dashboard.
Copy .env.example. The stdio transport reads these variables and does not use CONDUIT_S2S_SECRET:
ALTERNATIVE_PAYMENTS_CLIENT_IDALTERNATIVE_PAYMENTS_CLIENT_SECRETALTERNATIVE_PAYMENTS_ENVIRONMENT(productionordemo, defaultproduction)
The server exchanges these for a bearer token automatically and refreshes it before expiry.
HTTP service-to-service auth
CONDUIT_S2S_SECRET is required when MCP_TRANSPORT=http. If it is empty, or a known placeholder (changeme, your-s2s-secret, secret, placeholder, and the other example values), the process logs an error and exits non-zero. It never prints the secret. Compose will not start when the variable is unset.
Set MCP_ALLOW_INSECURE_DEV=1 only for local development to start without the secret. The process logs a loud warning, does not check X-Gateway-S2S, and binds 127.0.0.1 only. A non-loopback MCP_HTTP_HOST (including 0.0.0.0) is ignored in that mode and the override is logged. A placeholder secret is still refused.
MCP_HTTP_HOST is honored when a real CONDUIT_S2S_SECRET is set. If MCP_HTTP_HOST is unset, the server keeps the historical default and binds 0.0.0.0. The container image and Compose set 0.0.0.0 and AUTH_MODE=gateway. Publish the port on loopback unless a proxy sits in front.
With a real secret, every /mcp request must include:
v1 is the hex HMAC-SHA256 of the ASCII string t=<unix seconds>, keyed with CONDUIT_S2S_SECRET. The timestamp must be within 300 seconds of the server clock. A missing or invalid header returns 401 before vendor credentials are read.
Gateway mode (AUTH_MODE=gateway)
Every /mcp request must also include:
X-Alternative-Payments-Client-IDX-Alternative-Payments-Client-SecretX-Alternative-Payments-Environment(optional:productionordemo)
A request missing the client id or secret gets 401 and does not fall back to ALTERNATIVE_PAYMENTS_CLIENT_ID / ALTERNATIVE_PAYMENTS_CLIENT_SECRET in the process environment. The checked-in Compose service sets no static vendor credentials.
Single-tenant HTTP (AUTH_MODE=env)
/mcp still requires a valid X-Gateway-S2S header. Vendor credentials come from the ALTERNATIVE_PAYMENTS_* environment variables when the request does not carry the client-id and client-secret headers.
/health always returns 200. It does not require authentication and does not read vendor credentials.
Quick start
Claude Code (CLI):
Docker (HTTP transport, gateway mode):
The image listens on 0.0.0.0 inside the container and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass the S2S secret. In gateway mode, Alternative Payments credentials arrive on each request as headers; they are not read from the environment.
Compose refuses to start when CONDUIT_S2S_SECRET is unset, sets AUTH_MODE=gateway, publishes 127.0.0.1:8080:8080, and does not inject static vendor credentials:
The gateway signs each /mcp call:
Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses ALTERNATIVE_PAYMENTS_CLIENT_ID and ALTERNATIVE_PAYMENTS_CLIENT_SECRET. This is separate from the gateway Compose service:
Local HTTP without a secret is development-only. It binds 127.0.0.1 and logs a warning:
Transports
- stdio (default):
node dist/index.js. Does not useCONDUIT_S2S_SECRET. - HTTP (
MCP_TRANSPORT=http): streamable HTTP onMCP_HTTP_PORT(default 8080), with/mcpand/healthendpoints. Each request gets a fresh stateless server, which is required for the WYRE MCP Gateway. Startup refuses to listen untilCONDUIT_S2S_SECRETis a real secret, unlessMCP_ALLOW_INSECURE_DEV=1.
Development
License
Apache-2.0
來源:README.md,提交 92d3de2
工具
0版本歷史
1- v1.0.8最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。
其他 Payments 整合
Payments Ai Mcp
ai.payments.managed官方發布者
Payments AI 提供的遠端 MCP 端點,以 Merchant of Record 身分協助為 AI 打造的應用上架產品與品牌化結帳頁。

Qut Pay (Kaspi QR payments)
kz.qut官方發布者
Qut Pay MCP 伺服器,用於哈薩克 Kaspi QR 付款:建立、查詢、取消與退款發票,並模擬沙箱付款。

walletcap for Coinbase payments MCP
由 GitHub 帳號 coriolislabs 發布
為 Coinbase 支付 MCP 錢包提供消費限額:單筆上限與跨程序共用的 24 小時滾動 USDC 預算。

FawryPay cash payments (unofficial)
由 GitHub 帳號 mohamedaly-cloud 發布
非官方的本機 MCP 伺服器,讓助理處理埃及 FawryPay Pay-at-Fawry 現金支付,並可選擇啟用退款與取消工具。

Toss Payments
由 GitHub 帳號 groove79 發布
針對 Toss Payments 的在地 MCP 伺服器,讓助理查詢付款、列出交易與結算,並在人工核准後取消或退款。