Mcp Airwallex

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

MCP server for Airwallex — cross-border collection + payouts, global accounts, FX, transfers

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

概览

AI 生成的概览

Airwallex MCP 服务器,让助手创建和管理支付意图、退款、客户、收款人、跨境转账与外汇兑换。

可以做什么
  • 创建、确认、捕获、取消、查询和列出支付意图,并创建或查询退款
  • 创建、查询和更新客户,用于保存支付方式和定期扣款
  • 创建、查询和列出带银行信息的转账收款人
  • 创建、查询、取消和列出向收款人的跨境转账
  • 在钱包币种之间执行外汇兑换,并查询各币种钱包余额
适用场景
适合需要助手处理 Airwallex 跨境收款与付款的场景:收款、退款、管理客户与收款人、发起转账,或进行换汇和查询余额;建议先在演示环境验证。
运行要求
通过 npx 从 npm 包 @codespar/mcp-airwallex 在本地运行(需 Node.js)。需要 AIRWALLEX_CLIENT_ID 和密钥 AIRWALLEX_API_KEY,并设置 AIRWALLEX_ENV 为 demo(默认)或 production。需要访问 Airwallex API 的网络,服务器会先登录获取令牌。
安装前请注意
当 AIRWALLEX_ENV 设为 production 时会动用真实资金:转账、捕获、退款和换汇都是真实金融操作。API 密钥属于机密并会发送给 Airwallex。所有 create 类工具都要求传入 request_id 幂等键,服务器不会自动生成,错误或重复使用可能导致重复或失败的操作。建议先在 demo 环境使用。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@codespar/mcp-airwallex

MCP server for Airwallex — embedded finance for cross-border collection and payouts.

EBANX lets global platforms collect FROM LatAm and settle to USD. Airwallex is the inverse: LatAm sellers collect FROM abroad (USD, EUR, GBP) into global accounts, convert FX, and pay beneficiaries out across 150+ countries. Together the two servers bracket the cross-border flow both ways.

Tools (20)

ToolPurpose
create_payment_intentCreate an Airwallex payment intent (pay-in).
confirm_payment_intentConfirm a previously-created payment intent with a payment method.
retrieve_payment_intentRetrieve a payment intent by id.
cancel_payment_intentCancel a payment intent that has not yet been captured.
capture_payment_intentCapture a previously-authorized payment intent (two-step auth + capture flow).
list_payment_intentsList payment intents with optional filters (status, merchant_order_id, date range).
create_refundRefund a captured payment intent (full or partial).
retrieve_refundRetrieve a refund by id.
create_customerCreate an Airwallex customer for saved payment methods and recurring charges.
retrieve_customerRetrieve a customer by id.
update_customerUpdate fields on an existing customer (email, phone, address, metadata).
create_beneficiaryCreate a transfer beneficiary (recipient) with bank details.
retrieve_beneficiaryRetrieve a beneficiary by id.
list_beneficiariesList beneficiaries.
create_transferSend a cross-border transfer to a pre-created beneficiary.
retrieve_transferRetrieve a transfer by id.
cancel_transferCancel a transfer that has not yet settled.
list_transfersList transfers with optional filters (status, date range).
create_conversionExecute an FX conversion between wallet currencies (e.g.
retrieve_balanceRetrieve the current wallet balance for every currency the account holds.

Install

bash
npm install @codespar/mcp-airwallex

Environment

bash
AIRWALLEX_CLIENT_ID="..."   # x-client-id header on /authentication/loginAIRWALLEX_API_KEY="..."     # x-api-key header on /authentication/login (secret)AIRWALLEX_ENV="demo"        # 'demo' (default) or 'production'

Base URLs:

  • demo → https://api-demo.airwallex.com/api/v1
  • production → https://api.airwallex.com/api/v1

Authentication

Token flow. On first call the server POSTs to /authentication/login with headers x-client-id and x-api-key (no body). Airwallex returns { token, expires_at } (JWT, ~30 min lifetime). The server caches the token in memory and refreshes it 60 seconds before expiry. Every subsequent call sends Authorization: Bearer <token>.

Idempotency

Every create_* tool takes a required request_id parameter. Airwallex uses this as the idempotency key. The server never auto-generates it — agents must pass a stable UUID per logical operation so retries are safe.

Run

bash
# stdio (default — for Claude Desktop, Cursor, etc)npx @codespar/mcp-airwallex
# HTTP (for server-to-server testing)MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-airwallex

Positioning vs EBANX

FlowUse
Global platform collecting from LatAm buyers, settling to USD@codespar/mcp-ebanx
LatAm seller collecting from global buyers in USD/EUR/GBP, settling locally@codespar/mcp-airwallex

Pair both for bidirectional cross-border coverage.

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/airwallex/README.md,提交 d0a519a

工具

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

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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