Catalog / Hetzner Cloud
Updated:
Connect Hetzner Cloud to Claude
In betaAsk Claude which server was busy last night, which firewall opens port 22 and what your project costs per month – straight from your Hetzner project.
Your address for Claudehttps://hetzner-acme.xenmcp.com/mcp
Hetzner has no MCP server of its own. XenMCP runs one for a Hetzner Cloud project, signed in with the project’s API token – “Read” is enough. Claude or ChatGPT sees servers and their CPU, disk and network load, volumes, networks, firewalls, load balancers with the health of their targets, IPs, snapshots and backups, certificates with their expiry, recent actions, DNS zones and Storage Boxes – and estimates the monthly costs from Hetzner’s prices.
Read-only by default. With read-only off the AI client takes a snapshot or reboots, powers on or shuts down a single server. Deleting, rebuilding, resizing and changing firewalls, networks or DNS are not possible.
What you can ask Claude
- Which server had the highest CPU load in the last 24 hours, and when?
- Which firewalls allow SSH from the whole internet?
- What does our project cost per month, and what do we spend the most on?
- Does a certificate expire in the next 30 days? Are all targets of the load balancer healthy?
- How full is the Storage Box with the backups?
Typical tools
project_info- Overview: number of servers, volumes, networks, firewalls, load balancers, IPs, snapshots, DNS zones, Storage Boxes; request limit left
list_servers / get_server- Servers with type, location, IPs, image, backups, protection, price; details with volumes, firewalls, traffic and last actions
server_metrics- CPU, disk and network of a server over a period: average, maximum, series
list_volumes / list_networks / list_firewalls / list_load_balancers / list_ips- Volumes, private networks, firewall rules, load balancers with target health, floating and primary IPs
list_images / list_certificates / list_ssh_keys / list_actions- Snapshots and backups, certificates with days left, SSH keys (fingerprints only), actions and failures
costs- Estimated monthly costs per resource and in total, net and gross
list_dns_zones / list_dns_records / list_storage_boxes- DNS zones and records, Storage Boxes with usage and access
create_snapshot / reboot / power_on / shutdown- Snapshot, reboot, power on, shut down one server (with read-only off, a Read & Write token)
Delete, rebuild, resize, firewalls, DNS- Not there
What you need to connect
- A Hetzner Cloud project
- An API token of the project (Hetzner Console → project → Security → API tokens); “Read” is enough
Security
- Best a token with “Read” only: then even an AI client with read-only switched off cannot change anything.
- Server user data (cloud-init, often with passwords) and public SSH keys appear in no answer.
- Even with read-only off: only a snapshot, reboot, power on or shutdown of one server per call; nothing is deleted or rebuilt.
- The token is stored encrypted with AES-256-GCM and never appears in answers. The sandbox reaches only Hetzner’s API; XenMCP’s call log keeps only tool, status and duration.
Built on
There is no open server for this system yet that meets our criteria. We are building one on the official API.
Frequently asked questions
Does Hetzner have an MCP server of its own?
No. There are open-source servers by individuals for your own computer – mostly with tools that create and delete servers. XenMCP runs its own, read-only by default, with sign-in per person.
Do I need a token with write access?
Only if the AI should take snapshots or reboot servers. For reading, “Read” is enough.
Does it work with dedicated servers (Robot)?
Not yet: dedicated servers have an API of their own with separate credentials. We plan that separately.
How exact are the costs?
An estimate from list prices per month. The invoice may differ (hourly billing, traffic beyond the included amount, discounts).
Guides
- Connect an MCP server to Claude – web, desktop, mobile and developer toolsConnect an MCP server to Claude – as a connector on the web and your phone, locally via claude_desktop_config.json, and with claude mcp add in Claude Code.
- Connect an MCP server to ChatGPT – step by stepHow to add a remote MCP server to ChatGPT as a custom plugin, sign in with OAuth and use its tools in a chat – and why API-key servers need a bridge.
- Using an MCP server with an API key in Claude – four ways comparedYour MCP server wants an API key in a header, but Claude is built around OAuth? Here are four ways to connect them – from request headers to an OAuth bridge.
- What is MCP? The Model Context Protocol explainedMCP connects AI assistants such as Claude or ChatGPT to your data and tools. How the protocol works, what the risks are and how to keep them small.
More servers
-
Docker
In beta
Ask Claude why a container restarted, what is in its logs and how much memory it uses – without SSH and without
docker logs. - Grafana In beta Ask about the logs, metrics and dashboards of your own Grafana in plain language – from Claude on the web, on your phone or in your IDE. XenMCP runs the official Grafana MCP server for you in Germany.
- Elasticsearch In beta Search the logs and data in your self-hosted Elasticsearch in plain language – from Claude on the web, on your phone or in your IDE.
Connect Hetzner Cloud to Claude?
Sign up and confirm your email. Servers marked “In beta” you can connect right after your invitation; for planned ones your interest decides the order.
Join the beta