Connector guide7-minute read31 MCP tools7 languages

Connect Hetzner to Microsoft Copilot via MCP

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.

HCBy HelpCode teamUpdated 7 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Hetzner Cloud

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.

tools

31

Region

INTL

Category

Infrastructure

Authentication

Bearer Token

Required env vars

HETZNER_CLOUD_API_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

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.

Guided setup

Connect Hetzner Cloud to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Hetzner Cloud in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Hetzner Cloud

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Hetzner Cloud · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Hetzner Cloud, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

Hetzner Cloud + Microsoft Copilot

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.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

HETZNER_CLOUD_API_TOKEN

Step 1 — Get credentials

  1. In the Hetzner Console, open your project, then Security → API tokens → Generate API token.
  2. Choose Read for a read-only connector, or Read & Write only if you plan to enable the power tools. Copy the token into HETZNER_CLOUD_API_TOKEN; Hetzner shows it only once. It is sent as Authorization: Bearer.
  3. A token belongs to one project, so create one connector per project.
  4. Start with hetzner_cloud_list_servers, then hetzner_cloud_get_server_metrics for a server's load and hetzner_cloud_get_pricing or hetzner_cloud_list_server_types for costs.

The power tools (hetzner_cloud_power_on_server, hetzner_cloud_power_off_server, hetzner_cloud_shutdown_server, hetzner_cloud_reboot_server, hetzner_cloud_reset_server) are installed switched off; enable them deliberately. Power off and reset cut the server like pulling the plug, so prefer shutdown or reboot. Each returns an action to poll with hetzner_cloud_get_action, and a server that is off is still billed. No tool creates, rebuilds or deletes anything. The API allows 3600 requests per hour per project. Hetzner Robot (dedicated servers) and Storage Boxes are not covered.

Step 2 — Install the 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

Step 3 — Add the connector in Microsoft Copilot

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.

  1. In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
  2. Enter a Server name (for example AnythingMCP), a Server description that says what the connector does, and the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server.
  3. Under authentication, choose API key, set Type to Header and the header name to X-API-Key, then select Create.
  4. In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
  5. Try it in the agent's Test pane: ask for something that needs the Hetzner Cloud tools.
  6. Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.

Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.

Available tools

ToolWhat it does
hetzner_cloud_list_serversList the servers of the project with status, server type, location, public and private IPs, image, labels, protection and traffic
hetzner_cloud_get_serverGet one server with status, type (cores, memory, disk), datacenter, public IPv4/IPv6, private networks, attached volumes, image, backup…
hetzner_cloud_get_server_metricsGet 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_actionsList the actions run on one server (power, rebuild, backup, attach, ...) with command, status, progress, start and finish times and errors
hetzner_cloud_get_actionGet one action by id: command, status (running, success, error), progress in percent, affected resources and the error if it failed
hetzner_cloud_list_imagesList images: system images (OS), app images, snapshots and backups, with type, OS flavor and version, architecture, size and the server it…
hetzner_cloud_get_imageGet one image: type, status, description, OS flavor and version, architecture, disk size, creation source, protection, labels and…
hetzner_cloud_list_volumesList block storage volumes with size in GB, location, the server they are attached to, Linux device path, format, protection and labels
hetzner_cloud_get_volumeGet one volume: size, location, attached server, Linux device path, filesystem format, protection, labels and creation time
hetzner_cloud_list_networksList private networks with IP range, subnets, routes, attached servers and load balancers, and protection
hetzner_cloud_get_networkGet one private network with its IP range, subnets (zone, type, gateway), routes, attached servers and load balancers
hetzner_cloud_list_firewallsList firewalls with their inbound and outbound rules (protocol, port, source and destination IPs) and the servers or label selectors they…
hetzner_cloud_get_firewallGet one firewall with every rule and the resources it is applied to
hetzner_cloud_list_load_balancersList load balancers with type, location, public and private IPs, algorithm, services (ports, protocol, health check) and targets
hetzner_cloud_get_load_balancerGet one load balancer with services, health checks, targets and their health status, algorithm, network attachments and included traffic
hetzner_cloud_get_load_balancer_metricsGet time series for one load balancer: open connections, connections per second, requests per second or bandwidth, between two RFC 3339…
hetzner_cloud_list_primary_ipsList primary IPs (the main public IPv4/IPv6 of servers) with address, type, datacenter, assignee, auto-delete flag and reverse DNS
hetzner_cloud_list_floating_ipsList floating IPs with address, type, home location, the server they point to, reverse DNS entries and protection
hetzner_cloud_list_ssh_keysList the SSH public keys stored in the project with name, fingerprint and labels
hetzner_cloud_list_certificatesList TLS certificates for load balancers (uploaded or managed by Let's Encrypt) with domains, validity dates and managed status
hetzner_cloud_list_server_typesList server types (for example cx22, cpx31, cax21) with cores, CPU type, architecture, memory, disk, included traffic and prices per…
hetzner_cloud_list_locationsList the locations (fsn1, nbg1, hel1, ash, hil, sin) with city, country, network zone and coordinates
hetzner_cloud_list_datacentersList datacenters with their location and which server types are supported and currently available there
hetzner_cloud_get_pricingGet 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_zonesList DNS zones hosted in Hetzner DNS (Cloud API) with name, mode (primary or secondary), TTL, record count, nameservers and protection
hetzner_cloud_list_zone_rrsetsList the DNS record sets of one zone (A, AAAA, CNAME, MX, TXT, ...) with name, type, TTL and values
hetzner_cloud_power_on_serverStart a server that is off
hetzner_cloud_power_off_serverCut the power of a server immediately, like pulling the plug
hetzner_cloud_shutdown_serverAsk the guest operating system to shut down gracefully (ACPI)
hetzner_cloud_reboot_serverAsk the guest operating system to reboot gracefully (ACPI soft reboot)

(showing 30 of 31 tools — install the connector to see them all)

FAQ

Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.

What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.

The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.

Next steps

Was this guide helpful?

Connect Hetzner Cloud to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Hetzner Cloud in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

Related guides

Connectors

Connect Hetzner to ChatGPT via MCP: Cloud Servers

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.

Connectors

Connect Hetzner to Claude via MCP: Server Metrics

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.

Connectors

Connect Hetzner to Cursor via MCP: Server Metrics

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.

Connectors

Connect Hetzner to Gemini CLI via MCP: Cloud Servers

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.

Connectors

Connect Hetzner to Meta Muse via MCP: Cloud Servers

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.

Connectors

Hetzner MCP Server: Servers, Metrics and Firewalls

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.