Skip to main content
AD

Adyen

v0.2.1API Key

Pagos enterprise globales usados por iFood, Uber, Spotify y AirBnB en LatAm. El gateway que eligen los merchants enterprise cuando un solo contrato tiene que cubrir BR + EU + US + APAC. Checkout v71 (pagos, métodos, links, donaciones, sessions, métodos guardados).

25 herramientas4 env vars🌐 GLOBALestable en npm

Qué puede hacer tu agente

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

  • create_paymentCreate a payment. Pass paymentMethod (type + tokenized fields), amount, reference, returnUrl. merchantAccount is injected automatically from env.
  • payment_detailsSubmit additional details for a payment (3DS challenge response, redirect returnUrl payload, etc).
  • capture_paymentCapture an authorized payment (for delayed-capture flows).
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", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-adyen

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": {
    "adyen": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-adyen"
      ],
      "env": {
        "ADYEN_API_KEY": "<your_adyen_api_key>",
        "ADYEN_MERCHANT_ACCOUNT": "<your_adyen_merchant_account>"
      }
    }
  }
}

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

Variables de entorno · 4

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

ADYEN_API_KEY
obligatoriosecret

Adyen API key (generated in Customer Area → Developers → API credentials)

ADYEN_MERCHANT_ACCOUNT
obligatorio

Adyen merchant account code (appears in most request bodies)

ADYEN_ENV
opcional

test | live. Defaults to test.

ADYEN_LIVE_URL_PREFIX
opcional

Required when ADYEN_ENV=live. Your merchant-specific prefix, e.g. 1797a841fbb37ca7-AdyenDemo

Herramientas disponibles · 25

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

WRITEcreate_payment
Create a payment. Pass paymentMethod (type + tokenized fields), amount, reference, returnUrl. merchantAccount is injected automatically from env.
WRITEpayment_details
Submit additional details for a payment (3DS challenge response, redirect returnUrl payload, etc).
WRITEcapture_payment
Capture an authorized payment (for delayed-capture flows).
DELETEcancel_payment
Cancel an authorized-but-uncaptured payment.
DELETErefund_payment
Refund a captured payment (full or partial).
DELETEreverse_payment
Void-or-refund a payment atomically. Adyen figures out whether to cancel (if uncaptured) or refund (if captured).
WRITEupdate_amount
Update the authorized amount of an unsettled payment (common in tips / hotel incidentals).
WRITEget_payment_methods
Dynamically list available payment methods for a country/currency/amount combination. Critical for multi-country agents that shouldn't hard-code methods.

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-adyen` 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.
Adyen — MCP server · 25 tools | CodeSpar