Skip to content
MCP server

Hetzner Cloud MCP by usefulapi

Servers, volumes, networks, firewalls, load balancers, pricing and safe power operations.

Install
Runs
Remotely
Version
1.40.0
Listing updated
4 days ago

About Hetzner Cloud MCP by usefulapi

Hetzner Cloud MCP by usefulapi is an MCP server. It runs as a hosted remote server, so there is nothing to install locally.

Install

Run in a terminal

claude mcp add --transport http hetzner-cloud https://hetzner-cloud.usefulapi.io/mcp

Add to Settings → Connectors → Add custom connector

https://hetzner-cloud.usefulapi.io/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "hetzner-cloud": {
      "url": "https://hetzner-cloud.usefulapi.io/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "hetzner-cloud": {
      "type": "http",
      "url": "https://hetzner-cloud.usefulapi.io/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "hetzner-cloud": {
      "serverUrl": "https://hetzner-cloud.usefulapi.io/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "hetzner-cloud": {
      "type": "http",
      "url": "https://hetzner-cloud.usefulapi.io/mcp"
    }
  }
}

Tools this server provides (32)

Read directly from the server.

hetzner_list_servers
List the servers in the token's project, optionally filtered by name, status or a label selector. Hetzner Cloud: GET /servers.
hetzner_get_server
Fetch a single server with its type, image, IPs, volumes, networks and protection flags. Hetzner Cloud: GET /servers/{id}.
hetzner_get_server_metrics
Fetch CPU, disk or network time series for one server over a window. Hetzner Cloud: GET /servers/{id}/metrics.
hetzner_list_server_types
List the available server types with their cores, memory, disk and hourly and monthly prices — read this before creating a server. Hetzner Cloud: GET /server_types.
hetzner_list_images
List OS images, snapshots and backups you can boot or restore from. Hetzner Cloud: GET /images.
hetzner_list_locations
List the datacentre locations (city, country, network zone) servers can run in. Hetzner Cloud: GET /locations.
hetzner_get_pricing
Fetch the full price list for the project's currency — server types, volumes, traffic, floating IPs, load balancers and backups. Hetzner Cloud: GET /pricing.
hetzner_get_action
Fetch the status of one asynchronous action. Every write tool here returns an action id — poll it with this to see whether the operation finished. Hetzner Cloud: GET /actions/{id}.
hetzner_list_volumes
List block-storage volumes, their size and which server they are attached to. Hetzner Cloud: GET /volumes.
hetzner_get_volumes
Fetch a single resource by id. Hetzner Cloud: GET /volumes/{id}.
hetzner_list_networks
List private networks, their IP ranges, subnets and routes. Hetzner Cloud: GET /networks.
hetzner_get_networks
Fetch a single resource by id. Hetzner Cloud: GET /networks/{id}.
hetzner_list_firewalls
List firewalls, their rules and which resources they are applied to. Hetzner Cloud: GET /firewalls.
hetzner_get_firewalls
Fetch a single resource by id. Hetzner Cloud: GET /firewalls/{id}.
hetzner_list_load_balancers
List load balancers, their services, targets and health status. Hetzner Cloud: GET /load_balancers.
hetzner_get_load_balancers
Fetch a single resource by id. Hetzner Cloud: GET /load_balancers/{id}.
hetzner_list_ssh_keys
List the SSH public keys available to inject when creating a server. Hetzner Cloud: GET /ssh_keys.
hetzner_get_ssh_keys
Fetch a single resource by id. Hetzner Cloud: GET /ssh_keys/{id}.
hetzner_list_floating_ips
List floating IPs and which server each is assigned to. Hetzner Cloud: GET /floating_ips.
hetzner_get_floating_ips
Fetch a single resource by id. Hetzner Cloud: GET /floating_ips/{id}.
hetzner_list_primary_ips
List primary IPs and their assignments. Hetzner Cloud: GET /primary_ips.
hetzner_get_primary_ips
Fetch a single resource by id. Hetzner Cloud: GET /primary_ips/{id}.
hetzner_list_certificates
List TLS certificates, managed or uploaded, and their expiry. Hetzner Cloud: GET /certificates.
hetzner_get_certificates
Fetch a single resource by id. Hetzner Cloud: GET /certificates/{id}.
hetzner_create_server
Provision a new server. THIS STARTS BILLING: the chosen server type is charged by the hour from the moment it boots. Call hetzner_list_server_types first to see prices, and hetzner_list_images for a bootable image. Hetzner Cloud: POST /servers.
hetzner_poweron_server
Power on a stopped server. Returns an action id — poll it with hetzner_get_action. Hetzner Cloud: POST /servers/{id}/actions/poweron.
hetzner_shutdown_server
Ask the guest OS to shut down gracefully via ACPI. Prefer this over a hard power-off. Note that a stopped server still costs money — only deleting it stops the bill. Hetzner Cloud: POST /servers/{id}/actions/shutdown.
hetzner_reboot_server
Reboot a server gracefully via ACPI. Hetzner Cloud: POST /servers/{id}/actions/reboot.
hetzner_create_image_from_server
Create a snapshot image from a server's disk — the safe thing to do BEFORE a risky change. Snapshots are billed for the space they use. Hetzner Cloud: POST /servers/{id}/actions/create_image.
hetzner_enable_server_backup
Turn on automatic backups for a server. This adds roughly 20% to the server's price. Hetzner Cloud: POST /servers/{id}/actions/enable_backup.
hetzner_disable_server_backup
Turn off automatic backups for a server. Existing backups are DELETED. Hetzner Cloud: POST /servers/{id}/actions/disable_backup.
hetzner_change_server_protection
Turn deletion and rebuild protection on or off for a server. Turning protection ON is the safest write in this server. Hetzner Cloud: POST /servers/{id}/actions/change_protection.

Hetzner Cloud MCP by usefulapi FAQ

How do I add Hetzner Cloud MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http hetzner-cloud https://hetzner-cloud.usefulapi.io/mcp