Home / Servers / Hetzner Cloud API / import_zone_zonefile
Import a Zone file
An MCP tool from the Hetzner Cloud API server, hosted on mcp.hjlabs.in.
Import a Zone file Imports a zone file, replacing all resource record sets (RRSets). The import will fail if existing RRSet are change protected. See Zone file import for more details. Only applicable for Zones in… [POST /zones/{id_or_name}/actions/import_zonefile]
Name on the gateway: hetzner_api__import_zone_zonefile · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id_or_name required | string | ID or Name of the Zone. |
zonefile required | string | Zone file to import. See Zone file import for more details. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "hetzner_api__import_zone_zonefile",
"arguments": {
"id_or_name": "…",
"zonefile": "…"
}
}Or connect the Hetzner Cloud API server directly, which lists 178 tools including this one:
claude mcp add --transport http hj-hetzner-api https://mcp.hjlabs.in/mcp/hetzner-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the import a zone file tool with id_or_name set to ….