Basic information
About Hetzner Cloud Mcp Server
The Hetzner MCP with SSH server management. 60 tools — Cloud API + SSH in one MCP server.
Hetzner Cloud Mcp Server is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by wbf-solutions. Supported transport: stdio. Runtime: php. License: MIT. Source code is hosted on github.com. Related topics: hetzner-cloud-api, hetzner-cloud-ssh, mcp-server.
Setup
claude mcp add hetzner-cloud-mcp --transport http https://your-server.com/api.php?mcp=sse&key=YOUR_API_KEY
[mcp_servers.hetzner-cloud-mcp] url = "https://your-server.com/api.php?mcp=sse&key=YOUR_API_KEY"
{
"mcpServers": {
"hetzner-cloud-mcp": {
"url": "https://your-server.com/api.php?mcp=sse&key=YOUR_API_KEY"
}
}
}
{
"servers": {
"hetzner-cloud-mcp": {
"type": "http",
"url": "https://your-server.com/api.php?mcp=sse&key=YOUR_API_KEY"
}
}
}
Hetzner Cloud Mcp Server — by wbf-solutions config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"hetzner-cloud": {
"url": "https://your-server.com/api.php?mcp=sse&key=YOUR_API_KEY"
}
}
}
Hetzner Cloud Mcp Server — by wbf-solutions tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
Frequently asked questions
1 What are the two management layers?
Layer 1 (Hetzner Cloud API) handles server power, metrics, snapshots, firewalls, DNS, rescue, rebuild — works even if the OS is unresponsive. Layer 2 (SSH) gives real sysadmin tools: service control, logs, Nginx, MySQL, supervisor, cron, UFW, disk/memory/CPU monitoring.
2 How do I authenticate with this MCP server?
You can run without authentication (behind a VPN/firewall), use a static API key (MCP_API_KEY), or add OAuth 2.1 token introspection for multi‑user deployments. Clients pass the key as ?key=XXX or via Authorization: Bearer header.
3 Can I manage multiple servers?
Yes. Define any number of servers in the .env file with SERVERS=web,staging and individual SERVER_* variables for ID, IP, SSH user, and aliases. SSH tools are auto‑directed to the configured server.
4 What security measures are in place?
Dangerous operations require confirm=true. SSH commands block 29 dangerous patterns (e.g., rm -rf, dd, mkfs). SQL is restricted to SELECT, SHOW, DESCRIBE, EXPLAIN only. Rate limiting uses atomic flock() per IP.
5 Do I need SSH access for all tools?
No. Cloud API tools (server power, metrics, snapshots, firewalls, DNS) work without SSH. SSH‑based tools (service management, logs, MySQL, etc.) require an SSH key configured for the server and SSH_KEY_PATH set in the .env file. If SSH is not configured, those tools are automatically disabled.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In