Hetzner Cloud
Hetzner Cloud: servers with metrics and actions, images and snapshots, volumes, networks, firewalls, load balancers, IPs, SSH keys, certificates, DNS zones, server types and pricing. Power tools are installed disabled. Hetzner Cloud API v1 with a project token.
7 天免费 · 无需信用卡 · EU 托管
问 Hetzner 任何事
通过 AnythingMCP 对 Hetzner Cloud 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 HetznerClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 Hetzner Cloud。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 Hetzner Cloud
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Hetzner Cloud
This connector uses the Hetzner Cloud API (https://api.hetzner.cloud/v1): servers, images and snapshots, volumes, private networks, firewalls, load balancers, IPs, SSH keys, certificates, DNS zones, pricing and actions. It does not cover Hetzner Robot (dedicated servers) or Storage Boxes.
Setup
In the Hetzner Console open your project, then Security > API tokens > Generate API token. Choose Read for a read-only connector, or Read & Write if you plan to enable the power tools. Copy the token into HETZNER_CLOUD_API_TOKEN; it is shown only once. A token belongs to one project: create one connector per project. It is sent as Authorization: Bearer <token>.
Start here
hetzner_cloud_list_servers for what is running, hetzner_cloud_get_server for one server, hetzner_cloud_get_server_metrics for its load, hetzner_cloud_get_pricing and hetzner_cloud_list_server_types for costs. Ids are integers; most list tools also filter by exact name and by label_selector (env=prod, env in (prod,staging), !temporary).
Pagination and limits
Lists return meta.pagination with page, per_page, next_page and total_entries. Use page and per_page (at most 50) and stop when next_page is null. The API allows 3600 requests per hour per project; the bucket refills one request per second. A 429 means wait.
Metrics
start and end are RFC 3339 times. Keep the window reasonable (hours or days); step sets the resolution in seconds.
Power tools (disabled by default)
hetzner_cloud_power_on_server, hetzner_cloud_power_off_server, hetzner_cloud_shutdown_server, hetzner_cloud_reboot_server and hetzner_cloud_reset_server are installed switched off. Enable them deliberately, with a Read & Write token. Power off and reset cut the server like pulling the plug; prefer shutdown or reboot, which ask the OS. Every power tool returns an action: poll hetzner_cloud_get_action until its status is success or error. A server that is off is still billed. This connector has no tool that deletes, creates or rebuilds anything.