Hetzner DNS MCP server
Manage DNS zones and records (zonefiles, RRSets, TTL, protection) via the Hetzner Cloud API
0 stars60 downloads/wk
Reviews
Write oneNobody has reviewed Hetzner DNS yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Hetzner DNS tools (22, 7 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
add_recordsAdd records to an RRSet. Existing records are kept. Creates the RRSet if it does not exist yet — so denying create_rrset does not remove the ability to create one.
change_primary_nameserversReplace the primary nameservers of a secondary zone (the servers Hetzner transfers the zone from). The ENTIRE zone content will be taken from the new primaries on the next transfer. Only applicable to zones in secondary mode. The first call returns a short-lived confirmation token bound to exactly this nameserver list.
change_rrset_protectionEnable or disable the change protection of an RRSet. Enabling is immediate; DISABLING removes the last safeguard against delete_rrset and set_records and therefore needs a confirm_token.
change_rrset_ttlChange the Time To Live (TTL) of an RRSet. Pass null to fall back to the zone's default TTL.
change_zone_protectionEnable or disable the delete protection of a DNS zone. Enabling is immediate; DISABLING removes the last safeguard against delete_zone and therefore needs a confirm_token, exactly like a deletion.
change_zone_ttlChange the default Time To Live (TTL) of a DNS zone. Applies to RRSets without an explicit TTL.
create_rrsetwrite actionCreate a new RRSet (DNS record set) in a zone, e.g. an A record for "www". Fails if an RRSet with the same name and type already exists — use set_records or add_records in that case.
create_zonewrite actionCreate a new DNS zone. Use mode "primary" for zones managed at Hetzner, or "secondary" with primary_nameservers to transfer the zone from external primaries. A primary zone can optionally be initialized from a zone file. Creating a zone with primary_nameservers or a zonefile asks a person first — those two carry the whole content of the zone, exactly like change_primary_nameservers and import_zone
delete_rrsetwrite actionPermanently delete an RRSet (DNS record set) with all its records. This is irreversible. The first call returns a short-lived confirmation token; ask the user, then call again with confirm_token.
delete_zonewrite actionPermanently delete a DNS zone including all its records. This is irreversible. The first call returns a short-lived confirmation token; ask the user, then call again with confirm_token.
export_zonefileExport the full contents of a DNS zone as a zone file (BIND format).
get_rrsetGet a single RRSet (DNS record set) of a zone by name and type.
get_zoneGet the full details of a single DNS zone.
get_zone_actionGet a single zone action by ID to check its status and result.
import_zonefileImport a zone file (BIND format) into an existing primary zone. This REPLACES the current records of the zone. The first call returns a short-lived confirmation token bound to exactly this zone file; ask the user, then call again with confirm_token. Consider export_zonefile first as a backup.
list_rrsetsList the RRSets (DNS record sets) of a zone, including their records, TTLs and protection status.
list_zone_actionsList actions (asynchronous operations like zone file imports) of all zones, or of a single zone if one is given.
list_zonesList the DNS zones of the Hetzner Cloud project, including status, mode, default TTL, assigned nameservers and record counts.
remove_recordswrite actionRemove specific records (matched by value) from an RRSet. Removing the last record deletes the RRSet — so denying delete_rrset does not remove the ability to delete one. The first call returns a short-lived confirmation token bound to exactly this record list.
set_recordsReplace ALL records of an RRSet with the given records. Existing records not listed are removed. Use add_records to append instead. The first call returns a short-lived confirmation token bound to exactly this record list.
update_rrsetwrite actionUpdate the labels of an RRSet. The given set replaces all existing labels. (Records and TTL are changed via set_records/add_records/remove_records and change_rrset_ttl.)
update_zonewrite actionUpdate the labels of a DNS zone. The given set replaces all existing labels. (Other zone properties are changed via the dedicated change_zone_* tools.)
Public scan report
scanner v0.1.9 · 2026-09-20 · same rubric, same numbers if you re-run it
- Code scan31 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 4 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install directly
Runs npx -y hetzner-dns-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add hetzner-dns-mcp -- npx -y hetzner-dns-mcp
Hetzner DNS: common questions
- Is Hetzner DNS MCP server safe?
- Mostly: it is graded B (83/100). Read the Hetzner DNS safety report
- How do I install Hetzner DNS?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Hetzner DNS need an API key?
- Yes. The registry entry asks for
HETZNER_API_TOKEN. - Is Hetzner DNS maintained?
- The last commit was 4 days ago (2026-09-16). The latest release is v0.6.0.