Skip to content
Grok

HydraDNS for Grok

io.github.hydradns/hydra-mcp

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

client:Grok transport:stdio runtime:oci

Install HydraDNS in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

HydraDNS in other clients