MCP Server
Learn about SumUp MCP capabilities, authentication, documentation resources, local setup, and troubleshooting.
The Model Context Protocol (MCP)(Opens in a new tab) connects AI assistants to external tools and context. The SumUp MCP server(Opens in a new tab) provides tools for calling SumUp APIs and resources for reading developer documentation.
For client-specific installation and login steps, start with Set up your AI assistant.
What You Can Do
Section titled “What You Can Do”Use the server to:
- Query your merchant profile and review transactions.
- Create checkouts and inspect their status.
- Build payment workflows with Cloud API.
- Read SumUp developer documentation and the OpenAPI specification through MCP resources.
Documentation Resources
Section titled “Documentation Resources”Clients that support MCP resources can read:
| Resource | URI |
|---|---|
| Developer documentation index | https://developer.sumup.com/llms.txt |
| API OpenAPI specification | https://developer.sumup.com/openapi.json |
The documentation index points to guides available as Markdown. Clients without resource support can read the documentation index and the OpenAPI specification from the SumUp OpenAPI repository(Opens in a new tab) directly.
Authentication
Section titled “Authentication”| Setup | Authentication | Requirements |
|---|---|---|
Hosted server at https://mcp.sumup.com/mcp |
Sign in with SumUp through OAuth | A client that supports Streamable HTTP and OAuth |
Local @sumup/mcp process |
SumUp API key in SUMUP_API_KEY |
Node.js 22 or later and a client that supports stdio |
Connect the Hosted Server
Section titled “Connect the Hosted Server”The client discovers the SumUp authorization server through the endpoint’s protected resource metadata and asks you to authorize access in your browser. Follow the login steps for your client in the assistant setup guide.
The hosted server accepts OAuth access tokens issued for the MCP resource. SumUp API keys such as sup_sk_... are used by the local server and are not valid Bearer tokens for the hosted endpoint.
The hosted server supports Streamable HTTP at /mcp and the legacy SSE transport at /sse. Use /mcp for new connections.
Verify the Connection
Section titled “Verify the Connection”Follow the setup verification steps to check that tools are available and make a read-only request. Before testing payment workflows, connect a sandbox merchant account.
For example, once your sandbox connection is ready:
Using my sandbox merchant, create a checkout for 12.34 EUR with a uniquereference and return its ID. Do not process a payment.Run the Local Server
Section titled “Run the Local Server”Use the local MCP CLI(Opens in a new tab) for clients that launch stdio servers or for workflows using a SumUp API key. It requires Node.js 22 or later.
To start it from your terminal:
SUMUP_API_KEY='sup_sk_...' npx -y @sumup/mcpFor Codex, add a local server instead of the hosted URL:
codex mcp add sumup --env SUMUP_API_KEY=sup_sk_... -- npx -y @sumup/mcpcodex mcp listFor clients such as Cursor or Claude Desktop that accept mcpServers configuration, use:
{ "mcpServers": { "sumup": { "command": "npx", "args": ["-y", "@sumup/mcp"], "env": { "SUMUP_API_KEY": "sup_sk_..." } } }}Replace the placeholder with your API key in your client’s private configuration. Keep credentials out of shared project files. For Claude Desktop, this goes in claude_desktop_config.json.
Troubleshooting
Section titled “Troubleshooting”- Authorization fails: use your client’s OAuth login flow for the hosted server. If you configured a
sup_sk_...Bearer token, remove it and reconnect through OAuth. For the local server, checkSUMUP_API_KEY. - Tools are missing: restart or refresh the MCP connection and check its status in your client. After installing a Codex plugin, start a new session.
- Duplicate tools appear: if the SumUp plugin already configures MCP, remove the separate manual entry for the same server.
- The server cannot connect: check the
/mcpURL, outbound HTTPS access, and Streamable HTTP support. The hosted server also exposes the legacy/sseendpoint, but new connections should use/mcp.
For integration guidance alongside the tools, see Agent Skills and Set up your AI assistant.