Back to Browse

Hetzner MCP Server

Cloud & DevOpsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (3/3 approved).

12 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

What You'll Need

Set these up before or after installing:

Hetzner Cloud API token.Required

Environment variable: HETZNER_API_TOKEN

Storage Box API token; falls back to HETZNER_API_TOKEN when omitted.Required

Environment variable: HETZNER_STORAGE_API_TOKEN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "hetzner-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@lazyants/hetzner-mcp-server@4.1.0"
      ],
      "env": {
        "HETZNER_API_TOKEN": "your-hetzner-api-token-here",
        "HETZNER_STORAGE_API_TOKEN": "your-hetzner-storage-api-token-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Hetzner MCP Server

Manage Hetzner Cloud servers, networks, storage, DNS and load balancers from an MCP client. Requires Node.js 22.12 or newer.

Setup

Create an API token in the Hetzner Cloud Console. Use a read-only token for inspection; write operations can create billable resources.

For Claude Code:

claude mcp add --env HETZNER_API_TOKEN=your-token --transport stdio \
  hetzner -- npx -y @lazyants/hetzner-mcp-server

For Claude Desktop and clients that accept mcpServers JSON:

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

For a separate Storage Box token, also set HETZNER_STORAGE_API_TOKEN. Otherwise, Storage Box tools use HETZNER_API_TOKEN.

Smaller servers

The default command exposes all tools. To load only one resource group, run a split command:

npx -y -p @lazyants/hetzner-mcp-server hetzner-mcp-networking

In a client configuration, replace args with:

["-y", "-p", "@lazyants/hetzner-mcp-server", "hetzner-mcp-networking"]

Other groups: servers, load-balancers, ips, storage, storage-boxes, config and dns. Use the same hetzner-mcp- command prefix and token configuration.

Every server exposes the API reference at reference://hetzner/api. See CHANGELOG.md for release changes.

Releasing

Maintainer instructions: release guide.

License

FSL-1.1-MIT. Versions 1.1.1 and earlier remain MIT-licensed.

Reviews

No reviews yet

Be the first to review this server!