Skip to main content
A

Adyen

@codespar/mcp-adyen Β· v0.2.2

🌐 GlobalPaymentsAuth · API Keybeta25 tools4 env vars

Global enterprise payments used by iFood, Uber, Spotify, and AirBnB in LatAm. The one gateway enterprise merchants choose when a single contract has to cover BR + EU + US + APAC. Checkout v71 (payments, methods, links, donations, sessions, stored methods).

Get started Β· freeView docs

MIT Β· runs locally or through the CodeSpar runtime

Package
@codespar/mcp-adyen
Version
0.2.2
npm dist-tag
latest
Category
Payments
Auth
API Key
Country
🌐 Global
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Install, set the credentials, make the first call.

Pick your client. The server runs locally over stdio, or through the hosted runtime.

Add the server to your clientOne config entry. No build step, no SDK required.
Set the environment variables4 variables read by this server's code, listed below.
Restart and make the first callThe agent can call any of the 25 tools. Try create_payment first.
terminal
# Claude Code claude mcp add adyen -e ADYEN_API_KEY=… -e ADYEN_ENV=… -e ADYEN_LIVE_URL_PREFIX=… -e ADYEN_MERCHANT_ACCOUNT=… -- npx -y @codespar/mcp-adyen@0.2.2 # then: /mcp to confirm the server is connected
Environment variables4 variables
ADYEN_API_KEYAdyen API key (generated in Customer Area β†’ Developers β†’ API credentials)requiredsecret
ADYEN_ENVtest | live. Defaults to test.optional
ADYEN_LIVE_URL_PREFIXRequired when ADYEN_ENV=live. Your merchant-specific prefix, e.g. 1797a841fbb37ca7-AdyenDemooptional
ADYEN_MERCHANT_ACCOUNTAdyen merchant account code (appears in most request bodies)required

Names read from the package code (@codespar/mcp-adyen@0.2.2). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials. On the CodeSpar runtime the credential you connect is stored encrypted (AES-256-GCM, key derived per organization), and the runtime adds it to the provider call itself; the agent never receives it.

First call democreate_payment

"Create a payment. Pass paymentMethod"

tools/callcreate_paymentresult returned

Tools

What your agent can call.

25 tools, as the package's tools/list returns them.

create_payment

Create a payment. Pass paymentMethod (type + tokenized fields), amount, reference, returnUrl. merchantAccount is injected automatically from env.

payment_details

Submit additional details for a payment (3DS challenge response, redirect returnUrl payload, etc).

capture_payment

Capture an authorized payment (for delayed-capture flows).

cancel_payment

Cancel an authorized-but-uncaptured payment.

refund_payment

Refund a captured payment (full or partial).

reverse_payment

Void-or-refund a payment atomically. Adyen figures out whether to cancel (if uncaptured) or refund (if captured).

update_amount

Update the authorized amount of an unsettled payment (common in tips / hotel incidentals).

get_payment_methods

Dynamically list available payment methods for a country/currency/amount combination. Critical for multi-country agents that shouldn't hard-code methods.

create_payment_link

Create a hosted payment link (URL you send to the customer).

get_payment_link

Retrieve a payment link by id.

update_payment_link

Update a payment link β€” typically to expire it early.

create_donation

Create a round-up donation linked to an original payment (Adyen Giving).

Names and descriptions come from the package's tools/list (@codespar/mcp-adyen@0.2.2). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

Through the CodeSpar runtime, codespar_discover finds this server's tools, and a tools/call runs with the credential connected in your project, a test key included.

hostedhttps://connect.codespar.dev/mcp15 meta-tools

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the Adyen MCP server?

Run npx -y @codespar/mcp-adyen@0.2.2 and add the config block above to your MCP client: Claude Code, Cursor, Claude Desktop, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? Add the CodeSpar endpoint with a test key and connect Adyen in your project; codespar_discover finds its tools.

What can my agent do with Adyen?

Adyen exposes 25 tools for payments. Your agent calls them directly; the full list is above.

How does Adyen authenticate, and how are credentials stored?

Adyen uses API Key. Self-hosted, you hold the credentials: the server reads them from its environment variables. On the CodeSpar runtime the credential you connect is stored encrypted for your organization, and the runtime adds it to each provider call, so the agent never handles it.

How does Adyen handle upstream API changes?

Every server is versioned independently on npm. The command on this page pins 0.2.2, the version whose tools are listed here; your agent keeps running it until you change the version.

Is Adyen open source? How do I report a bug?

Yes. Adyen is MIT-licensed and published on npm as @codespar/mcp-adyen, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

On the CodeSpar runtime, the credential you connect stays encrypted for your organization and the runtime adds it to each call. You just call the tool.

Start in seconds demo
Create an account and copy a test key.
Add the hosted endpoint to your client with the config above.
Connect Adyen in your project and ask your agent for the first call.
Adyen β€” MCP server Β· 25 tools | CodeSpar