KosmoKrator

productivity

UpCloud CLI for AI Agents

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

7 functions 7 read 0 write Bearer token auth

UpCloud CLI Setup

UpCloud can be configured headlessly with `kosmokrator integrations:configure upcloud`.

# 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 upcloud --set access_token="$UPCLOUD_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor upcloud --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 UPCLOUD_ACCESS_TOKEN Secret secret yes API Token
url UPCLOUD_URL URL url no API Base URL

Call UpCloud Headlessly

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

kosmo integrations:call upcloud.upcloud_list_servers '{}' --json

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

kosmo integrations:upcloud upcloud_list_servers '{}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs upcloud --json
kosmo integrations:docs upcloud.upcloud_list_servers --json
kosmo integrations:schema upcloud.upcloud_list_servers --json
kosmo integrations:search "UpCloud" --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 UpCloud.

upcloud.upcloud_list_servers

Read read

List all cloud servers on the UpCloud account.

Parameters
none

Generic CLI call

kosmo integrations:call upcloud.upcloud_list_servers '{}' --json

Provider shortcut

kosmo integrations:upcloud upcloud_list_servers '{}' --json

upcloud.upcloud_get_server

Read read

Get details for a specific UpCloud server by UUID.

Parameters
uuid

Generic CLI call

kosmo integrations:call upcloud.upcloud_get_server '{"uuid":"example_uuid"}' --json

Provider shortcut

kosmo integrations:upcloud upcloud_get_server '{"uuid":"example_uuid"}' --json

upcloud.upcloud_list_storages

Read read

List storage devices on the UpCloud account. Optionally filter by type (disk, backup, cdrom).

Parameters
type

Generic CLI call

kosmo integrations:call upcloud.upcloud_list_storages '{"type":"example_type"}' --json

Provider shortcut

kosmo integrations:upcloud upcloud_list_storages '{"type":"example_type"}' --json

upcloud.upcloud_list_networks

Read read

List private networks on the UpCloud account.

Parameters
none

Generic CLI call

kosmo integrations:call upcloud.upcloud_list_networks '{}' --json

Provider shortcut

kosmo integrations:upcloud upcloud_list_networks '{}' --json

upcloud.upcloud_list_ips

Read read

List IP addresses on the UpCloud account.

Parameters
none

Generic CLI call

kosmo integrations:call upcloud.upcloud_list_ips '{}' --json

Provider shortcut

kosmo integrations:upcloud upcloud_list_ips '{}' --json

upcloud.upcloud_list_zones

Read read

List available UpCloud zones (data centers).

Parameters
none

Generic CLI call

kosmo integrations:call upcloud.upcloud_list_zones '{}' --json

Provider shortcut

kosmo integrations:upcloud upcloud_list_zones '{}' --json

upcloud.upcloud_get_current_user

Read read

Get the profile of the currently authenticated UpCloud user. Useful for verifying credentials and displaying account information.

Parameters
none

Generic CLI call

kosmo integrations:call upcloud.upcloud_get_current_user '{}' --json

Provider shortcut

kosmo integrations:upcloud upcloud_get_current_user '{}' --json

Function Schemas

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

upcloud.upcloud_list_servers

List all cloud servers on the UpCloud account.

Operation
Read read
Schema command
kosmo integrations:schema upcloud.upcloud_list_servers --json
ParameterTypeRequiredDescription
No parameters.

upcloud.upcloud_get_server

Get details for a specific UpCloud server by UUID.

Operation
Read read
Schema command
kosmo integrations:schema upcloud.upcloud_get_server --json
ParameterTypeRequiredDescription
uuid string yes The server UUID.

upcloud.upcloud_list_storages

List storage devices on the UpCloud account. Optionally filter by type (disk, backup, cdrom).

Operation
Read read
Schema command
kosmo integrations:schema upcloud.upcloud_list_storages --json
ParameterTypeRequiredDescription
type string no Storage type filter: "disk", "backup", or "cdrom".

upcloud.upcloud_list_networks

List private networks on the UpCloud account.

Operation
Read read
Schema command
kosmo integrations:schema upcloud.upcloud_list_networks --json
ParameterTypeRequiredDescription
No parameters.

upcloud.upcloud_list_ips

List IP addresses on the UpCloud account.

Operation
Read read
Schema command
kosmo integrations:schema upcloud.upcloud_list_ips --json
ParameterTypeRequiredDescription
No parameters.

upcloud.upcloud_list_zones

List available UpCloud zones (data centers).

Operation
Read read
Schema command
kosmo integrations:schema upcloud.upcloud_list_zones --json
ParameterTypeRequiredDescription
No parameters.

upcloud.upcloud_get_current_user

Get the profile of the currently authenticated UpCloud user. Useful for verifying credentials and displaying account information.

Operation
Read read
Schema command
kosmo integrations:schema upcloud.upcloud_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.