SuperAPIAI Directory

hetzner-dns-mcp

github.com · AI developer platforms

Manage Hetzner DNS zones and records via the Hetzner Cloud API: RRSet CRUD, zonefile import/export, TTL and protection changes, and nameservers.

Open website Alternatives
PricingOpen sourceGitHub 开源项目 · 0 Stars
PlatformsLinux

Sources: GitHub

About this tool

Purpose: hetzner-dns-mcp is a Model Context Protocol (MCP) server that manages DNS zones and record sets (RRSets) through the Hetzner Cloud API (api.hetzner.cloud), for use by MCP clients such as Claude Code, Claude Desktop, and Codex. Note: the legacy dns.hetzner.com API was shut down in May 2026 and is not supported by this server.

Main capabilities: list, create, update, and delete zones and RRSets; import and export BIND zone files; modify TTL and protection settings; track Hetzner's queued asynchronous zone operations. It provides 22 tools in total, and HETZNER_ALLOW_TOOLS=essential can be used to load only a curated set of 8 tools (list_zones, get_zone, list_rrsets, get_rrset, create_rrset, set_records, delete_rrset, export_zonefile).

Usage: a token must be created in the Hetzner Cloud Console under the project → Security → API tokens, and configured via the HETZNER_API_TOKEN environment variable; without a token the server can still start and list tools, but calls will fail and prompt for configuration. HETZNER_ALLOW_TOOLS / HETZNER_DENY_TOOLS can be used to filter tools by name (a trailing * matches a whole family), and HETZNER_READ_ONLY=true registers only 7 read-only tools. It supports being added to claude_desktop_config.json or ~/.codex/config.toml, and a multi-architecture GHCR image (amd64/arm64) is also provided; it communicates over stdio, and clients must use docker run -i. Clients that cannot start local processes can connect via mcp-hub using Streamable HTTP.

Security and limitations: upstream data (record values, comments, zone files) is all marked as untrusted data, fields suspected of being secrets are redacted, overly long values are truncated, and HTML error pages are discarded. Deleting zones, replacingirreversible operations such as record sets trigger a confirmation dialog via MCP elicitation; when the client does not support it, a one-time token is returned instead, and the call must be made a second time with the same parameters. Tokens and the base URL are removed from the process environment after being read. Zone identifiers and RRSet names undergo strict character validation, requests do not follow redirects, and the timeout is 30 seconds. TSIG keys enter the conversation context and should be treated as confidential. This dialog is a guardrail, not a security boundary, and these tools should not be approved automatically. Full documentation is at hetzner-dns-mcp.ni-c.de.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools