
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 服务器,让助手查询支付、列出交易与结算,并在人工批准后取消或退款。