Skip to main content

HydraDNS

io.github.hydradns/hydra-mcp

v0.1.0Updated Sep 21, 2026stdio · Docker

Manage a self-hosted DNS firewall: block domains, create policies, read query logs and metrics.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add hydra-mcp -e HYDRA_API_URL=http://host.docker.internal:8080 -e 'HYDRA_TOKEN=<your-hydra-token>' -e MCP_ROLE=admin -- docker run -i --rm -e HYDRA_API_URL -e HYDRA_TOKEN -e MCP_ROLE ghcr.io/hydradns/hydra-cli:0.1.0

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

4 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • HYDRA_TOKEN
    Env var· required· 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.
  • HYDRA_API_URL
    Env var· required
    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.internal:host-gateway, or use --network host with http://localhost:8080 instead. Full instructions: docs/mcp.md in the repo, 'Running it -> As the container image'.Default: http://host.docker.internal:8080
  • MCP_ROLE
    Env var· optional
    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.Default: admin
  • mcp
    Argument· optional
    No description.

Listed in the official MCP Registry since Sep 21, 2026. Mirrored daily; last checked Nov 26, 2026.