Home / Servers / Hetzner Cloud API / create_zone

Create a Zone

An MCP tool from the Hetzner Cloud API server, hosted on mcp.hjlabs.in.

Create a Zone Creates a Zone. A default SOA and three NS resource records with the assigned Hetzner nameservers are created automatically. [POST /zones]

Name on the gateway: hetzner_api__create_zone · may change things.

Parameters

NameTypeDescription
name requiredstringName of the Zone. All names with well-known public suffixes (e.g. .de, .com…
mode requiredprimary | secondaryMode of the Zone. For more information, see Zone Modes.
ttlintegerDefault Time To Live (TTL) of the Zone. Must be in between 60s and…
labelsobjectUser-defined labels (key/value pairs) for the Resource. For more information…
primary_nameserversarrayPrimary nameservers of the Zone. Only applicable for Zones in secondary mode.…
rrsetsarrayRRSets to be added to the Zone. Only applicable for Zones in primary mode.…
zonefilestringZone file to import. Only applicable for Zones in primary mode. Ignored for…

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:

call_tool arguments
{
  "name": "hetzner_api__create_zone",
  "arguments": {
    "name": "…",
    "mode": "…"
  }
}

Or connect the Hetzner Cloud API server directly, which lists 178 tools including this one:

Run in your terminal
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 create a zone tool with name set to ….

More from Hetzner Cloud API