Hetzner Cloud MCP Server — 123 tools
The Hetzner Cloud DADL turns Hetzner Cloud's API into an MCP server that Claude, GPT or any MCP-compatible agent can consume directly. One YAML file declares all 123 tools — server, load, floating, primary, volume, firewall, and more — and ToolMesh serves them at runtime. No Python boilerplate, no per-endpoint code, no separate MCP server process.
Below: the endpoint coverage matrix, a two-block ToolMesh setup, the full tool reference grouped by Hetzner Cloud feature area, required credential scopes.
Source: Hetzner Cloud API
Which Hetzner Cloud endpoints are covered?
61% (122 of ~200 endpoints)
Focus: servers, server actions, server metrics, volumes, networks, firewalls, load balancers, load balancer metrics, floating IPs, primary IPs, images, SSH keys, placement groups, certificates, datacenters, locations, server types, ISOs, pricing
Missing: storage boxes (separate API at api.hetzner.com), DNS zones/rrsets (separate API), S3 credential management
How do you configure the Hetzner Cloud DADL?
- Log in to Hetzner Cloud Console at https://console.hetzner.cloud
- Select or create a project
- Navigate to Security -> API Tokens
- Click 'Generate API Token'
- Enter a description and select Read or Read & Write permissions
- Copy the token immediately -- it is shown only once
Environment variable: CREDENTIAL_HETZNER_CLOUD_TOKEN
API tokens are scoped to a single project. To manage multiple projects, create one token per project. Tokens have either Read or Read & Write permission -- there are no per-resource scopes.
How do you install the Hetzner Cloud MCP server with ToolMesh?
Add to your backends.yaml:
- name: hetzner-cloud
transport: rest
dadl: /app/dadl/hetzner-cloud.dadl
Set the credential:
CREDENTIAL_HETZNER_CLOUD_TOKEN=your-token-hereWhat 123 tools does the Hetzner Cloud DADL expose?
GETlist_serversList all servers. Supports label_selector, name, sort, and status filtering.GETget_serverGet details of a specific serverPOSTcreate_serverCreate a new server. Returns server object and root_password (if no SSH keys). Action is async -- poll the returned action.PUTupdate_serverUpdate a server's name or labelsDELETEdelete_serverDelete a server immediately. All data on the server is lost. Irreversible.POSTpower_on_serverPower on a serverPOSTpower_off_serverHard power off a server (like pulling the power cord). Use shutdown for graceful stop.POSTreboot_serverSoft reboot a server (sends ACPI signal)POSTreset_serverHard reset a server (like pressing the reset button). Use reboot for graceful restart.POSTshutdown_serverGracefully shut down a server (sends ACPI shutdown signal)POSTenable_rescue_serverEnable rescue mode. Returns root_password for the rescue system. Reboot to enter rescue.POSTdisable_rescue_serverDisable rescue modePOSTrebuild_serverRebuild a server from an image. All data is destroyed. Irreversible.POSTchange_server_typeChange server type (resize). Server must be off. Disk can only be upgraded, not downgraded.POSTcreate_image_from_serverCreate a snapshot image from a serverPOSTattach_iso_to_serverAttach an ISO to a serverPOSTdetach_iso_from_serverDetach any ISO from a serverPOSTchange_server_protectionChange delete and rebuild protection for a serverPOSTchange_server_dns_ptrChange reverse DNS entry for a server IPPOSTattach_server_to_networkAttach a server to a networkPOSTdetach_server_from_networkDetach a server from a networkPOSTenable_server_backupEnable automatic backups for a serverPOSTdisable_server_backupDisable automatic backups for a server. Existing backups are kept until their expiry.POSTadd_server_to_placement_groupAdd a server to a placement group. Server must be stopped.POSTremove_server_from_placement_groupRemove a server from its placement groupGETlist_server_actionsList all actions for a serverGETget_server_actionGet details of a specific server actionGETget_server_metricsGet metrics (time series) for a server. Returns Prometheus-style data points for the requested metric types within the given time range.GETget_load_balancer_metricsGet metrics for a load balancer. Returns time series for open connections, connections/s, requests/s, and bandwidth.GETlist_volumesList all volumesGETget_volumeGet details of a specific volumePOSTcreate_volumeCreate a new volume. Set server to auto-attach, or leave unattached.PUTupdate_volumeUpdate a volume's name or labelsDELETEdelete_volumeDelete a volume. Must be detached first.POSTattach_volumeAttach a volume to a serverPOSTdetach_volumeDetach a volume from a serverPOSTresize_volumeResize a volume. Can only increase size, not decrease.POSTchange_volume_protectionChange delete protection for a volumeGETlist_networksList all networksGETget_networkGet details of a specific networkPOSTcreate_networkCreate a new network with an RFC 1918 IP rangePUTupdate_networkUpdate a network's name or labelsDELETEdelete_networkDelete a network. All subnets and routes are removed.POSTadd_subnet_to_networkAdd a subnet to a networkPOSTdelete_subnet_from_networkDelete a subnet from a networkPOSTadd_route_to_networkAdd a route to a networkPOSTdelete_route_from_networkDelete a route from a networkPOSTchange_network_protectionChange delete protection for a networkGETlist_firewallsList all firewallsGETget_firewallGet details of a specific firewall including its rulesPOSTcreate_firewallCreate a new firewall with optional initial rules and resource assignmentsPUTupdate_firewallUpdate a firewall's name or labelsDELETEdelete_firewallDelete a firewall. Must be unapplied from all resources first.POSTset_firewall_rulesOverwrite all rules of a firewall. This replaces all existing rules.POSTapply_firewall_to_resourcesApply a firewall to servers or label selectorsPOSTremove_firewall_from_resourcesRemove a firewall from servers or label selectorsGETlist_load_balancersList all load balancersGETget_load_balancerGet details of a specific load balancerPOSTcreate_load_balancerCreate a new load balancerPUTupdate_load_balancerUpdate a load balancer's name or labelsDELETEdelete_load_balancerDelete a load balancerPOSTadd_load_balancer_serviceAdd a service (listener) to a load balancerPOSTupdate_load_balancer_serviceUpdate a service on a load balancerPOSTdelete_load_balancer_serviceDelete a service from a load balancerPOSTadd_load_balancer_targetAdd a target to a load balancerPOSTremove_load_balancer_targetRemove a target from a load balancerPOSTchange_load_balancer_typeChange the type of a load balancerPOSTchange_load_balancer_protectionChange delete protection for a load balancerPOSTattach_load_balancer_to_networkAttach a load balancer to a networkPOSTdetach_load_balancer_from_networkDetach a load balancer from a networkPOSTchange_load_balancer_algorithmChange the balancing algorithmPOSTchange_load_balancer_dns_ptrChange reverse DNS entry for a load balancer IPGETlist_floating_ipsList all floating IPsGETget_floating_ipGet details of a specific floating IPPOSTcreate_floating_ipCreate a new floating IPPUTupdate_floating_ipUpdate a floating IP's name, description, or labelsDELETEdelete_floating_ipDelete a floating IP. Must be unassigned first.POSTassign_floating_ipAssign a floating IP to a serverPOSTunassign_floating_ipUnassign a floating IP from a serverPOSTchange_floating_ip_protectionChange delete protection for a floating IPPOSTchange_floating_ip_dns_ptrChange reverse DNS entry for a floating IPGETlist_primary_ipsList all primary IPsGETget_primary_ipGet details of a specific primary IPPOSTcreate_primary_ipCreate a new primary IPPUTupdate_primary_ipUpdate a primary IP's name, labels, or auto_delete settingDELETEdelete_primary_ipDelete a primary IP. Must be unassigned first.POSTassign_primary_ipAssign a primary IP to a serverPOSTunassign_primary_ipUnassign a primary IP from a serverPOSTchange_primary_ip_protectionChange delete protection for a primary IPPOSTchange_primary_ip_dns_ptrChange reverse DNS entry for a primary IPGETlist_imagesList all images (system, snapshot, backup, app)GETget_imageGet details of a specific imagePUTupdate_imageUpdate an image's description, type, or labels. Only for snapshot/backup images.DELETEdelete_imageDelete an image. Only snapshot and backup images can be deleted.POSTchange_image_protectionChange delete protection for an imageGETlist_ssh_keysList all SSH keysGETget_ssh_keyGet details of a specific SSH keyPOSTcreate_ssh_keyCreate (upload) a new SSH keyPUTupdate_ssh_keyUpdate an SSH key's name or labelsDELETEdelete_ssh_keyDelete an SSH keyGETlist_certificatesList all certificatesGETget_certificateGet details of a specific certificatePOSTcreate_certificateCreate a certificate (upload or request managed via Let's Encrypt)PUTupdate_certificateUpdate a certificate's name or labelsDELETEdelete_certificateDelete a certificateGETlist_placement_groupsList all placement groupsGETget_placement_groupGet details of a specific placement groupPOSTcreate_placement_groupCreate a new placement groupPUTupdate_placement_groupUpdate a placement group's name or labelsDELETEdelete_placement_groupDelete a placement group. Must have no servers assigned.GETlist_actionsList all actions across all resourcesGETget_actionGet details of a specific actionGETlist_server_typesList all available server types with specs and pricingGETget_server_typeGet details of a specific server typeGETlist_locationsList all available locationsGETget_locationGet details of a specific locationGETlist_datacentersList all available datacentersGETget_datacenterGet details of a specific datacenterGETlist_isosList all available ISO imagesGETget_isoGet details of a specific ISO imageGETlist_load_balancer_typesList all available load balancer typesGETget_load_balancer_typeGet details of a specific load balancer typeGETget_pricingGet all pricing information for server types, images, volumes, floating IPs, load balancers, and traffic