@jurislm/hetzner-plugin · Bun · stdio

Hetzner Plugin

Manage Hetzner Cloud and Storage Boxes from your MCP host over a local stdio connection.

264
Total tools
222
OpenAPI tools
42
Focused tools
2
APIs

Tools

222 OpenAPI-generated tools (190 Cloud + 32 Unified) and 42 focused tools across six groups.

⚠ marks destructive or hard-to-reverse operations; € marks operations that create or change billable resources.

Servers 7

Create, start, stop, reboot, and delete cloud servers.

hetzner_list_servers hetzner_get_server hetzner_create_server € hetzner_delete_server ⚠ hetzner_power_on_server hetzner_power_off_server ⚠ hetzner_reboot_server ⚠
SSH Keys 4

Manage SSH public keys for server authentication.

hetzner_list_ssh_keys hetzner_get_ssh_key hetzner_create_ssh_key hetzner_delete_ssh_key ⚠
Cloud Volumes 4

Attach or detach persistent block storage volumes.

hetzner_list_volumes hetzner_get_volume hetzner_attach_volume hetzner_detach_volume ⚠
Metrics & RAM 2

Read CPU, disk I/O, and network metrics. RAM usage is queried over SSH because the Metrics API does not expose memory.

hetzner_get_server_metrics hetzner_get_server_ram
Reference data 3

Browse available server types, OS images, and datacenter locations.

hetzner_list_server_types hetzner_list_images hetzner_list_locations
Storage Boxes 22

Manage Hetzner Storage Boxes, including subaccounts, snapshots, access settings, and automatic snapshot schedules.

hetzner_list_storage_boxes hetzner_get_storage_box hetzner_create_storage_box € hetzner_update_storage_box hetzner_delete_storage_box ⚠ hetzner_list_storage_box_subaccounts hetzner_create_storage_box_subaccount hetzner_update_storage_box_subaccount hetzner_delete_storage_box_subaccount ⚠ hetzner_list_storage_box_snapshots hetzner_create_storage_box_snapshot hetzner_delete_storage_box_snapshot ⚠ hetzner_list_storage_box_folders hetzner_change_storage_box_protection hetzner_change_storage_box_type ⚠ € hetzner_reset_storage_box_password ⚠ hetzner_update_storage_box_access_settings hetzner_enable_storage_box_snapshot_plan hetzner_disable_storage_box_snapshot_plan hetzner_get_storage_box_stats hetzner_assert_storage_box_space hetzner_rollback_storage_box_snapshot ⚠

Quick Setup

Install with Codex CLI by running the two commands above. For other MCP hosts, use the local stdio configuration below:

{
  "mcpServers": {
    "hetzner": {
      "type": "stdio",
      "command": "bun",
      "args": ["x", "@jurislm/hetzner-plugin@latest"],
      "env": {
        "HETZNER_API_TOKEN": "your-api-token"
      }
    }
  }
}
Requirements:
  • Requires Bun 1.1+ and a project-bound HETZNER_API_TOKEN; the same token is used for both the Cloud and Unified APIs.
  • For RAM queries over SSH, the server needs a reachable public IPv4 address and the free command. The host needs ssh and a key available through ssh-agent or ~/.ssh; fingerprint verification also requires ssh-keyscan and ssh-keygen.
  • Runs locally over stdio. No remote MCP endpoint or OAuth is provided.
  • Storage Box passwords are sent in plaintext over MCP. Protect MCP session logs and treat one-time credentials returned by actions as secrets.