productivity
Hostinger CLI for Headless Automation
Use the Hostinger CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Hostinger 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 Hostinger CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Hostinger CLI for Headless Automation
kosmokrator integrations:configure hostinger --set access_token="$HOSTINGER_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call hostinger.hostinger_list_servers '{}' --json Discovery Before Execution
Agents and scripts can inspect Hostinger docs and schemas before choosing a function.
kosmo integrations:docs hostinger --json
kosmo integrations:docs hostinger.hostinger_list_servers --json
kosmo integrations:schema hostinger.hostinger_list_servers --json
kosmo integrations:search "Hostinger" --json
kosmo integrations:list --json Useful Hostinger CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
hostinger.hostinger_list_servers | Read | none | List all VPS servers in the Hostinger account. Returns server IDs, names, status, plan, and IP addresses. |
hostinger.hostinger_get_server | Read | server_id | Get details for a specific Hostinger VPS server by ID. Returns full server information including IP addresses, plan, and status. |
hostinger.hostinger_list_domains | Read | none | List all domains in the Hostinger account. Returns domain IDs, names, and status. |
hostinger.hostinger_get_domain | Read | domain_id | Get details for a specific domain in Hostinger by domain ID. Returns full domain information. |
hostinger.hostinger_list_dns_records | Read | domain_id | List DNS records for a specific domain in Hostinger. Returns all record types (A, AAAA, CNAME, MX, TXT, etc.). |
hostinger.hostinger_list_ssl | Read | none | List all SSL certificates in the Hostinger account. Returns certificate details including domain, status, and expiry. |
hostinger.hostinger_get_current_user | Read | none | Get information about the current authenticated Hostinger account, including email and user details. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.