eurodns-mcp
A Model Context Protocol server for the EuroDNS User API — domains, DNS zones, contacts, subscriptions, SSL, invoices and orders.
Documentation
eurodns-mcp
Manage your domains, DNS zones and subscriptions by asking for it.
A Model Context Protocol server for the EuroDNS User API — domains, DNS zones, contacts, subscriptions, SSL, invoices and orders.
This is an independent open-source project. It is not affiliated with, endorsed by, or supported by EuroDNS. "EuroDNS" is used only to identify the API this server talks to.
Written by a professional engineer with AI assistance. Every line was reviewed before it was committed, and the responsibility for what it does is human.
What you get
- Full API coverage — 79 tools generated from the OpenAPI document, grouped into 16 areas.
- Three DNS workflow tools that make record edits safe, because saving a zone replaces it.
- Guardrails so a deployment can refuse operations that spend money or destroy things.
- Four prompts for the workflows worth naming, and a resource that says what this deployment allows — including why a tool you expected is not in the list.
- Two transports —
stdiofor a local client, streamable HTTP for a shared deployment. - Both protocol eras on one endpoint — speaks the 2026-07-28 revision natively and still serves 2025-era clients, which is most of them today.
- OAuth 2.1 or a shared token on HTTP, with an audit line per call.
- Queryable history — ask the server what has been done, and by whom.
- 1Password Connect as an optional source for any secret it reads.
How it works
flowchart TD
client(["MCP client"])
client -->|stdio| registry
client -->|streamable HTTP| origin
subgraph http ["HTTP transport only"]
origin["Origin check"] --> bearer["Bearer token<br/>OAuth 2.1 or shared secret"]
bearer --> scopes["Scope gate"]
end
scopes --> registry["Tool registry"]
registry --> guard{"Guardrails<br/>read-only, billing, destructive"}
guard -->|refused| deny["Error naming the setting to change"]
guard -->|allowed| api[("EuroDNS User API")]
op[("1Password Connect")] -.->|"op:// refs, at startup"| creds["Credentials"]
creds -.-> api
registry -.-> log[("Audit log")]
guard -.-> log
log -.->|eurodns_audit_query| client
Two things are worth reading off that diagram. Authorisation has two independent gates — what the deployment permits at all, then what the caller's scopes permit within it. And the audit log is fed by every path, including refusals, because the upstream API authenticates every caller with one shared key and cannot attribute anything itself.
Requirements
- Node.js 22 or newer. Node 20 reached end of life on 30 April 2026 and receives no security patches; the container image runs Node 24, the active LTS.
- EuroDNS API credentials: an Application ID and an API key, created in the EuroDNS dashboard under API access.
- The public IP of the machine running this server must be allowlisted in the same
dashboard. A
403from the API is almost always a missing allowlist entry, not bad credentials.
Quick start
For a client that spawns the server itself, such as Claude Desktop:
{
"mcpServers": {
"eurodns": {
"command": "npx",
"args": ["-y", "@jigsawfr/eurodns-mcp"],
"env": {
"EURODNS_APP_ID": "your-application-id",
"EURODNS_API_KEY": "your-api-key"
}
}
}
}
To try it in a terminal first:
npx -y @jigsawfr/eurodns-mcp
The package ships two commands: eurodns-mcp for stdio, which is the one above, and
eurodns-mcp-http for the HTTP transport — reachable as
npx -p @jigsawfr/eurodns-mcp eurodns-mcp-http.
For a shared deployment over HTTP, use the container instead — see Deployment.
Try not to put the API key in the client config file: Secrets shows two ways around it.
What you can ask it
| Ask | Tool it reaches for |
|---|---|
| "What DNS records does example.com have?" | eurodns_dns_get_zone |
"Add a TXT record _acme-challenge on example.com" | eurodns_dns_upsert_record |
| "What would change if I pointed www at 203.0.113.10?" | eurodns_dns_diff_zone |
| "Is example.lu available?" | eurodns_domain_check_availability |
| "Which of my domains have DNSSEC enabled?" | eurodns_domain_search |
| "When does this SSL certificate expire?" | eurodns_ssl_list_subscriptions |
| "What is my prepaid balance?" | eurodns_account_get_prepaid_balance |
| "What did I change last week?" | eurodns_audit_query |
| "What was refused, and why?" | eurodns_audit_query |
Documentation
| Page | What it covers |
|---|---|
| Tools | All 82 tools, the prompts and the deployment resource |
| Guardrails | Risk classes, what a deployment can forbid, confirmation before a call |
| Configuration | Every environment variable, with its default |
| HTTP transport | Serving several clients, static tokens, OAuth 2.1 and scopes |
| Secrets | Keeping the API key out of a client config, and 1Password Connect |
| Audit log | What is recorded, the hash chain, asking the server what happened |
| Entra ID | Step-by-step OAuth with Microsoft Entra ID, and its pitfalls |
| Deploying | Containers, Fly.io, Render, Railway, and shipping the log to a SIEM |
| Protocol | Which MCP revisions are spoken, and how both are served at one endpoint |
| Development | Building, testing, the generated tool surface, and how releases work |
Deployment
cp .env.example .env # credentials, plus a token: openssl rand -hex 32
docker compose up -d
curl localhost:3000/healthz
Published images live at ghcr.io/jigsawfr/eurodns-mcp, built for linux/amd64 and
linux/arm64 with a build provenance attestation.
Two things decide where this runs, and neither is the usual latency-or-price argument:
- The EuroDNS API filters by source IP, so the host has to give you a stable — ideally dedicated — egress address. An IP shared with other tenants keeps the mechanism and loses the protection.
- The history query tool reads a file, so the host needs a persistent disk. That rules out platforms with an ephemeral filesystem.
On both counts Fly.io comes out ahead, at a couple of dollars a month for a dedicated IPv4
against roughly $100 elsewhere. deploy/ has the per-platform detail,
ready-made fly.toml and render.yaml, and the comparison in full.
One setting catches everyone once: inside a container the server listens on 0.0.0.0, and
it refuses to start on a non-loopback address without authentication. Set
EURODNS_MCP_AUTH to token or oauth.
Which of those two
The choice is not about how secure you want to be — both are — but about whether callers need separate identities, and it has a cost you should see coming.
token is one shared secret in a header. It works in a minute, needs nothing but the
server, and is the right answer for a deployment one person uses. What you give up is
attribution: the audit log records a label, so it can tell you a destructive call happened but
not who made it.
oauth gives each person their own credential, lets the five scopes decide who may do
what, and puts a real identity in the audit log. The scopes decide what a caller may do; your
identity provider decides who gets a token at all, and most default to everyone in the
directory — so that setting is part of the configuration, not an afterthought. Its entry price is a hostname on a domain
your identity provider will accept — with Microsoft Entra ID that means a domain verified in
your tenant, because the server's public URL has to double as the Application ID URI. A
platform hostname like *.fly.dev cannot be verified, so the domain is not optional there.
Entra ID works the whole thing through, including the errors it produces
when the three names involved fall out of step, and how to go one step further and give each
person a different set of scopes rather than the same one.
Starting on token and moving to oauth later costs nothing but a restart: no data
migration, no change to how tools behave.
Contributing
CONTRIBUTING.md has the workflow, and docs/development.md the commands. Pull request titles are checked against Conventional Commits, because that is what the changelog is generated from.
License
MIT.
"EuroDNS" is a trademark of EuroDNS S.A. and is not covered by that licence.