KosmoKrator

productivity

Contabo CLI for AI Agents

Use the Contabo CLI from KosmoKrator to call Contabo tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write Bearer token auth

Contabo CLI Setup

Contabo can be configured headlessly with `kosmokrator integrations:configure contabo`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure contabo --set access_token="$CONTABO_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor contabo --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token CONTABO_ACCESS_TOKEN Secret secret yes Access Token
url CONTABO_URL URL url no API Base URL

Call Contabo Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call contabo.contabo_list_instances '{
  "page": 1,
  "per_page": 1
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:contabo contabo_list_instances '{
  "page": 1,
  "per_page": 1
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities 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

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Contabo.

contabo.contabo_list_instances

Read read

List all compute instances (VPS) in the Contabo account. Returns IDs, names, status, region, and IP addresses.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call contabo.contabo_list_instances '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:contabo contabo_list_instances '{"page":1,"per_page":1}' --json

contabo.contabo_get_instance

Read read

Get details for a specific Contabo compute instance (VPS) by ID. Returns full instance information including IP addresses, region, and configuration.

Parameters
id

Generic CLI call

kosmo integrations:call contabo.contabo_get_instance '{"id":1}' --json

Provider shortcut

kosmo integrations:contabo contabo_get_instance '{"id":1}' --json

contabo.contabo_list_snapshots

Read read

List all snapshots in the Contabo account. Returns snapshot IDs, names, instance IDs, and creation dates.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call contabo.contabo_list_snapshots '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:contabo contabo_list_snapshots '{"page":1,"per_page":1}' --json

contabo.contabo_list_images

Read read

List all custom images in the Contabo account. Returns image IDs, names, OS type, and size.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call contabo.contabo_list_images '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:contabo contabo_list_images '{"page":1,"per_page":1}' --json

contabo.contabo_list_networks

Read read

List all private networks in the Contabo account. Returns network IDs, names, regions, and CIDR ranges.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call contabo.contabo_list_networks '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:contabo contabo_list_networks '{"page":1,"per_page":1}' --json

contabo.contabo_list_ssh_keys

Read read

List all registered SSH keys in the Contabo account. Returns key IDs, names, and fingerprints.

Parameters
none

Generic CLI call

kosmo integrations:call contabo.contabo_list_ssh_keys '{}' --json

Provider shortcut

kosmo integrations:contabo contabo_list_ssh_keys '{}' --json

contabo.contabo_get_current_user

Read read

Get information about the current authenticated Contabo account, including email, tenant, and user ID.

Parameters
none

Generic CLI call

kosmo integrations:call contabo.contabo_get_current_user '{}' --json

Provider shortcut

kosmo integrations:contabo contabo_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

contabo.contabo_list_instances

List all compute instances (VPS) in the Contabo account. Returns IDs, names, status, region, and IP addresses.

Operation
Read read
Schema command
kosmo integrations:schema contabo.contabo_list_instances --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of instances per page (default: 20).

contabo.contabo_get_instance

Get details for a specific Contabo compute instance (VPS) by ID. Returns full instance information including IP addresses, region, and configuration.

Operation
Read read
Schema command
kosmo integrations:schema contabo.contabo_get_instance --json
ParameterTypeRequiredDescription
id integer yes The instance ID.

contabo.contabo_list_snapshots

List all snapshots in the Contabo account. Returns snapshot IDs, names, instance IDs, and creation dates.

Operation
Read read
Schema command
kosmo integrations:schema contabo.contabo_list_snapshots --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of snapshots per page (default: 20).

contabo.contabo_list_images

List all custom images in the Contabo account. Returns image IDs, names, OS type, and size.

Operation
Read read
Schema command
kosmo integrations:schema contabo.contabo_list_images --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of images per page (default: 20).

contabo.contabo_list_networks

List all private networks in the Contabo account. Returns network IDs, names, regions, and CIDR ranges.

Operation
Read read
Schema command
kosmo integrations:schema contabo.contabo_list_networks --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of networks per page (default: 20).

contabo.contabo_list_ssh_keys

List all registered SSH keys in the Contabo account. Returns key IDs, names, and fingerprints.

Operation
Read read
Schema command
kosmo integrations:schema contabo.contabo_list_ssh_keys --json
ParameterTypeRequiredDescription
No parameters.

contabo.contabo_get_current_user

Get information about the current authenticated Contabo account, including email, tenant, and user ID.

Operation
Read read
Schema command
kosmo integrations:schema contabo.contabo_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.