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
A Cursor Plugin for the Cursor Plugin marketplace. Manage Hetzner Cloud resources directly from Cursor using natural language and AI-powered workflows.
Get Hetzner Cloud — new signups get €20 credit.
Features
Servers: Create, delete, power on/off, reboot, resize; attach to networks and ISOs
Load Balancers: Full CRUD, add/remove targets and services;
list_load_balancer_typesfor creationNetworks: Create/delete networks; add/delete subnets (e.g. 10.0.0.0/16 per zone for private networking)
Volumes: Create, attach, detach, delete block storage
Firewalls: Create, update, delete firewalls
Floating IPs: Create, assign, unassign, delete
Primary IPs: Create, assign, unassign, delete (datacenter-scoped static IPs; server must be off to assign/unassign)
SSH Keys: Full CRUD
Placement Groups: Full CRUD for anti-affinity groups
Metadata & actions: Locations, images, server types, load balancer types, datacenters;
list_actions/get_actionto poll create/delete results
All operations work through natural language in Cursor's AI agent.
Installation
Install the plugin from the Cursor Plugin marketplace, then set your Hetzner API token: in Cursor Settings → Features → Model Context Protocol, find the hetzner-cloud server and set HCLOUD_TOKEN in its environment.
Usage
Ask Cursor's agent to manage your Hetzner infrastructure:
Simple
"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"
Complex
"Create a private network 10.0.0.0/16 in eu-central, add a subnet, then create two servers in that zone (e.g. fsn1 and nbg1) and attach them"
"Create a firewall for SSH and HTTP, attach to my web servers, then create a load balancer and add those servers as targets"
"List running actions and get status of action 12345"
"Create a Primary IP in ash-dc1, power off web-01, assign the IP, power back on"
"Tear down: detach/delete volumes, delete LB and firewall, unassign/delete floating IPs, delete servers web-01 and web-02"
Configuration
Set HCLOUD_TOKEN in your environment or configure in plugins/hetzner-mcp/mcp.json:
{
"mcpServers": {
"hetzner-cloud": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"HCLOUD_TOKEN": "your_token_here"
}
}
}
}Development
Source:
plugins/hetzner-mcp/src/Build:
npm run buildValidate:
npm run validate
See plugins/hetzner-mcp/README.md for detailed documentation.
License
MIT
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.