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
| Name | Type | Description |
|---|---|---|
name required | string | Name of the Zone. All names with well-known public suffixes (e.g. .de, .com… |
mode required | primary | secondary | Mode of the Zone. For more information, see Zone Modes. |
ttl | integer | Default Time To Live (TTL) of the Zone. Must be in between 60s and… |
labels | object | User-defined labels (key/value pairs) for the Resource. For more information… |
primary_nameservers | array | Primary nameservers of the Zone. Only applicable for Zones in secondary mode.… |
rrsets | array | RRSets to be added to the Zone. Only applicable for Zones in primary mode.… |
zonefile | string | Zone 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:
{
"name": "hetzner_api__create_zone",
"arguments": {
"name": "…",
"mode": "…"
}
}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 create a zone tool with name set to ….