hetzner-mcp-server
MCP server for managing Hetzner Cloud infrastructure from Claude Code
Versions
1.0.0latestTools 14
hetzner_list_server_types List all available server types (instance sizes) with their specs and pricing. Returns information about available server configurations including: - Name (e.g., "cx22", "cpx11") - CPU cores and type - Memory (GB) - Disk size (GB) - Hourly and monthly pricing Use this to find the right server type when creating a new server.
hetzner_list_images List available OS images for creating servers. Returns system images (operating systems) like Ubuntu, Debian, CentOS, etc. Each image includes: - Name (e.g., "ubuntu-24.04") - OS flavor and version - Architecture (x86 or arm) Use this to find the right image when creating a new server.
hetzner_list_locations List available datacenter locations. Returns all Hetzner datacenter locations where you can create servers: - Location code (e.g., "fsn1", "nbg1", "hel1") - City and country - Network zone Use this to choose where to deploy your server.
hetzner_list_ssh_keys List all SSH keys in the project. Returns all SSH public keys that have been added to this project. SSH keys are used to authenticate when connecting to servers.
hetzner_get_ssh_key Get details of a specific SSH key by ID.
hetzner_create_ssh_key Add a new SSH public key to the project. The SSH key can then be used when creating servers to enable SSH access. Args: - name: A name for the SSH key (e.g., "my-laptop") - public_key: The SSH public key content (starts with "ssh-rsa", "ssh-ed25519", etc.) - labels: Optional key-value labels for organization
hetzner_delete_ssh_key Delete an SSH key from the project. This does NOT affect existing servers that were created with this key. They will continue to work with the key.
hetzner_list_servers List all servers in the project. Returns all servers with their: - Name and ID - Status (running, off, etc.) - IP addresses - Server type (CPU, RAM, disk) - Location - Image/OS
hetzner_get_server Get detailed information about a specific server.
hetzner_create_server Create a new server. Required parameters: - name: Server name (letters, digits, hyphens) - server_type: Instance size (e.g., "cx22", "cpx11"). Use hetzner_list_server_types to see options. - image: OS image (e.g., "ubuntu-24.04"). Use hetzner_list_images to see options. Optional parameters: - location: Datacenter (e.g., "fsn1", "nbg1"). Use hetzner_list_locations to see options. - ssh_keys: List of SSH key names or IDs for server access - labels: Key-value labels for organization Returns the new server details including IP address and root password (if no SSH keys specified).
hetzner_delete_server Delete a server permanently. ⚠️ This action is irreversible. All data on the server will be lost.
hetzner_power_on_server Power on a server that is currently off.
hetzner_power_off_server Power off a server (hard shutdown). This is like pulling the power cord. For a graceful shutdown, SSH into the server and run 'shutdown'.
hetzner_reboot_server Reboot a server (hard reset). This is like pressing the reset button. For a graceful reboot, SSH into the server and run 'reboot'.
Permissions 1
env_vars low