Skip to main content
Glama
nityeshaga

hetzner-mcp-server

by nityeshaga

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HETZNER_API_TOKENYesYour Hetzner API token with Read & Write permissions

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
hetzner_list_server_typesA

List all available server types (instance sizes) with their specs and pricing.

Returns information about available server configurations including:

  • Name (e.g., "cx22", "cpx11")

  • CPU cores and type

  • Memory (GB)

  • Disk size (GB)

  • Hourly and monthly pricing

Use this to find the right server type when creating a new server.

hetzner_list_imagesA

List available OS images for creating servers.

Returns system images (operating systems) like Ubuntu, Debian, CentOS, etc. Each image includes:

  • Name (e.g., "ubuntu-24.04")

  • OS flavor and version

  • Architecture (x86 or arm)

Use this to find the right image when creating a new server.

hetzner_list_locationsA

List available datacenter locations.

Returns all Hetzner datacenter locations where you can create servers:

  • Location code (e.g., "fsn1", "nbg1", "hel1")

  • City and country

  • Network zone

Use this to choose where to deploy your server.

hetzner_list_ssh_keysA

List all SSH keys in the project.

Returns all SSH public keys that have been added to this project. SSH keys are used to authenticate when connecting to servers.

hetzner_get_ssh_keyA

Get details of a specific SSH key by ID.

hetzner_create_ssh_keyA

Add a new SSH public key to the project.

The SSH key can then be used when creating servers to enable SSH access.

Args:

  • name: A name for the SSH key (e.g., "my-laptop")

  • public_key: The SSH public key content (starts with "ssh-rsa", "ssh-ed25519", etc.)

  • labels: Optional key-value labels for organization

hetzner_delete_ssh_keyA

Delete an SSH key from the project.

This does NOT affect existing servers that were created with this key. They will continue to work with the key.

hetzner_list_serversA

List all servers in the project.

Returns all servers with their:

  • Name and ID

  • Status (running, off, etc.)

  • IP addresses

  • Server type (CPU, RAM, disk)

  • Location

  • Image/OS

hetzner_get_serverA

Get detailed information about a specific server.

hetzner_create_serverA

Create a new server.

Required parameters:

  • name: Server name (letters, digits, hyphens)

  • server_type: Instance size (e.g., "cx22", "cpx11"). Use hetzner_list_server_types to see options.

  • image: OS image (e.g., "ubuntu-24.04"). Use hetzner_list_images to see options.

Optional parameters:

  • location: Datacenter (e.g., "fsn1", "nbg1"). Use hetzner_list_locations to see options.

  • ssh_keys: List of SSH key names or IDs for server access

  • labels: Key-value labels for organization

Returns the new server details including IP address and root password (if no SSH keys specified).

hetzner_delete_serverA

Delete a server permanently.

⚠️ This action is irreversible. All data on the server will be lost.

hetzner_power_on_serverA

Power on a server that is currently off.

hetzner_power_off_serverA

Power off a server (hard shutdown).

This is like pulling the power cord. For a graceful shutdown, SSH into the server and run 'shutdown'.

hetzner_reboot_serverA

Reboot a server (hard reset).

This is like pressing the reset button. For a graceful reboot, SSH into the server and run 'reboot'.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nityeshaga/hetzner-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server