Allows management of Hetzner Cloud infrastructure, including creating and resizing servers, configuring load balancers, managing private networks, volumes, firewalls, and SSH keys.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hetzner MCPlist all my running servers in the Nuremberg data center"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hetzner MCP
Manage Hetzner Cloud resources directly from Cursor using natural language and AI-powered workflows.
Features
Servers: Create, manage, resize, and control virtual servers
Load Balancers: Configure load balancers, targets, and services
Networks: Manage private networks and floating IPs
Volumes: Create and attach block storage
Firewalls: Configure network security rules
SSH Keys: Manage SSH keys for server access
Real-time info: Query locations, server types, images, and pricing
All operations work through natural language in Cursor's AI agent.
Installation
From source
Clone this repository
Build the plugin:
cd plugins/hetzner-mcp npm install && npm run buildSet your Hetzner API token:
export HCLOUD_TOKEN=your_token_hereThe MCP server will be available when this repo is your workspace root
Usage
Ask Cursor's agent to manage your Hetzner infrastructure:
"List my servers in Nuremberg"
"Create a cx22 server with Ubuntu 24.04"
"Attach a 10GB volume to web-01"
"Set up a load balancer for my web servers"
"Show current pricing for cpx31 servers"
Configuration
Set HCLOUD_TOKEN in your environment or configure in plugins/hetzner-mcp/mcp.json:
Development
Source:
plugins/hetzner-mcp/src/Build:
npm run buildValidate:
npm run validate
See plugins/hetzner-mcp/README.md for detailed documentation.
License
MIT