Hetzner MCP Server

MCP server for the Hetzner Cloud API — manage servers, networks, volumes, and more

Local serverstdio

What is the Hetzner MCP server?

MCP server for the Hetzner Cloud API — manage servers, networks, volumes, and more. That is what the hetzner mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

MCP server for the Hetzner Cloud API. Manage servers, networks, volumes, firewalls, load balancers, and more through the Model Context Protocol.

Getting it running

The server ships on npm as @lazyants/hetzner-mcp-server, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: HETZNER_API_TOKEN, HETZNER_STORAGE_API_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by lazyants; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Hetzner's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How to install the Hetzner MCP server

{
  "mcpServers": {
    "hetzner": {
      "command": "npx",
      "args": ["-y", "@lazyants/hetzner-mcp-server"],
      "env": {
        "HETZNER_API_TOKEN": "your-value",
        "HETZNER_STORAGE_API_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
HETZNER_API_TOKENCredential the server authenticates with.Yes
HETZNER_STORAGE_API_TOKENCredential the server authenticates with.Yes

Frequently asked questions

It connects Hetzner to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Hetzner directly.