Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@codespar/mcp-airwallex

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-airwallex

MCP server for Airwallex — embedded finance for cross-border collection and payouts. LatAm sellers collect USD/EUR abroad and settle locally.

latest
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

@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

npm install @codespar/mcp-airwallex

Environment

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

Base URLs:

  • demohttps://api-demo.airwallex.com/api/v1
  • productionhttps://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

# 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.

License

MIT

Keywords

mcp

FAQs

Package last updated on 25 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts