MCP Server Studio

Hetzner DNS MCP server

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

Registry name: io.github.ni-c/hetzner-dns-mcp

Publisher
ni-c
Runs
Runs locally
Package
npm, Docker
Version
0.6.0
Category
Developer tools
Updated
2026-09-07

Source code on GitHub

Set up Hetzner DNS (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "hetzner-dns-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>",
        "HETZNER_READ_ONLY": "<HETZNER_READ_ONLY>",
        "HETZNER_ALLOW_TOOLS": "<HETZNER_ALLOW_TOOLS>",
        "HETZNER_DENY_TOOLS": "<HETZNER_DENY_TOOLS>",
        "HETZNER_API_BASE_URL": "<HETZNER_API_BASE_URL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add hetzner-dns-mcp -e HETZNER_API_TOKEN='<HETZNER_API_TOKEN>' -e HETZNER_READ_ONLY='<HETZNER_READ_ONLY>' -e HETZNER_ALLOW_TOOLS='<HETZNER_ALLOW_TOOLS>' -e HETZNER_DENY_TOOLS='<HETZNER_DENY_TOOLS>' -e HETZNER_API_BASE_URL='<HETZNER_API_BASE_URL>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "hetzner-dns-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>",
        "HETZNER_READ_ONLY": "<HETZNER_READ_ONLY>",
        "HETZNER_ALLOW_TOOLS": "<HETZNER_ALLOW_TOOLS>",
        "HETZNER_DENY_TOOLS": "<HETZNER_DENY_TOOLS>",
        "HETZNER_API_BASE_URL": "<HETZNER_API_BASE_URL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "hetzner-dns-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>",
        "HETZNER_READ_ONLY": "<HETZNER_READ_ONLY>",
        "HETZNER_ALLOW_TOOLS": "<HETZNER_ALLOW_TOOLS>",
        "HETZNER_DENY_TOOLS": "<HETZNER_DENY_TOOLS>",
        "HETZNER_API_BASE_URL": "<HETZNER_API_BASE_URL>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "hetzner-dns-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "HETZNER_API_TOKEN": "<HETZNER_API_TOKEN>",
        "HETZNER_READ_ONLY": "<HETZNER_READ_ONLY>",
        "HETZNER_ALLOW_TOOLS": "<HETZNER_ALLOW_TOOLS>",
        "HETZNER_DENY_TOOLS": "<HETZNER_DENY_TOOLS>",
        "HETZNER_API_BASE_URL": "<HETZNER_API_BASE_URL>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
HETZNER_API_TOKENYesHetzner Cloud API token (project-scoped, Cloud Console -> Security -> API tokens)
HETZNER_READ_ONLYNoSet to true to register only the read-only tools (default: false)
HETZNER_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
HETZNER_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever HETZNER_ALLOW_TOOLS left
HETZNER_API_BASE_URLNoOverride the Hetzner Cloud API base URL (default: https://api.hetzner.cloud/v1)
HETZNER_API_TOKENYesHetzner Cloud API token (project-scoped, Cloud Console -> Security -> API tokens)
HETZNER_READ_ONLYNoSet to true to register only the read-only tools (default: false)
HETZNER_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
HETZNER_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever HETZNER_ALLOW_TOOLS left
HETZNER_API_BASE_URLNoOverride the Hetzner Cloud API base URL (default: https://api.hetzner.cloud/v1)

More developer tools MCP servers