Manage a self-hosted DNS firewall: block domains, create policies, read query logs and metrics.
Connect Runs on your machine
claude mcp add hydra-mcp -e HYDRA_API_URL=<HYDRA_API_URL> -e HYDRA_TOKEN=<HYDRA_TOKEN> -e MCP_ROLE=<MCP_ROLE> -- docker run -i --rm ghcr.io/hydradns/hydra-cli:0.1.0
{
"mcpServers": {
"hydra-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hydradns/hydra-cli:0.1.0"
],
"env": {
"HYDRA_API_URL": "<HYDRA_API_URL>",
"HYDRA_TOKEN": "<HYDRA_TOKEN>",
"MCP_ROLE": "<MCP_ROLE>"
}
}
}
}
{
"mcpServers": {
"hydra-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hydradns/hydra-cli:0.1.0"
],
"env": {
"HYDRA_API_URL": "<HYDRA_API_URL>",
"HYDRA_TOKEN": "<HYDRA_TOKEN>",
"MCP_ROLE": "<MCP_ROLE>"
}
}
}
}
{
"servers": {
"hydra-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hydradns/hydra-cli:0.1.0"
],
"env": {
"HYDRA_API_URL": "<HYDRA_API_URL>",
"HYDRA_TOKEN": "<HYDRA_TOKEN>",
"MCP_ROLE": "<MCP_ROLE>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
HYDRA_API_URLRequired | Base URL of the HydraDNS controlplane API. Inside a container, 'localhost' means the container itself, not the host running the controlplane. On Docker Desktop (Mac/Windows) the default below resolves automatically. On plain Docker Engine (Linux) either run the container with --add-host=host.docker… |
HYDRA_TOKENRequired, secret | Bearer token for the HydraDNS API, obtained via `hydra login` or the setup wizard. Grants whatever access the token's account has; MCP_ROLE narrows what the MCP tool layer will call, not what the token itself can do against the API directly. |
MCP_ROLEOptional | Permission scope for this MCP session: admin (default, every tool), operator (every mutating tool except toggle_engine), or reporter (read-only tools only). Any unrecognized value safe-defaults to reporter. |
Details
| Package | ghcr.io/hydradns/hydra-cli:0.1.0 (OCI, stdio) |
| First published | 21 Sep 2026 |
| Last updated | 21 Sep 2026 |
| Registry name | io.github.hydradns/hydra-mcp |
More cloud and devops servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
