mcp-hetzner
Provides tools for interacting with the Hetzner Cloud API, enabling management of servers, volumes, networks, firewalls, SSH keys, floating IPs, images, and actions, plus read-only access to server types, locations, datacenters, and pricing.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-hetzner
MCP (Model Context Protocol) server for Hetzner Cloud API integration.
Features
Full Hetzner Cloud API coverage
Server management (create, delete, power on/off, reboot, rebuild)
Volume management (create, attach, detach, resize)
Network management (create, delete, subnets, routes)
Firewall management (create, delete, set rules)
SSH key management
Floating IP management
Image listing and management
Action status tracking
Read-only resources for server types, locations, datacenters, and pricing
Related MCP server: hetzner-mcp
Installation
bun installConfiguration
Set the HETZNER_API_TOKEN environment variable with your Hetzner Cloud API token. You can get one from the Hetzner Cloud Console.
Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"hetzner": {
"command": "bun",
"args": ["run", "/path/to/mcp-hetzner/src/index.ts"],
"env": {
"HETZNER_API_TOKEN": "your-token-here"
}
}
}
}Usage
Running the Server
# Start the server
bun run start
# Development mode with watch
bun run devTesting with MCP Inspector
bun run inspectAvailable Tools
Server Management
Tool | Description |
| List all servers |
| Get server details |
| Create a new server |
| Delete a server |
| Power on a server |
| Force power off |
| Graceful shutdown |
| Reboot a server |
| Force reset |
| Rebuild with new image |
| Change server type |
| Enable rescue mode |
| Disable rescue mode |
Volume Management
Tool | Description |
| List all volumes |
| Get volume details |
| Create a new volume |
| Delete a volume |
| Attach to server |
| Detach from server |
| Resize a volume |
Network Management
Tool | Description |
| List all networks |
| Get network details |
| Create a new network |
| Delete a network |
| Add a subnet |
| Delete a subnet |
| Add a route |
| Delete a route |
Firewall Management
Tool | Description |
| List all firewalls |
| Get firewall details |
| Create a new firewall |
| Delete a firewall |
| Set firewall rules |
| Apply to servers |
| Remove from servers |
SSH Key Management
Tool | Description |
| List all SSH keys |
| Get SSH key details |
| Create a new SSH key |
| Delete an SSH key |
| Update SSH key |
Floating IP Management
Tool | Description |
| List all floating IPs |
| Get floating IP details |
| Create a new floating IP |
| Delete a floating IP |
| Assign to server |
| Unassign from server |
| Update floating IP |
Image Management
Tool | Description |
| List all images |
| Get image details |
| Update image |
| Delete image |
Action Management
Tool | Description |
| Get action status |
| List all actions |
Available Resources
Resource URI | Description |
| Available server types with specs and pricing |
| Datacenter locations |
| Datacenters with supported server types |
| Current pricing information |
Development
# Run linter
bun run lint
# Type check
bun run typecheck
# Run tests
bun testLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, list and destroy hourly-billed servers on Vultr, DigitalOcean, Hetzner and Linode.
Servers, volumes, networks, firewalls, load balancers, pricing and safe power operations.
VPS, webspaces, domains and DNS in EU datacenters. Sign in with OAuth or use an API key.
EU cloud as MCP tools: VPS, databases, caches, storage, containers and more. Takes an API token.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceEnables users to manage Hetzner Cloud resources including servers, load balancers, and volumes through natural language commands. It facilitates infrastructure operations such as resource creation, security configuration, and real-time pricing queries within AI-powered environments.1-
- AlicenseNot gradedqualityAmaintenanceModel Context Protocol server for full Hetzner Cloud + Storage API automation. Exposes all official Hetzner operations as MCP tools so AI agents can manage servers, networking, load balancers, firewalls, volumes, DNS zones, and storage boxes from one server.1MIT
- AlicenseNot gradedqualityFmaintenanceEnables management of Hetzner Cloud resources including servers, SSH keys, volumes, storage boxes, and live metrics through 40 tools.13 npmMIT
- AlicenseBqualityBmaintenanceMCP server for the Hetzner Cloud API. Manage servers, networks, volumes, firewalls, load balancers, and more through the Model Context Protocol.185673 npm7Functional Source , Version 1.1, MIT Future