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.

Features
- 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 server access
- View available images, server types, and locations
- Power on/off and reboot servers
- Simple, structured API for language model interaction
- Claude Code integration for managing Hetzner resources directly from Claude
Requirements
- Python 3.11+
- Hetzner Cloud API token
Installation
Method 1: Direct Installation
- Clone this repository:
git clone https://github.com/dkruyt/mcp-hetzner.git
cd mcp-hetzner- Install dependencies:
pip install -e .- Create a
.envfile and add your Hetzner Cloud API token:
HCLOUD_TOKEN=your_hetzner_cloud_api_token_hereMethod 2: Install as a Package
# Install directly from the repository
pip install git+https://github.com/dkruyt/mcp-hetzner.git





