跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Hetzner Cloud,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
Hetzner Cloud:带指标和操作记录的服务器、镜像和快照、卷、网络、防火墙、负载均衡器、IP、SSH 密钥、证书、DNS 区域、服务器类型和价格。电源操作工具安装时默认关闭。使用项目 token 访问 Hetzner Cloud API v1。
试试这样问
Hetzner Cloud 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Hetzner Cloud、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Hetzner Cloud + Meta Muse
Hetzner Cloud:带指标和操作记录的服务器、镜像和快照、卷、网络、防火墙、负载均衡器、IP、SSH 密钥、证书、DNS 区域、服务器类型和价格。电源操作工具安装时默认关闭。使用项目 token 访问 Hetzner Cloud API v1。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
HETZNER_CLOUD_API_TOKEN
步骤 1 — 获取凭证
- 在 Hetzner Console 中打开你的项目,然后进入 Security → API tokens → Generate API token。
- 只读连接器选择 Read;只有打算启用电源操作工具时才选择 Read & Write。将 token 复制到
HETZNER_CLOUD_API_TOKEN;Hetzner 只显示一次。它以Authorization: Bearer发送。 - 一个 token 只属于一个项目,因此每个项目创建一个连接器。
- 先用
hetzner_cloud_list_servers,再用hetzner_cloud_get_server_metrics查看服务器负载,用hetzner_cloud_get_pricing或hetzner_cloud_list_server_types查看费用。
电源操作工具(hetzner_cloud_power_on_server、hetzner_cloud_power_off_server、hetzner_cloud_shutdown_server、hetzner_cloud_reboot_server、hetzner_cloud_reset_server)安装时默认关闭,请有意识地启用。power off 和 reset 会像拔掉电源一样切断服务器,因此优先使用 shutdown 或 reboot。每个工具都返回一个操作,用 hetzner_cloud_get_action 轮询其状态;关机的服务器仍会计费。没有任何工具会创建、重建或删除资源。API 每个项目每小时最多 3600 个请求。不包括 Hetzner Robot(独立服务器)和 Storage Box。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
Hetzner Cloud的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
hetzner_cloud_list_servers | List the servers of the project with status, server type, location, public and private IPs, image, labels, protection and traffic |
hetzner_cloud_get_server | Get one server with status, type (cores, memory, disk), datacenter, public IPv4/IPv6, private networks, attached volumes, image, backup… |
hetzner_cloud_get_server_metrics | Get time series for one server: cpu usage, disk IOPS and bandwidth, or network packets and bandwidth, between two RFC 3339 times |
hetzner_cloud_list_server_actions | List the actions run on one server (power, rebuild, backup, attach, ...) with command, status, progress, start and finish times and errors |
hetzner_cloud_get_action | Get one action by id: command, status (running, success, error), progress in percent, affected resources and the error if it failed |
hetzner_cloud_list_images | List images: system images (OS), app images, snapshots and backups, with type, OS flavor and version, architecture, size and the server it… |
hetzner_cloud_get_image | Get one image: type, status, description, OS flavor and version, architecture, disk size, creation source, protection, labels and… |
hetzner_cloud_list_volumes | List block storage volumes with size in GB, location, the server they are attached to, Linux device path, format, protection and labels |
hetzner_cloud_get_volume | Get one volume: size, location, attached server, Linux device path, filesystem format, protection, labels and creation time |
hetzner_cloud_list_networks | List private networks with IP range, subnets, routes, attached servers and load balancers, and protection |
hetzner_cloud_get_network | Get one private network with its IP range, subnets (zone, type, gateway), routes, attached servers and load balancers |
hetzner_cloud_list_firewalls | List firewalls with their inbound and outbound rules (protocol, port, source and destination IPs) and the servers or label selectors they… |
hetzner_cloud_get_firewall | Get one firewall with every rule and the resources it is applied to |
hetzner_cloud_list_load_balancers | List load balancers with type, location, public and private IPs, algorithm, services (ports, protocol, health check) and targets |
hetzner_cloud_get_load_balancer | Get one load balancer with services, health checks, targets and their health status, algorithm, network attachments and included traffic |
hetzner_cloud_get_load_balancer_metrics | Get time series for one load balancer: open connections, connections per second, requests per second or bandwidth, between two RFC 3339… |
hetzner_cloud_list_primary_ips | List primary IPs (the main public IPv4/IPv6 of servers) with address, type, datacenter, assignee, auto-delete flag and reverse DNS |
hetzner_cloud_list_floating_ips | List floating IPs with address, type, home location, the server they point to, reverse DNS entries and protection |
hetzner_cloud_list_ssh_keys | List the SSH public keys stored in the project with name, fingerprint and labels |
hetzner_cloud_list_certificates | List TLS certificates for load balancers (uploaded or managed by Let's Encrypt) with domains, validity dates and managed status |
hetzner_cloud_list_server_types | List server types (for example cx22, cpx31, cax21) with cores, CPU type, architecture, memory, disk, included traffic and prices per… |
hetzner_cloud_list_locations | List the locations (fsn1, nbg1, hel1, ash, hil, sin) with city, country, network zone and coordinates |
hetzner_cloud_list_datacenters | List datacenters with their location and which server types are supported and currently available there |
hetzner_cloud_get_pricing | Get the full price list of the project: per server type and location (hourly and monthly, net and gross), volumes per GB, primary and… |
hetzner_cloud_list_zones | List DNS zones hosted in Hetzner DNS (Cloud API) with name, mode (primary or secondary), TTL, record count, nameservers and protection |
hetzner_cloud_list_zone_rrsets | List the DNS record sets of one zone (A, AAAA, CNAME, MX, TXT, ...) with name, type, TTL and values |
hetzner_cloud_power_on_server | Start a server that is off |
hetzner_cloud_power_off_server | Cut the power of a server immediately, like pulling the plug |
hetzner_cloud_shutdown_server | Ask the guest operating system to shut down gracefully (ACPI) |
hetzner_cloud_reboot_server | Ask the guest operating system to reboot gracefully (ACPI soft reboot) |
(showing 30 of 31 tools — install the connector to see them all)
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?