# Hetzner Cloud MCP by usefulapi

> Hetzner Cloud MCP by usefulapi is an MCP server. Servers, volumes, networks, firewalls, load balancers, pricing and safe power operations. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://usefulapi.io/hetzner-cloud/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/hetzner-cloud
- **MCP Registry name:** io.usefulapi/hetzner-cloud
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://hetzner-cloud.usefulapi.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "hetzner-cloud": {
      "url": "https://hetzner-cloud.usefulapi.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

---
Source: https://ai-powered.com/mcp/hetzner-cloud-mcp-by-usefulapi
