Hetzner MCP
MCP server by mjmirza Verified · npm:hetzner-mcp
Hetzner MCP lets AI assistants read and manage Hetzner cloud servers, storage boxes and dedicated servers. Reads are free, and paid actions wait for the user's approval after showing the live price.
Install Hetzner MCP
Built from the published package, never by AI.
claude mcp add hetzner-mcp -- npx -y hetzner-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"hetzner-mcp": {
"args": [
"-y",
"hetzner-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"hetzner-mcp": {
"args": [
"-y",
"hetzner-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"hetzner-mcp": {
"args": [
"-y",
"hetzner-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add hetzner-mcp -- npx -y hetzner-mcp{
"mcpServers": {
"hetzner-mcp": {
"args": [
"-y",
"hetzner-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add hetzner-mcp npx -y hetzner-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the hetzner-mcp block.
About
Hetzner MCP is a Model Context Protocol server that connects an AI assistant to the Hetzner platform. It covers Cloud resources such as servers, networks, volumes, firewalls, load balancers, IPs and DNS zones, plus Storage Boxes and Robot dedicated servers. The assistant calls the Hetzner API on the user's behalf, so questions like what is running and what it costs can be answered in plain language. The project includes a setup command that checks the API token with Hetzner and writes the config for supported assistants, plus a doctor command that checks saved tokens. A local map command shows the account's projects and resources with their monthly cost. It is aimed at people who run infrastructure on Hetzner and want to manage it from an AI assistant. The source says all tools were tested live against the Hetzner API.
Written from the project's README and checked against it.
Tools it gives your assistant
npx hetzner-mcp setupAsks for a Hetzner API token, checks it with Hetzner, and writes the config for supported assistants.npx hetzner-mcp doctorChecks the token saved in each connected assistant against the live API and reports what to fix.npx hetzner-mcp mapOpens a local map of projects, servers, networks, volumes, IPs and their monthly cost.Cloud resource managementCovers servers, networks, volumes, firewalls, load balancers, IPs, placement groups, SSH keys, images, certificates and DNS zones.Storage Box managementManages backup storage boxes using the same Cloud API token.Robot dedicated server managementManages physical dedicated servers and vSwitches using Robot webservice credentials.hetzner-provision skillProvisions a full stack end to end, as described in the one-prompt setup in the source.
What you need
- Hetzner Cloud API token with Read & Write access
- Node.js 18 or newer
- An MCP-capable AI assistant such as Claude Desktop, Claude Code, Cursor, Windsurf or VS Code
- Robot webservice user and password, only for dedicated servers
Try asking
- List my Hetzner servers and show this month cost.
- Show everything I run across Cloud, Storage Box and Robot.
- Which of my Hetzner servers have no firewall?
Good to know
- Dedicated Robot servers need separate webservice credentials.
- Paid resources are created only after the user sees the live price and approves it.
- VS Code stores the token in a project file that could be committed, so setup warns about it.
- ChatGPT is not a direct fit, since its MCP support relies on remote connectors rather than a local config file.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Hetzner MCP
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Hetzner MCP: common questions
Does using Hetzner MCP cost money?
The source says reading and listing are always free. Anything that costs money shows its live price and waits for the user's approval, and the cost guard stays off until the user turns it on.
Where is my Hetzner token stored?
The source says the token is saved locally in the assistant's own config file with owner-only permissions and is never printed. It is sent only to Hetzner.
Can I use Hetzner MCP with ChatGPT?
The source says OpenAI's MCP support is built around remote connectors, so desktop assistants are the most direct fit. Any client that speaks MCP over stdio can use the printed config block.
How do I install Hetzner MCP?
In Claude Code run claude mcp add hetzner-mcp -- npx -y hetzner-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Hetzner MCP the official server?
Hetzner MCP is published by npm:hetzner-mcp from its verified domain in the official MCP Registry.
Is Hetzner MCP free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Hetzner MCP safe to use?
It scores 68 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Hetzner MCP?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Hetzner MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
