Skip to content

Typescript library for integrating Adyen APIs via an MCP server

License

Notifications You must be signed in to change notification settings

Adyen/adyen-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

75 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Adyen MCP Server - Alpha

The Adyen Model Context Protocol (MCP) server allows you to integrate with Adyen APIs through LLMs function calling utilizing various clients. It currently supports the following tools. Read more on our Blog - Part 1.

  1. CheckoutAPI - Sessions
  2. CheckoutAPI - Payment Links
  3. Checkout API - Modifications
  4. Management API - Accounts
    • Gets a list of merchant accounts for your company account - GET /merchants
  5. Management API - Terminals
  6. Management API - Webhooks

Usage

  • Run the MCP server via npx with the following command:
npx -y @adyen/mcp --adyenApiKey=YOUR_ADYEN_API_KEY --env=TEST

If you are using the LIVE environment then you must also provide your live URL prefix, for example:

npx -y @adyen/mcp --adyenApiKey=YOUR_ADYEN_API_KEY --env=LIVE --livePrefix=YOUR_PREFIX_URL

Example usage in .vscode:

{
  "servers": {
    "adyen-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@adyen/mcp", "--adyenApiKey=YOUR_ADYEN_API_KEY", "--env=TEST"],
      "env": {
        "ADYEN_API_KEY": "${ADYEN_API_KEY}"
      }
    }
  }
}

Note: To run certain functionality (tools) in the mcp-server, you need a webservice user with the following roles:

  • Management API - Accounts Read
  • Management API - Payment methods Read
  • Checkout Webservice Role
  • Merchant PAL Webservice Role
  • Management API - Terminals read
  • Management API โ€” Assign Terminal
  • Management API โ€” Terminal actions read
  • Management API โ€” Terminal actions read and write
  • Management API โ€” Android files read
  • Management API โ€” Terminal settings read
  • Management API โ€” Terminal settings read and write
  • Management API โ€” Webhooks read

Adyen recommends creating a new webservice user and generating a new API key for the purpose of this application. Only use the new userโ€™s API key for the MCP application and limit the roles to match the tools you'll be using.

License

MIT license. For more information, see the LICENSE file.

Contributing

We strongly encourage you to contribute to our repository. Find out more in our contribution guidelines. If you'd like to run this in Codespaces, follow this guide.

Support

If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact: devrel@adyen.com

About

Typescript library for integrating Adyen APIs via an MCP server

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors