Home / Servers / Hetzner Cloud API
Hetzner Cloud API MCP server
Servers, volumes, networks, load balancers and firewalls at Hetzner.
The Hetzner Cloud API: servers and their actions, images, volumes, networks, load balancers, firewalls, floating and primary IPs, placement groups, SSH keys, certificates and pricing.
Why use the hosted one: Every endpoint of Hetzner's API behind the gateway's search, with your own Hetzner Cloud API token stored encrypted and sent only to Hetzner.
Needs your Hetzner Cloud API token: add it once in the dashboard (get one at Hetzner). It is stored encrypted and sent only to that API.
Connect
claude mcp add --transport http hj-hetzner-api https://mcp.hjlabs.in/mcp/hetzner-api \
--header "Authorization: Bearer YOUR_API_KEY"Create an API key and put it in place of YOUR_API_KEY. Step-by-step guides: claude.ai and ChatGPT connectors, Claude Code, Cursor, VS Code, Claude Desktop, Windsurf, Zed, OpenAI Codex CLI, Gemini CLI.
All 178 tools
List 38 tools
- List Certificates
list_certificates - List Actions
list_certificates_actions - List Actions for a Certificate
list_certificate_actions - List Firewalls
list_firewalls - List Actions
list_firewalls_actions - List Actions for a Firewall
list_firewall_actions - List Floating IPs
list_floating_ips - List Actions
list_floating_ips_actions - List Actions for a Floating IP
list_floating_ip_actions - List Images
list_images - List Actions
list_images_actions - List Actions for an Image
list_image_actions - List ISOs
list_isos - List Load Balancer Types
list_load_balancer_types - List Load Balancers
list_load_balancers - List Actions
list_load_balancers_actions - List Actions for a Load Balancer
list_load_balancer_actions - List Locations
list_locations - List Networks
list_networks - List Actions
list_networks_actions - List Actions for a Network
list_network_actions - List Members of a Network
list_network_members - List Placement Groups
list_placement_groups - List Primary IPs
list_primary_ips - List Actions
list_primary_ips_actions - List Actions for a Primary IP
list_primary_ip_actions - List Server Types
list_server_types - List Servers
list_servers - List Actions
list_servers_actions - List Actions for a Server
list_server_actions - List SSH keys
list_ssh_keys - List Volumes
list_volumes - List Actions
list_volumes_actions - List Actions for a Volume
list_volume_actions - List Zones
list_zones - List Actions
list_zones_actions - List Actions for a Zone
list_zone_actions - List RRSets
list_zone_rrsets
Get 33 tools
- Get multiple Actions
get_actions - Get an Action
get_action - Get an Action
get_certificates_action - Get a Certificate
get_certificate - Get an Action
get_firewalls_action - Get a Firewall
get_firewall - Get an Action
get_floating_ips_action - Get a Floating IP
get_floating_ip - Get an Action
get_images_action - Get an Image
get_image - Get an ISO
get_iso - Get a Load Balancer Type
get_load_balancer_type - Get an Action
get_load_balancers_action - Get a Load Balancer
get_load_balancer - Get Metrics for a LoadBalancer
get_load_balancer_metrics - Get a Location
get_location - Get an Action
get_networks_action - Get a Network
get_network - Get a PlacementGroup
get_placement_group - Get all prices
get_pricing - Get an Action
get_primary_ips_action - Get a Primary IP
get_primary_ip - Get a Server Type
get_server_type - Get an Action
get_servers_action - Get a Server
get_server - Get Metrics for a Server
get_server_metrics - Get a SSH key
get_ssh_key - Get an Action
get_volumes_action - Get a Volume
get_volume - Get a Zone
get_zone - Export a Zone file
get_zone_zonefile - Get an Action
get_zones_action - Get an RRSet
get_zone_rrset
Change 21 tools
- Change reverse DNS records for a Floating IP
change_floating_ip_dns_ptr - Change Floating IP Protection
change_floating_ip_protection - Change Image Protection
change_image_protection - Change Algorithm
change_load_balancer_algorithm - Change reverse DNS entry for this Load Balancer
change_load_balancer_dns_ptr - Change Load Balancer Protection
change_load_balancer_protection - Change the Type of a Load Balancer
change_load_balancer_type - Change IP range of a Network
change_network_ip_range - Change Network Protection
change_network_protection - Change reverse DNS records for a Primary IP
change_primary_ip_dns_ptr - Change Primary IP Protection
change_primary_ip_protection - Change alias IPs of a Network
change_server_alias_ips - Change reverse DNS entry for this Server
change_server_dns_ptr - Change Server Protection
change_server_protection - Change the Type of a Server
change_server_type - Change Volume Protection
change_volume_protection - Change a Zone's Primary Nameservers
change_zone_primary_nameservers - Change a Zone's Protection
change_zone_protection - Change a Zone's Default TTL
change_zone_ttl - Change an RRSet's Protection
change_zone_rrset_protection - Change an RRSet's TTL
change_zone_rrset_ttl
Delete 16 tools
- Delete a Certificate
delete_certificate - Delete a Firewall
delete_firewall - Delete a Floating IP
delete_floating_ip - Delete an Image
delete_image - Delete a Load Balancer
delete_load_balancer - Delete Service
delete_load_balancer_service - Delete a Network
delete_network - Delete a route from a Network
delete_network_route - Delete a subnet from a Network
delete_network_subnet - Delete a PlacementGroup
delete_placement_group - Delete a Primary IP
delete_primary_ip - Delete a Server
delete_server - Delete an SSH key
delete_ssh_key - Delete a Volume
delete_volume - Delete a Zone
delete_zone - Delete an RRSet
delete_zone_rrset
Update 15 tools
- Update a Certificate
update_certificate - Update a Firewall
update_firewall - Update a Floating IP
update_floating_ip - Update an Image
update_image - Update a Load Balancer
update_load_balancer - Update Service
update_load_balancer_service - Update a Network
update_network - Update a PlacementGroup
update_placement_group - Update a Primary IP
update_primary_ip - Update a Server
update_server - Update an SSH key
update_ssh_key - Update a Volume
update_volume - Update a Zone
update_zone - Update an RRSet
update_zone_rrset - Update Records of an RRSet
update_zone_rrset_records
Create 13 tools
- Create a Certificate
create_certificate - Create a Firewall
create_firewall - Create a Floating IP
create_floating_ip - Create a Load Balancer
create_load_balancer - Create a Network
create_network - Create a PlacementGroup
create_placement_group - Create a Primary IP
create_primary_ip - Create a Server
create_server - Create Image from a Server
create_server_image - Create an SSH key
create_ssh_key - Create a Volume
create_volume - Create a Zone
create_zone - Create an RRSet
create_zone_rrset
Add 6 tools
- Add Service
add_load_balancer_service - Add Target
add_load_balancer_target - Add a route to a Network
add_network_route - Add a subnet to a Network
add_network_subnet - Add a Server to a Placement Group
add_server_to_placement_group - Add Records to an RRSet
add_zone_rrset_records
Attach 4 tools
- Attach a Load Balancer to a Network
attach_load_balancer_to_network - Attach an ISO to a Server
attach_server_iso - Attach a Server to a Network
attach_server_to_network - Attach Volume to a Resource
attach_volume
Detach 4 tools
- Detach a Load Balancer from a Network
detach_load_balancer_from_network - Detach a Server from a Network
detach_server_from_network - Detach an ISO from a Server
detach_server_iso - Detach Volume
detach_volume
Remove 4 tools
- Remove from Resources
remove_firewall_from_resources - Remove Target
remove_load_balancer_target - Remove from Placement Group
remove_server_from_placement_group - Remove Records from an RRSet
remove_zone_rrset_records
Disable 3 tools
- Disable the public interface of a Load Balancer
disable_load_balancer_public_interface - Disable Backups for a Server
disable_server_backup - Disable Rescue Mode for a Server
disable_server_rescue
Enable 3 tools
- Enable the public interface of a Load Balancer
enable_load_balancer_public_interface - Enable and Configure Backups for a Server
enable_server_backup - Enable Rescue Mode for a Server
enable_server_rescue
Assign 2 tools
- Assign a Floating IP to a Server
assign_floating_ip - Assign a Primary IP to a resource
assign_primary_ip
Reset 2 tools
- Reset a Server
reset_server - Reset root Password of a Server
reset_server_password
Set 2 tools
- Set Rules
set_firewall_rules - Set Records of an RRSet
set_zone_rrset_records
Unassign 2 tools
- Unassign a Floating IP
unassign_floating_ip - Unassign a Primary IP from a resource
unassign_primary_ip
Apply 1 tool
- Apply to Resources
apply_firewall_to_resources
Import 1 tool
- Import a Zone file
import_zone_zonefile
Poweroff 1 tool
- Power off a Server
poweroff_server
Poweron 1 tool
- Power on a Server
poweron_server
Reboot 1 tool
- Soft-reboot a Server
reboot_server
Rebuild 1 tool
- Rebuild a Server from an Image
rebuild_server
Request 1 tool
- Request Console for a Server
request_server_console
Resize 1 tool
- Resize Volume
resize_volume
Retry 1 tool
- Retry Issuance or Renewal
retry_certificate
Shutdown 1 tool
- Shutdown a Server
shutdown_server
Try asking
List my servers and reboot the one named staging-1.
Usage and limits
Every account gets a free daily allowance of tool calls; connecting, listing and searching are not counted. See the limits. Only a tool that runs costs a call.