Overview
The EuroMail MCP server exposes the API as Model Context Protocol tools. An AI assistant such as Claude Desktop, an IDE agent or your own LLM application can then send email, check delivery status, manage domains and more by calling tools directly. You don't write any glue code.
- Package:
@euromail/mcp-serveron npm - Source: github.com/kalle-works/euromail-mcp-server
- Requires: Node.js 22 or newer and a EuroMail API key
Adding it to an MCP client
The server runs over stdio through npx. Add it to your client's MCP
configuration with your API key in the environment.
Claude Code:
claude mcp add euromail --env EUROMAIL_API_KEY=em_live_your_key_here -- npx -y @euromail/mcp-server
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"euromail": {
"command": "npx",
"args": ["-y", "@euromail/mcp-server"],
"env": {
"EUROMAIL_API_KEY": "em_live_your_key_here"
}
}
}
}
The same command, args and env block works in Cursor and other
MCP-compatible clients. Restart the client and the EuroMail tools become
available to the assistant.
| Variable | Required | Default | Description |
|---|---|---|---|
EUROMAIL_API_KEY | Yes | Your API key, sent as a Bearer token | |
EUROMAIL_API_URL | No | https://api.euromail.dev | API base URL |
What the assistant can do
Each tool maps to one API operation covered elsewhere in this documentation.
| Area | Tools |
|---|---|
| Emails | send_email, send_batch_emails, get_email, list_emails, validate_email |
| Templates | create_template, list_templates, get_template, update_template, delete_template |
| Domains | add_domain, list_domains, get_domain, verify_domain, delete_domain |
| Webhooks | create_webhook, list_webhooks, get_webhook, update_webhook, delete_webhook |
| Suppressions | add_suppression, list_suppressions, remove_suppression |
| Account | get_account |
| Contact lists | create_contact_list, list_contact_lists, get_contact_list, update_contact_list, delete_contact_list, add_contacts, list_contacts, remove_contact |
| Analytics | get_analytics_overview, get_analytics_timeseries, get_analytics_domains, export_analytics_csv |
| Dead letters | list_dead_letters, retry_dead_letter, delete_dead_letter |
| Audit logs and billing | list_audit_logs, list_billing_plans, get_subscription |
| Inbound email | list_inbound_emails, get_inbound_email, delete_inbound_email, create_inbound_route, list_inbound_routes, get_inbound_route, update_inbound_route, delete_inbound_route |
| Agent mailboxes | create_mailbox, list_mailboxes, read_mailbox_messages, search_mailbox, list_mailbox_threads, reply_to_message |
Because the tools run on your API key, the assistant works within your account's plan and quota, and every send follows the same domain verification and suppression rules as any other request. If a call fails, the assistant gets the API's error message back and can react to it.
Discoverability endpoints
Agents that crawl the web instead of using MCP can find EuroMail too. These files describe the service in a form an assistant can read on its own:
| Endpoint | Purpose |
|---|---|
https://euromail.dev/llms.txt | Concise product overview (llmstxt.org) |
https://api.euromail.dev/llms-full.txt | Full API summary for LLMs |
https://api.euromail.dev/.well-known/ai-plugin.json | AI plugin manifest |
https://api.euromail.dev/.well-known/agent-card.json | Agent card |
Security notes
- Give each agent its own API key so you can revoke its access without affecting anything else. See API Keys.
- The key is a secret. Don't commit an MCP config that has the key written into it.
- If an agent also needs to receive mail, see Agent Mailboxes, which adds a lease/ack/nack inbox built for autonomous workers.