KosmoKrator

productivity

Contabo CLI for Shell Scripts

Use the Contabo CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Bearer token auth

Contabo CLI for Shell Scripts

Call integration functions from shell scripts with stable JSON input and output.

Use shell scripts for small local automations that need one or more integration calls. The Contabo CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Contabo CLI for Shell Scripts
kosmokrator integrations:configure contabo --set access_token="$CONTABO_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call contabo.contabo_list_instances '{"page":1,"per_page":1}' --json

Discovery Before Execution

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

kosmo integrations:docs contabo --json
kosmo integrations:docs contabo.contabo_list_instances --json
kosmo integrations:schema contabo.contabo_list_instances --json
kosmo integrations:search "Contabo" --json
kosmo integrations:list --json

Useful Contabo CLI Functions

FunctionTypeParametersDescription
contabo.contabo_list_instances Read page, per_page List all compute instances (VPS) in the Contabo account. Returns IDs, names, status, region, and IP addresses.
contabo.contabo_get_instance Read id Get details for a specific Contabo compute instance (VPS) by ID. Returns full instance information including IP addresses, region, and configuration.
contabo.contabo_list_snapshots Read page, per_page List all snapshots in the Contabo account. Returns snapshot IDs, names, instance IDs, and creation dates.
contabo.contabo_list_images Read page, per_page List all custom images in the Contabo account. Returns image IDs, names, OS type, and size.
contabo.contabo_list_networks Read page, per_page List all private networks in the Contabo account. Returns network IDs, names, regions, and CIDR ranges.
contabo.contabo_list_ssh_keys Read none List all registered SSH keys in the Contabo account. Returns key IDs, names, and fingerprints.
contabo.contabo_get_current_user Read none Get information about the current authenticated Contabo account, including email, tenant, and user ID.

Automation Notes

Related Contabo CLI Pages