Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Hetzner Cloud CLI

$ hcloud Official High Risk
Hetzner Cloud · Cloud & Infra · MIT · macos / linux / windows

Hetzner Cloud CLI (hcloud) is a fast single-binary Go CLI for managing Hetzner Cloud servers, volumes, networks, firewalls, and DNS with -o json (--output json), -o columns=..., named project contexts, and --quiet.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install hcloud
CLI vs MCP Decision CLI Preferred vs MCP

hcloud delivers instant -o json responses from a single Go binary, making an MCP layer unnecessary.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Consistent -o json, -o columns=... tabular projection, and --quiet make hcloud clean and scriptable.

  • Supports -o json, -o columns=..., and --quiet
Trust & Safety 19 / 25

Project-scoped API tokens (HCLOUD_TOKEN) and named --context switching isolate projects cleanly, though --dry-run is absent.

  • Project-scoped tokens via hcloud context or HCLOUD_TOKEN
Setup & Portability 15 / 15

Zero-dependency static Go binary installable via Homebrew, go install, or release archives.

  • Static Go binary across macOS, Linux, and Windows
Utility & Efficiency 12 / 15

Concise command tree covers Hetzner Cloud compute, networking, and storage with minimal latency.

  • Fast single-binary execution with JSON output
Maintenance & Lineage 9 / 10

Official hetznercloud/cli repository actively maintained by Hetzner.

  • Official hetznercloud/cli under MIT
Docs & Verifiability 7 / 10

Clear Cobra-generated --help docs, though online reference is lighter than hyperscaler CLIs.

  • Built-in Cobra --help and README documentation

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Stores project tokens in ~/.config/hcloud/cli.toml, or reads HCLOUD_TOKEN from the environment.

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free (MIT); provisioning servers and volumes incurs Hetzner Cloud billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# hcloud Agent Rules
- Check `hcloud context active` or pass `--context` (or `HCLOUD_TOKEN`) explicitly.
- Always pass `-o json` on `list` and `describe` commands.
- Require user approval before running `hcloud server delete` or `hcloud volume delete`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect active project context
hcloud context active

Prints the currently selected Hetzner Cloud project context before issuing commands.

List cloud servers in JSON
hcloud server list -o json

Outputs all servers, IPs, server types, and statuses as JSON.

Strengths for Agents

  • + Tiny, fast static Go binary with -o json support.
  • + Project-scoped tokens and --context prevent cross-project mistakes.
  • + Clean Cobra CLI structure with predictable subcommands.

Caveats & Pitfalls

  • ! No --dry-run flag on create or delete commands.
  • ! Destructive delete commands execute immediately without a --force gate.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI