Go MCP server for the Hetzner Cloud API

Go MCP server for the Hetzner Cloud API

mcp-hetzner-mahdadghasemian•bymahdadghasemian

A Go Model Context Protocol server that lets MCP clients inspect Hetzner Cloud resources via GET and LIST operations, with read-only mode by default and an optional read-write mode setting.

License: Not specified•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Exposes Hetzner Cloud API access through MCP, supporting GET and LIST operations for resources such as servers, networks, volumes, firewalls, load balancers, and pricing.
  • •Starts in read-only mode by default, restricting the client to inspection and monitoring until read-write mode is explicitly enabled.
  • •Provides a configuration flag to switch between read-only and read-write restriction modes at launch.
  • •Can be launched by an MCP client such as Claude Desktop using a configured executable path and an HCLOUD_TOKEN environment variable.

BEST FOR

  • •Inspecting and monitoring Hetzner Cloud resources such as servers, networks, and load balancers from an MCP client in the default read-only mode.
  • •Querying Hetzner Cloud information like locations, datacenters, server types, and pricing through an MCP-enabled assistant.
  • •Connecting Claude Desktop to Hetzner Cloud by configuring the server executable and an HCloud token.

ABOUT MCP-HETZNER-MAHDADGHASEMIAN

Go MCP server for the Hetzner Cloud API is cataloged as an MCP server attributed to mahdadghasemian. A Go Model Context Protocol server that lets MCP clients inspect Hetzner Cloud resources via GET and LIST operations, with read-only mode by default and an optional read-write mode setting. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Go MCP server for the Hetzner Cloud API are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What does read-only mode restrict the server to?

In read-only mode the server only allows GET and LIST operations, and this is the default mode on startup.

Which Hetzner Cloud resources have GET and LIST operations implemented?

The roadmap marks GET and LIST operations as implemented for certificates, SSH keys, locations, datacenters, firewall, floating IPs, servers, images, ISOs, placement groups, primary IPs, server types, load balancers, load balancer types, networks, volumes, and pricing.

Upstream README

View this exact version on GitHub

README.md · d654f56be25c · Fetched 2026-11-13 12:29:31 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Hetzner Go

A Go Model Context Protocol (MCP) server for interacting with the Hetzner Cloud API.

🎉 Now part of the official Awesome HCloud list!

Using with Claude Desktop

Create a file in ~/Library/Application Support/Claude/claude_desktop_config.json with the following contents:

{
  "mcpServers": {
    "hetzner": {
      "command": "<your path to golang MCP server go executable>",
      "env": {
        "HCLOUD_TOKEN": "YOUR-HCLOUD-TOKEN"
      }
    }
  }
}

🛠 Build Client

npm --prefix ./client i
npm --prefix ./client run build

🖥 Build Server

go mod init github.com/MahdadGhasemian/mcp-hetzner-go
go mod tidy
go build -o mcphetzner
# go run .

🚀 Run Client

node ./client/build/index.js ./mcphetzner

⚠️ Usage Restrictions

The server supports two operation modes, controlled by the configuration:

  • Read-Only mode: Only allows GET and LIST operations.
  • Read-Write mode: Allows GET, LIST, and CREATE/UPDATE/DELETE operations.

By default, the server starts in read-only mode.
To enable write operations (such as creating, updating, or deleting resources), you must explicitly set the configuration flag to enable read-write mode.

Warning: Enabling write mode allows the client to make changes to your Hetzner Cloud resources.
Ensure you understand the implications and have proper access controls in place.

Switching Modes

Edit your configuration or pass the relevant environment variable/flag at launch:

  • For read-only (default; safe for inspection and monitoring):
    ./mcphetzner --restriction=read_only
    
  • For read-write (use with caution!):
    ./mcphetzner --restriction=read_write
    

✅ Lint

# install golangci-lint and then run:
golangci-lint run

🔍 Inspector

npx @modelcontextprotocol/inspector

🗺 Roadmap

  • Implement all GET and LIST operations for:

    • Certificates
    • SSH Keys
    • Locations
    • Datacenters
    • Firewall
    • Floating IPs
    • Servers
    • Images
    • ISOs
    • Placement Groups
    • Primary IPs
    • Server Types
    • Load Balancers
    • Load Balancer Types
    • Networks
    • Volumes
    • Pricing
  • Add a configuration flag or setting to:

    • Enable read_only mode (GET/LIST only)
    • Enable read_write mode (GET/LIST + CREATE/UPDATE/DELETE)
  • Implement write operations (create/update):

    • Certificates
    • SSH Keys
    • Firewall
    • Floating IPs
    • Servers
    • Images
    • Placement Groups
    • Primary IPs
    • Load Balancers
    • Networks
    • Volumes
  • Add delete capabilities for supported resources

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Go MCP server for the Hetzner Cloud API from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-hetzner-mahdadghasemian)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps