MCP.so
Sign In

Hetzner Cloud MCP Server

@dkruyt

About Hetzner Cloud MCP Server

A Model Context Protocol (MCP) server for interacting with the Hetzner Cloud API. This server allows language models to manage Hetzner Cloud resources through structured functions.

Basic information

Category

Other

License

MIT

Runtime

python

Transports

stdio

Publisher

dkruyt

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-hetzner": {
      "command": "python",
      "args": [
        "-m",
        "mcp_hetzner"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Hetzner Cloud MCP Server?

A Model Context Protocol (MCP) server that allows language models to manage Hetzner Cloud resources through structured functions. It integrates with the Hetzner Cloud API to manage servers, volumes, firewalls, SSH keys, and available infrastructure options.

How to use Hetzner Cloud MCP Server?

Install via pip or clone the repository, then create a .env file with your HCLOUD_TOKEN. Run the server with mcp-hetzner (or python -m mcp_hetzner). It supports both stdio (default) and SSE transports, and can be connected to Claude Code for interactive management.

Key features of Hetzner Cloud MCP Server

  • List, create, and manage Hetzner Cloud servers
  • Create, attach, detach, and resize volumes
  • Manage firewall rules and apply them to servers
  • Create and manage SSH keys for secure access
  • View available images, server types, and locations
  • Power on/off and reboot servers

Use cases of Hetzner Cloud MCP Server

  • Provision and manage cloud servers from a language model
  • Attach and manage block storage volumes to servers
  • Configure firewall rules and apply them to specific servers
  • Manage SSH keys for secure server access
  • Explore available infrastructure resources for planning

FAQ from Hetzner Cloud MCP Server

What are the requirements?

Python 3.11+ and a Hetzner Cloud API token are required.

What transport modes are supported?

Two modes: stdio (default, used with Claude Code) and SSE (Server-Sent Events, suitable for HTTP clients).

Can I customize the host and port?

Yes, by setting the MCP_HOST and MCP_PORT environment variables or using the --port command line argument.

How do I connect Claude Code to the server?

Start the server with SSE transport (mcp-hetzner --transport sse --port 8080) and then connect Claude Code using claude-code --mcp-server localhost:8080.

Comments

More Other MCP servers