Skip to content

Releases

v0.4.1: README refresh

Choose a tag to compare

@Xodus-CO Xodus-CO released this 13 Nov 04:17
8d1562f

This release only updates the README. There are no code changes, and tools and behaviour are the same as 0.4.0.

README

  • The intro now lists everything the server covers (DNS, Storage Boxes, certificates, snapshots) and gives the tool count (162).
  • Token guidance:
    • A token gives access to the whole project, so use a Read token if the agent only needs to look things up.
    • The server runs locally.
    • Your token is only sent to api.hetzner.cloud (Cloud and DNS) and api.hetzner.com (Storage Boxes).
  • The config example uses npx -y hcloud-mcp@latest.
  • New Tool annotations section: how many tools are read-only (46), destructive (57) and idempotent (92), with examples.
  • API compatibility now describes how things work today instead of what changed in 0.2.0, and shows the error format.
  • New Changelog section: 0.2.0 to 0.4.1.
  • New examples: a load balancer on a fixed Primary IP, a snapshot before a rebuild, and a Storage Box subaccount.

Internal

  • package-lock.json's own version field had been left at 0.3.1. It is now in sync.

Full changes: #30, #31

v0.4.0: SDK-free, tool safety annotations, LB with existing Primary IPs

Choose a tag to compare

@Xodus-CO Xodus-CO released this 11 Nov 18:48
9ef5836

Highlights

  • No more hetzner-sdk-ts (#8). All 162 tools call the Hetzner API through one small in-repo client. That gives one code path and one error format (code (status): message), with no stale SDK types and a smaller install.

  • Every tool is now flagged for safety (#8). Each tool declares MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint). Clients that support annotations can auto-approve read-only tools and ask before destructive ones.

    Class Count
    Read-only 46
    Destructive 57
    Other mutations 59
  • Load balancers with existing Primary IPs (#3). create_load_balancer now accepts public_net (existing Primary IPs), network, public_interface, services and targets, so you can build a full LB with a stable address in one call.

Compatibility

  • Tool names, descriptions and input schemas are unchanged. Only annotations were added.
  • Small changes to error text:
    • errors with no details no longer end in {};
    • API errors without a code read http_error (status): …;
    • HTML proxy error pages now raise a clean API error instead of a JSON parse error.

Verified

  • Every live suite passed, run one after another against the real API: test:live (18 steps), :dns (17), :images (18), :ops (13), :actions (19), :certs (7), :storage (22).
  • CI on GitHub runs the build and the offline smoke test, which also enforces the annotation rules.

Full changes: #27, #28

v0.3.1: volume assignee migration, CI

Choose a tag to compare

@Xodus-CO Xodus-CO released this 11 Nov 17:51
1e282dc

Fixes

  • Volume assignee migration (#2). create_volume and attach_volume now send assignee: {type: "server", id} instead of the deprecated server field, which Hetzner removes on 2027-10-27. Tool inputs are unchanged: you still pass a server ID. Read assignee in volume responses.
  • create_volume checks its inputs: you must give exactly one of location or server, and automount only works with server.

Added

  • GitHub Actions CI on PRs and on main. It installs dependencies, builds, runs an offline smoke test, and checks the package contents. No secrets, no Hetzner API calls.
  • npm run test:smoke checks that:
    • the server starts and the version matches;
    • instructions are present;
    • tool names have no duplicates, and every tool has a description;
    • HCLOUD_TOOLSETS wiring works.

Internal

  • package-lock.json was missing cross-env, so npm ci failed. CI's first run caught it.

Verified live: test:live passes 16/16 steps, including the assignee read-back after attaching and after creating a volume on a server.

Full changes: #26

v0.3.0: DNS, Storage Boxes, certificates, snapshots, rescue, metrics and more (162 tools)

Choose a tag to compare

@Xodus-CO Xodus-CO released this 11 Nov 16:55
71994ea

hcloud-mcp now covers most of the Hetzner Cloud API, plus Storage Boxes: 162 tools, up from 75. Every area was tested live against the real API.

New

Area Highlights
DNS (#14) 21 tools: zones (primary/secondary), zone file import/export, RRSets with add/remove/set/comment, TTL, protection
Storage Boxes (#9) 30 tools: boxes, types, folders, subaccounts, snapshots, snapshot plans, rollback, access settings. Uses api.hetzner.com with the same token
Certificates (#15) Uploaded and managed Let's Encrypt certificates. Managed ones need a delegated Hetzner DNS zone
Snapshots & backups (#16) create_snapshot, list_snapshots, image update/delete, enable/disable backups
Protection (#18) One change_protection tool for servers, volumes, IPs, LBs, networks and images
Rescue & console (#17) enable_rescue/disable_rescue, reset_root_password, request_console
Metrics (#19) Server and LB metrics with a min/avg/max summary and a last_minutes shortcut
More actions (#20, #22) Reverse DNS (change_dns_ptr), rebuild_server, list_network_members, placement group membership, alias IPs, LB network/type/algorithm/public interface/idle timeout, network routes and IP range, list_isos

Improvements

  • HCLOUD_TOOLSETS: load only the tool groups you need (core, dns, images, ops, certificates, storage_boxes), for MCP clients with tool-count limits. Everything loads by default.
  • Better error messages: errors now show Hetzner's error codes, e.g. resource_limit_exceeded (403): … or protected (423): …, instead of "Forbidden" or "Generic Error".
  • More agent guidance: the server instructions and the hetzner-cloud skill now cover:
    • snapshot-before-risky-change workflows
    • rescue recovery
    • handling secrets
    • managed certificates via DNS
    • Storage Box passwords
    • API quirks found in testing: labels and alias IPs are replaced wholesale, server delete/rebuild protection must match, CPU metrics are per vCPU
  • Cleaner package: a files allowlist keeps it to 16 files, with no test scripts or local leftovers.

Upgrade notes

  • No breaking changes from 0.2.x.
  • If your MCP client limits the number of tools, set HCLOUD_TOOLSETS.
  • Refresh the skill: cp -r "$(npm root -g)/hcloud-mcp/skills/hetzner-cloud" ~/.claude/skills/

Verified

Nine test suites run against the live API:

  • test:api, test:mcp
  • test:live (16 steps), :dns (17), :images (18), :ops (13), :actions (19), :certs (7), :storage (22)

That's 112 live steps in total. Every suite cleans up only the resources its own run labeled.

Not yet supported

Hetzner Robot / dedicated servers (#21) · volume assignee migration (#2, deadline Oct 2027) · LB with existing Primary IPs (#3) · replacing the stale SDK / registerTool migration (#8).

Full changes: #14, #22, #23, #24

v0.2.0 — Hetzner API updates (Nov 2026), server instructions, agent skill

Choose a tag to compare

@Xodus-CO Xodus-CO released this 11 Nov 15:39
817b268

Brings hcloud-mcp up to date with Hetzner Cloud API changes from Feb–Nov 2026 (changelog), and adds guidance for the agents that use it.

⚠️ Breaking changes

  • list_datacenters removed. Hetzner's endpoint returns 410 Gone since 2026-10-01. Use list_locations instead.
  • create_server: the datacenter param is removed because the API dropped it on 2026-07-01. Use location, e.g. fsn1, nbg1, hel1, ash, hil, sin.
  • create_primary_ip: datacenter is replaced by location.
  • add_network_subnet: the deprecated server subnet type is gone. Use cloud.
  • list_actions: id is now required, because Hetzner no longer lists every action in a project. Use get_action to check on a pending operation.

Fixes

  • All list_* tools now return every item. They used to stop at the first 25.
  • delete_load_balancer now returns the delete Action, so you can track when the deletion finishes.
  • create_ssh_key trims whitespace from the public key, which the API now rejects.
  • Tool descriptions now say:
    • unassign Floating and Primary IPs before deleting them;
    • firewall CIDRs can't have host bits set;
    • check the deprecation fields on images and on server and load balancer types.

New

  • Server instructions: sent to MCP clients when they connect. They cover using locations instead of datacenters, waiting for Actions to finish, deleting things in the right order, and confirming before destructive steps.
  • hetzner-cloud agent skill (skills/hetzner-cloud/SKILL.md, also included in the npm package):
    cp -r "$(npm root -g)/hcloud-mcp/skills/hetzner-cloud" ~/.claude/skills/
  • npm run test:live: runs a full create→teardown cycle against the real API. It costs a few cents. Each run labels its resources with a unique ID and cleans them up automatically.

Verified

Tested live against the Hetzner API. All read-only tools pass. The live test passes all 11 steps:

  • network and subnet, firewall, and a server created by location
  • Primary IP swap, including the must_be_unassigned error when deleting an assigned IP
  • volume, Floating IP, and load balancer delete returning its Action
  • teardown, with nothing left behind

Not yet supported

DNS zones (#1), volume assignee (#2), LB Primary IPs (#3), network members (#4), rebuild with user_data (#5), LB idle timeout (#6), reverse DNS (#7), SDK replacement (#8), Storage Boxes (#9).

Full changes: #10