Airwallex

Finance and commerce

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

Your AI app calls the Airwallex MCP server, which does the finance and commerce work and sends the result back to the chat.

About Airwallex

Airwallex is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Airwallex, cross-border collection + payouts, global accounts, FX, transfers.

Airwallex runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-airwallex@0.2.2 and talks to it over standard input and output. It needs AIRWALLEX_CLIENT_ID and AIRWALLEX_API_KEY set before Airwallex starts.

Airwallex is listed in the official MCP registry as io.github.codespar/mcp-airwallex, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-airwallex
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-airwallex

How to set up Airwallex

  1. Install Node.js on the machine that runs your AI app, because Airwallex starts with npx and downloads its package on first run.
  2. Create AIRWALLEX_CLIENT_ID and AIRWALLEX_API_KEY for Airwallex in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Airwallex to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Airwallex tools to confirm the connection.
  5. Run one read-only task with Airwallex first, and keep your app asking before each tool call until the results look right.

Airwallex compared with similar servers

  • Alegra by codespar has fewer GitHub stars than Airwallex (278 against 278); both are community servers, and both run locally.
  • Afip by codespar has fewer GitHub stars than Airwallex (278 against 278); both are community servers, and both run locally.
  • Amazon by codespar has fewer GitHub stars than Airwallex (278 against 278); both are community servers, and both run locally.

Before you connect Airwallex

  • Give Airwallex its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Airwallex tool call until you trust what it does with them.
  • Treat text that Airwallex fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Airwallex on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Airwallex

How marketing and sales teams put Airwallex to work, by company size. Pick the size closest to yours and start Airwallex on one use case.

Small business

  • A small business can ask Airwallex which products and customers drive margin, then plan promotions around them.
  • Owners can use Airwallex to check refunds, failed payments and churn reasons without opening three dashboards.
  • Airwallex runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Airwallex to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Airwallex to check spend against budget each week and move money to what's working.
  • Start Airwallex on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Airwallex read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Airwallex to answer revenue questions by channel and region with figures finance signs off on.
  • Airwallex is a community server, so have security review the code and pin a version before Airwallex touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Airwallex README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@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)

Tool Purpose
create_payment_intent Create an Airwallex payment intent (pay-in).
confirm_payment_intent Confirm a previously-created payment intent with a payment method.
retrieve_payment_intent Retrieve a payment intent by id.
cancel_payment_intent Cancel a payment intent that has not yet been captured.
capture_payment_intent Capture a previously-authorized payment intent (two-step auth + capture flow).
list_payment_intents List payment intents with optional filters (status, merchant_order_id, date range).
create_refund Refund a captured payment intent (full or partial).
retrieve_refund Retrieve a refund by id.
create_customer Create an Airwallex customer for saved payment methods and recurring charges.
retrieve_customer Retrieve a customer by id.
update_customer Update fields on an existing customer (email, phone, address, metadata).
create_beneficiary Create a transfer beneficiary (recipient) with bank details.
retrieve_beneficiary Retrieve a beneficiary by id.
list_beneficiaries List beneficiaries.
create_transfer Send a cross-border transfer to a pre-created beneficiary.
retrieve_transfer Retrieve a transfer by id.
cancel_transfer Cancel a transfer that has not yet settled.
list_transfers List transfers with optional filters (status, date range).
create_conversion Execute an FX conversion between wallet currencies (e.g.
retrieve_balance Retrieve 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:

  • 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

# 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

Flow Use
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

Questions about Airwallex

What is the Airwallex MCP server?

MCP server for Airwallex, cross-border collection + payouts, global accounts, FX, transfers. Airwallex is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Airwallex MCP server?

Add Airwallex to your AI app's MCP config with the command npx -y @codespar/mcp-airwallex@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-airwallex -- npx -y @codespar/mcp-airwallex@0.2.2. To run Airwallex this way you need Node.js installed.

Does Airwallex need an API key?

Yes. Airwallex expects AIRWALLEX_CLIENT_ID and AIRWALLEX_API_KEY to be set. Create the key for Airwallex in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Airwallex an official MCP server?

No. Airwallex is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Airwallex access to company data.

What license is Airwallex under?

Airwallex is released under the MIT license, according to its GitHub repository. The license covers the code of Airwallex; the service it connects to has its own terms.