io.github.codespar/mcp-adyen
io.github.codespar/mcp-adyen · 273 stars · TypeScript · MIT
MCP server MCP server for Adyen Checkout API v71 — enterprise payments (iFood, Uber, Spotify in LatAm)
Install
The repo has no one-line install. Follow its README.
Published as
- npm
@codespar/mcp-adyenstdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
ADYEN_API_KEYRequired · Secret | Env var | Adyen API key (generated in Customer Area → Developers → API credentials) |
ADYEN_MERCHANT_ACCOUNTRequired | Env var | Adyen merchant account code (appears in most request bodies) |
ADYEN_ENVOptional | Env var | test | live. Defaults to test. |
ADYEN_LIVE_URL_PREFIXOptional | Env var | Required when ADYEN_ENV=live. Your merchant-specific prefix, e.g. 1797a841fbb37ca7-AdyenDemo |
Files
@codespar/mcp-adyen
MCP server for Adyen Checkout API v71 — the global enterprise payments rail used by iFood, Uber, Spotify, and AirBnB in LatAm.
Distinct from every other server in our catalog: it's the one gateway enterprise merchants choose when a single contract has to cover BR + EU + US + APAC.
Tools (25)
| Tool | Purpose |
|---|---|
create_payment |
Create a payment. |
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. |
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. |
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). |
list_stored_payment_methods |
List a shopper's stored payment methods (one-click reuse). |
disable_stored_payment_method |
Delete a stored payment method (shopper opt-out). |
create_session |
Create a Checkout session (used by Drop-in and Web Components to load methods + handle the full flow client... |
get_session |
Retrieve the status/result of a Checkout session (poll after the shopper finishes Drop-in). |
retrieve_applicable_defense_reasons |
List the defense reason codes Adyen will accept for a given dispute (Dispute Service v30). |
accept_dispute |
Accept a dispute — forfeit the funds and close the case (Dispute Service v30). |
defend_dispute |
Defend a dispute using one of the applicable defense reason codes (Dispute Service v30). |
supply_defense_document |
Upload a supporting document for an ongoing dispute defense (Dispute Service v30). |
list_balance_accounts |
List the balance accounts owned by an account holder (Balance Platform BCL v2). |
get_balance_account |
Fetch a single balance account by id (Balance Platform BCL v2). |
create_transfer |
Initiate a transfer (bank payout, internal move, third-party card push) from a balance account (Transfers B... |
get_transfer |
Retrieve a transfer by id (Transfers BTL v4). |
list_merchants |
List merchant accounts visible to the API credential (Management API v3). |
Install
npm install @codespar/mcp-adyen
Environment
ADYEN_API_KEY="..." # X-API-Key value, secret ADYEN_MERCHANT_ACCOUNT="..." # Merchant account code injected into every call ADYEN_ENV="test" # test | live. Default: test. ADYEN_LIVE_URL_PREFIX="..." # Required when ADYEN_ENV=live. Your merchant-specific prefix from Customer Area.
URL routing
ADYEN_ENV=test→https://checkout-test.adyen.com/v71ADYEN_ENV=live→https://<ADYEN_LIVE_URL_PREFIX>-checkout-live.adyenpayments.com/checkout/v71
Live calls fail fast if ADYEN_LIVE_URL_PREFIX is missing.
Run
# stdio (default) npx @codespar/mcp-adyen # HTTP MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-adyen
Scope
This v0.1 covers Checkout API v71 only. Separate packages for Adyen Payouts, Management, and Balance Platform APIs follow when demand emerges — each has distinct auth, URL prefix rules, and use cases.
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.
Authentication
Set these environment variables before launching the server:
ADYEN_API_KEY(required, secret) — Adyen API key (generated in Customer Area → Developers → API credentials)ADYEN_MERCHANT_ACCOUNT(required) — Adyen merchant account code (appears in most request bodies)ADYEN_ENV— test | live. Defaults to test.ADYEN_LIVE_URL_PREFIX— Required when ADYEN_ENV=live. Your merchant-specific prefix, e.g. 1797a841fbb37ca7-AdyenDemo
Issue credentials at the provider's developer portal: https://docs.adyen.com.
License
MIT
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 273
- License
- MIT
- Language
- TypeScript
- Last push
- 2026-09-27
- Forks
- 50
- MCP Registry
- io.github.codespar/mcp-adyen
- Homepage
- codespar.dev/servers
- Topics
- agentic-commerce, ai-agents, brazil, claude, fintech, latin-america, llm-tools, mcp, model-context-protocol, nfe, open-finance, payments, pix
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k