Query Hetzner Cloud servers, networks, IPs, volumes, DNS and prices. Read-only by default.
hetzner MCP Server
Published by lazyantsMCP server for the Hetzner Cloud API — servers, networks, volumes, firewalls, and more.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 4.1.0
- SOURCE CHECKED
- Nov 28, 2026
Quick answers
How do I add hetzner MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'HETZNER_API_TOKEN=<your-hetzner-api-token>' --env 'HETZNER_STORAGE_API_TOKEN=<your-hetzner-storage-api-token>' --transport stdio hetzner -- npx -y @lazyants/hetzner-mcp-serverReplace the <your-…> placeholder with your own HETZNER_API_TOKEN and HETZNER_STORAGE_API_TOKEN.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"hetzner": {
"command": "npx",
"args": [
"-y",
"@lazyants/hetzner-mcp-server"
],
"env": {
"HETZNER_API_TOKEN": "<your-hetzner-api-token>",
"HETZNER_STORAGE_API_TOKEN": "<your-hetzner-storage-api-token>"
}
}
}
}Replace the <your-…> placeholder with your own HETZNER_API_TOKEN and HETZNER_STORAGE_API_TOKEN.
CodexCommand
Run this in your terminal:
codex mcp add hetzner --env 'HETZNER_API_TOKEN=<your-hetzner-api-token>' --env 'HETZNER_STORAGE_API_TOKEN=<your-hetzner-storage-api-token>' -- npx -y @lazyants/hetzner-mcp-serverReplace the <your-…> placeholder with your own HETZNER_API_TOKEN and HETZNER_STORAGE_API_TOKEN.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"hetzner": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lazyants/hetzner-mcp-server"
],
"env": {
"HETZNER_API_TOKEN": "<your-hetzner-api-token>",
"HETZNER_STORAGE_API_TOKEN": "<your-hetzner-storage-api-token>"
}
}
}
}Replace the <your-…> placeholder with your own HETZNER_API_TOKEN and HETZNER_STORAGE_API_TOKEN.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"hetzner": {
"command": "npx",
"args": [
"-y",
"@lazyants/hetzner-mcp-server"
],
"env": {
"HETZNER_API_TOKEN": "<your-hetzner-api-token>",
"HETZNER_STORAGE_API_TOKEN": "<your-hetzner-storage-api-token>"
}
}
}
}Replace the <your-…> placeholder with your own HETZNER_API_TOKEN and HETZNER_STORAGE_API_TOKEN.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use hetzner MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does hetzner MCP Server need an API key?
To run it on your computer, set HETZNER_API_TOKEN and HETZNER_STORAGE_API_TOKEN first, with values from the publisher.
Is hetzner MCP Server official?
It's published by lazyants. The Official MCP Registry accepts names under io.github.lazyants only from the GitHub account or organisation lazyants. We last checked its listing on Nov 28, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @lazyants/hetzner-mcp-server@4.1.0