What is Hetzner Cloud MCP Server?
An MCP server that lets you manage Hetzner Cloud infrastructure from any MCP-compatible client (Claude.ai, Claude Desktop, VS Code, Cursor). It combines the Hetzner Cloud API (25 tools for power, metrics, snapshots, firewalls, DNS) with a full SSH management layer (27 tools for services, logs, Nginx, MySQL, system health) — 60 tools total. Built for sysadmins and developers who need both API and server‑level control.
How to use Hetzner Cloud MCP Server?
Clone the repository, install dependencies with Composer, copy .env.example to .env, and set your Hetzner API token, server details, SSH key path, and an API key. Configure an Nginx reverse proxy with PHP‑FPM (fastcgi_buffering off required for SSE). Then add a custom connector in Claude.ai, Claude Desktop, or another client, pointing to https://yourdomain.com/api.php with the API key passed as ?key=XXX or Authorization: Bearer. Tools are invoked via MCP tool calls.
Key features of Hetzner Cloud MCP Server
- Two management layers: Cloud API and SSH
- 60 tools covering server, DNS, and SSH operations
- Dynamic multi‑server configuration (1 to N servers)
- Destructive guards (confirmation required for dangerous ops)
- Transport via SSE and Streamable HTTP
- Self‑hosted, open source (MIT), PHP 8.1+
Use cases of Hetzner Cloud MCP Server
- Manage Hetzner servers through Claude.ai or Claude Desktop from any device
- Perform sysadmin tasks: restart services, tail logs, check memory, firewall status
- Automate server provisioning: snapshots, backups, rescale, rebuild
- Manage DNS zones and records without leaving your AI chat
- Monitor system health and run read‑only SQL queries
评论