Hetzner MCP
Allows management of Hetzner Cloud infrastructure, including creating and resizing servers, configuring load balancers, managing private networks, volumes, firewalls, and SSH keys.
Click on "Deploy 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.
Related MCP server: mcp-hetzner
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 deployed
Maintenance
Related MCP Connectors
- mcpOAuthnet.hepcloud
Manage HepCloud (Turkish cloud) servers and managed PostgreSQL from your AI assistant. OAuth 2.1.
Your AI Agent's Infrastructure Layer. Connect Claude, Copilot, Codex, or ChatGPT to 200+ managed open source services. Start databases, pipelines, and applications through natural language.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
European cloud hosting. Deploy and manage apps with your favorite AI coding assistant.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol server for the Hetzner Cloud API that enables natural language management of cloud infrastructure. Users can list, create, and modify servers, networks, volumes, and load balancers through MCP-compatible clients.6739 npmMIT
- AlicenseBqualityDmaintenanceEnables conversational management of Hetzner Cloud, DNS, and Storage Box infrastructure through 137 MCP tools for CRUD operations and actions like server power control, DNS zone management, and storage box snapshots.100MIT
- AlicenseAqualityDmaintenanceEnables Claude Code to manage Hetzner Cloud servers, including creating, deleting, powering on/off, and rebooting servers, as well as managing SSH keys and listing resources.149 npm1MIT
- AlicenseBqualityAmaintenanceManage your entire Hetzner platform from any AI assistant. Cloud servers, networks, volumes, firewalls, load balancers, IPs and DNS, plus Storage Boxes and Robot dedicated servers, with a hard cost guard.3487 npm11-