productivity
Contabo CLI for CI
Use the Contabo CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Contabo CLI for CI
Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.
Use this shape when a pipeline needs to read or update an external service. 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 CI
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
| Function | Type | Parameters | Description |
|---|---|---|---|
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
- 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.