Skip to main content
AI

Airwallex

v0.2.1API Key

El inverso transfronterizo de EBANX — sellers de LatAm cobran del exterior (USD/EUR/GBP) y liquidan localmente. Payment intents, reembolsos, beneficiarios, transferencias, conversiones de FX, balances multimoneda.

20 herramientas3 env vars🌐 GLOBALestable en npm

Qué puede hacer tu agente

Airwallex le da a tu agente 20 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_payment_intentCreate an Airwallex payment intent (pay-in). Used when a LatAm seller needs to collect USD/EUR/GBP from buyers abroad. Returns the intent with client_secret for client-side confirmation.
  • confirm_payment_intentConfirm a previously-created payment intent with a payment method. For card intents this triggers authorization; for APM intents this returns a next_action (redirect, QR, etc).
  • retrieve_payment_intentRetrieve a payment intent by id. Returns current status, payment_attempts, and latest payment_method.
Ejemplo de llamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_payment_intent", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-airwallex

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "airwallex": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-airwallex"
      ],
      "env": {
        "AIRWALLEX_CLIENT_ID": "<your_airwallex_client_id>",
        "AIRWALLEX_API_KEY": "<your_airwallex_api_key>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 20 herramientas de abajo — probá create_payment_intent primero.

Variables de entorno · 3

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

AIRWALLEX_CLIENT_ID
obligatorio

Airwallex client id (sent as x-client-id on /authentication/login)

AIRWALLEX_API_KEY
obligatoriosecret

Airwallex API key, secret (sent as x-api-key on /authentication/login)

AIRWALLEX_ENV
opcional

Airwallex environment. 'demo' (default, https://api-demo.airwallex.com) or 'production' (https://api.airwallex.com).

Herramientas disponibles · 20

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_payment_intent
Create an Airwallex payment intent (pay-in). Used when a LatAm seller needs to collect USD/EUR/GBP from buyers abroad. Returns the intent with client_secret for client-side confirmation.
WRITEconfirm_payment_intent
Confirm a previously-created payment intent with a payment method. For card intents this triggers authorization; for APM intents this returns a next_action (redirect, QR, etc).
WRITEretrieve_payment_intent
Retrieve a payment intent by id. Returns current status, payment_attempts, and latest payment_method.
DELETEcancel_payment_intent
Cancel a payment intent that has not yet been captured. Fails on already-captured intents; use create_refund instead.
WRITEcapture_payment_intent
Capture a previously-authorized payment intent (two-step auth + capture flow). Use this after confirm_payment_intent on intents created with capture_method=manual. Amount may be less than authorized for partial capture.
WRITElist_payment_intents
List payment intents with optional filters (status, merchant_order_id, date range). Supports pagination via page_num / page_size.
DELETEcreate_refund
Refund a captured payment intent (full or partial). Returns the refund object with status.
DELETEretrieve_refund
Retrieve a refund by id. Returns current status (RECEIVED, ACCEPTED, PROCESSING, SUCCEEDED, FAILED).

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-airwallex` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Airwallex — MCP server · 20 tools | CodeSpar