Skip to content
MCP server

Hetzner DNS

Manage DNS zones and records (zonefiles, RRSets, TTL, protection) via the Hetzner Cloud…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.6.0
Listing updated
5 days ago

About Hetzner DNS

Hetzner DNS is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Manage DNS zones and records (zonefiles, RRSets, TTL, protection) via the Hetzner Cloud API

Install

Run in a terminal

claude mcp add hetzner-dns-mcp --env HETZNER_API_TOKEN='<HETZNER_API_TOKEN>' -- npx -y hetzner-dns-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "hetzner-dns-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hetzner-dns-mcp"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "hetzner-dns-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hetzner-dns-mcp"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "hetzner-dns-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hetzner-dns-mcp"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "hetzner-dns-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hetzner-dns-mcp"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "hetzner-dns-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hetzner-dns-mcp"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • HETZNER_API_TOKENHetzner Cloud API token (project-scoped, Cloud Console -> Security -> API tokens)Required
  • HETZNER_READ_ONLYSet to true to register only the read-only tools (default: false)
  • HETZNER_ALLOW_TOOLSComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
  • HETZNER_DENY_TOOLSComma-separated tool names or list_* prefixes to remove from whatever HETZNER_ALLOW_TOOLS left
  • HETZNER_API_BASE_URLOverride the Hetzner Cloud API base URL (default: https://api.hetzner.cloud/v1)
  • HETZNER_API_TOKENHetzner Cloud API token (project-scoped, Cloud Console -> Security -> API tokens)Required
  • HETZNER_READ_ONLYSet to true to register only the read-only tools (default: false)
  • HETZNER_ALLOW_TOOLSComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
  • HETZNER_DENY_TOOLSComma-separated tool names or list_* prefixes to remove from whatever HETZNER_ALLOW_TOOLS left
  • HETZNER_API_BASE_URLOverride the Hetzner Cloud API base URL (default: https://api.hetzner.cloud/v1)

Pricing

Open source

Prices change. Check hetzner-dns-mcp.ni-c.de before you buy.

Hetzner DNS FAQ

Is Hetzner DNS free?

Yes. Hetzner DNS is open source, so you can use and self-host it for free.

How do I add Hetzner DNS to Claude Code?

Run this command in your terminal: claude mcp add hetzner-dns-mcp --env HETZNER_API_TOKEN='<HETZNER_API_TOKEN>' -- npx -y hetzner-dns-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers