motionmavericks/airwallex-mcp
If you are the rightful owner of airwallex-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server for interacting with the Airwallex API, enabling AI assistants to manage financial operations.
airwallex_authenticate
Authenticate with Airwallex API
airwallex_get_balances
Get all currency balances
airwallex_create_payment
Create a new payment
airwallex_get_fx_rates
Get foreign exchange rates
airwallex_create_transfer
Create a new transfer
Airwallex MCP Server
An MCP (Model Context Protocol) server that provides tools for interacting with the Airwallex API. This server enables AI assistants like Claude to manage payments, accounts, foreign exchange, and transfers through Airwallex.
Features
- Authentication: Secure API authentication with automatic token management
- Account Management: View account details and settings
- Balance Operations: Check balances across multiple currencies
- Payment Processing: Create and manage payments
- Foreign Exchange: Get rates and create FX conversions
- Transfers: Initiate and track money transfers
Installation
Quick Install (Recommended)
# Clone the repository
git clone https://github.com/motionmavericks/airwallex-mcp.git
cd airwallex-mcp
# Run the installer
./install-claude.sh
The installer will:
- Set up your Airwallex API credentials
- Install dependencies
- Add the server to Claude Code
Manual Installation
- Clone the repository:
git clone https://github.com/motionmavericks/airwallex-mcp.git
cd airwallex-mcp
- Install dependencies:
npm install
- Create a
.env
file:
cp .env.example .env
- Edit
.env
with your Airwallex credentials:
AIRWALLEX_CLIENT_ID=your_client_id_here
AIRWALLEX_API_KEY=your_api_key_here
AIRWALLEX_ENVIRONMENT=demo # or 'production'
- Add to Claude Code:
claude mcp add $(pwd) --name airwallex
Available Tools
Authentication
airwallex_authenticate
- Authenticate with Airwallex APIairwallex_get_auth_status
- Check current authentication status
Accounts
airwallex_get_account
- Get account detailsairwallex_get_account_status
- Get account verification statusairwallex_list_linked_accounts
- List linked accountsairwallex_get_linked_account
- Get specific linked account details
Balances
airwallex_get_balances
- Get all currency balancesairwallex_get_balance
- Get balance for specific currencyairwallex_get_balance_history
- Get balance history
Payments
airwallex_create_payment
- Create a new paymentairwallex_get_payment
- Get payment detailsairwallex_list_payments
- List payments with filtersairwallex_confirm_payment
- Confirm a paymentairwallex_cancel_payment
- Cancel a payment
Foreign Exchange
airwallex_get_fx_rates
- Get foreign exchange ratesairwallex_create_fx_quote
- Create an FX quoteairwallex_confirm_fx_quote
- Confirm an FX quoteairwallex_get_fx_deal
- Get FX deal details
Transfers
airwallex_create_transfer
- Create a new transferairwallex_get_transfer
- Get transfer detailsairwallex_list_transfers
- List transfersairwallex_cancel_transfer
- Cancel a transfer
Usage Example
In Claude Code, you can use the tools like this:
// First authenticate
airwallex_authenticate
// Check your balances
airwallex_get_balances
// Get FX rates
airwallex_get_fx_rates({
base: "USD",
target: "EUR"
})
// Create a payment
airwallex_create_payment({
amount: 1000,
currency: "USD",
beneficiary_id: "ben_123456",
reference: "Invoice #12345"
})
Configuration
The server supports two environments:
demo
- Airwallex demo environment for testingproduction
- Live Airwallex environment
Set the environment in your .env
file:
AIRWALLEX_ENVIRONMENT=demo
Testing
Test the authentication:
npm test
Security
- API credentials are stored locally in
.env
- The server implements automatic token refresh
- All API calls use HTTPS
- Tokens expire after 1 hour and are automatically refreshed
Development
Run in development mode with auto-reload:
npm run dev
License
MIT License - see LICENSE file for details
Support
For issues or questions:
- GitHub Issues: https://github.com/motionmavericks/airwallex-mcp/issues
- Airwallex API Docs: https://www.airwallex.com/docs/api