KosmoKrator

productivity

Hetzner Cloud CLI for Headless Automation

Use the Hetzner Cloud CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Bearer token auth

Hetzner Cloud CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Hetzner Cloud CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Hetzner Cloud CLI for Headless Automation
kosmokrator integrations:configure hetzner --set access_token="$HETZNER_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call hetzner.hetzner_list_servers '{"per_page":1,"page":1}' --json

Discovery Before Execution

Agents and scripts can inspect Hetzner Cloud docs and schemas before choosing a function.

kosmo integrations:docs hetzner --json
kosmo integrations:docs hetzner.hetzner_list_servers --json
kosmo integrations:schema hetzner.hetzner_list_servers --json
kosmo integrations:search "Hetzner Cloud" --json
kosmo integrations:list --json

Useful Hetzner Cloud CLI Functions

FunctionTypeParametersDescription
hetzner.hetzner_list_servers Read per_page, page List Hetzner Cloud servers. Supports pagination with per_page and page parameters.
hetzner.hetzner_get_server Read id Get details for a specific Hetzner Cloud server by ID.
hetzner.hetzner_create_server Write name, server_type, image, location, ssh_keys, networks, labels, user_data Create a new Hetzner Cloud server with specified name, type, and image.
hetzner.hetzner_list_volumes Read per_page, page List Hetzner Cloud volumes. Supports pagination with per_page and page parameters.
hetzner.hetzner_list_networks Read per_page, page List Hetzner Cloud networks. Supports pagination with per_page and page parameters.
hetzner.hetzner_list_ssh_keys Read per_page, page List Hetzner Cloud SSH keys. Supports pagination with per_page and page parameters.
hetzner.hetzner_get_current_user Read none Get the profile of the currently authenticated Hetzner Cloud user. Useful for verifying credentials and displaying account information.

Automation Notes

Related Hetzner Cloud CLI Pages