40
Tools
7
Categories
2
API Endpoints
stdio
Transport
Tools
⚠ marks destructive or hard-to-reverse operations.
Servers
7
Create, power on/off/reboot, and delete cloud servers.
list_servers
get_server
create_server
delete_server ⚠
power_on
power_off ⚠
reboot ⚠
SSH Keys
4
Manage SSH public keys for server authentication.
list_ssh_keys
get_ssh_key
create_ssh_key
delete_ssh_key ⚠
Cloud Volumes
4
Attach and detach persistent block storage volumes.
list_volumes
get_volume
attach_volume ⚠
detach_volume ⚠
Metrics & RAM
2
CPU, disk I/O, network metrics — and RAM via SSH (the Metrics API doesn't expose memory).
get_server_metrics
get_server_ram
Reference
3
Browse available server types, OS images, and datacenter locations.
list_server_types
list_images
list_locations
Storage Boxes
20
Full CRUD for Hetzner Storage Boxes — subaccounts, snapshots, access settings, and scheduled backup plans. Requires a unified API token.
list / get / create
update / delete
subaccounts
snapshots
access settings
Quick Setup
Add to ~/.claude.json (run /mcp in Claude Code to confirm the path):
{
"mcpServers": {
"hetzner": {
"type": "stdio",
"command": "npx",
"args": ["@jurislm/hetzner-mcp"],
"env": {
"HETZNER_API_TOKEN": "your-api-token",
// Storage Boxes only — unified token from console.hetzner.com
"HETZNER_API_TOKEN_UNIFIED": "your-unified-token"
}
}
}
}
Two token types:
All tools except Storage Boxes use a Cloud project token from
console.hetzner.cloud.
Storage Box tools use a unified token from
console.hetzner.com.
A Cloud token on the unified API returns
401.