MCP Server Studio
Manage DNS zones and records (zonefiles, RRSets, TTL, protection) via the Hetzner Cloud API
Registry name: io.github.ni-c/hetzner-dns-mcp
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>"
}
}
}
}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]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>"
}
}
}
}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>"
}
}
}
}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>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
HETZNER_API_TOKEN | Yes | Hetzner Cloud API token (project-scoped, Cloud Console -> Security -> API tokens) |
HETZNER_READ_ONLY | No | Set to true to register only the read-only tools (default: false) |
HETZNER_ALLOW_TOOLS | No | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
HETZNER_DENY_TOOLS | No | Comma-separated tool names or list_* prefixes to remove from whatever HETZNER_ALLOW_TOOLS left |
HETZNER_API_BASE_URL | No | Override the Hetzner Cloud API base URL (default: https://api.hetzner.cloud/v1) |
HETZNER_API_TOKEN | Yes | Hetzner Cloud API token (project-scoped, Cloud Console -> Security -> API tokens) |
HETZNER_READ_ONLY | No | Set to true to register only the read-only tools (default: false) |
HETZNER_ALLOW_TOOLS | No | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
HETZNER_DENY_TOOLS | No | Comma-separated tool names or list_* prefixes to remove from whatever HETZNER_ALLOW_TOOLS left |
HETZNER_API_BASE_URL | No | Override the Hetzner Cloud API base URL (default: https://api.hetzner.cloud/v1) |