KosmoKrator

productivity

Kamatera CLI for AI Agents

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

7 functions 6 read 1 write Bearer token auth

Kamatera CLI Setup

Kamatera can be configured headlessly with `kosmokrator integrations:configure kamatera`.

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

Call Kamatera Headlessly

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

kosmo integrations:call kamatera.kamatera_list_servers '{}' --json

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

kosmo integrations:kamatera kamatera_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 kamatera --json
kosmo integrations:docs kamatera.kamatera_list_servers --json
kosmo integrations:schema kamatera.kamatera_list_servers --json
kosmo integrations:search "Kamatera" --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 Kamatera.

kamatera.kamatera_list_servers

Read read

List all cloud servers in the Kamatera account. Returns IDs, names, status, and configuration details.

Parameters
none

Generic CLI call

kosmo integrations:call kamatera.kamatera_list_servers '{}' --json

Provider shortcut

kosmo integrations:kamatera kamatera_list_servers '{}' --json

kamatera.kamatera_get_server

Read read

Get details for a specific Kamatera cloud server by ID. Returns full server information including status, CPU, RAM, disk, and IP addresses.

Parameters
id

Generic CLI call

kosmo integrations:call kamatera.kamatera_get_server '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:kamatera kamatera_get_server '{"id":"example_id"}' --json

kamatera.kamatera_create_server

Write write

Create a new cloud server in Kamatera. Requires a name, datacenter, image, CPU count, RAM, and disk size.

Parameters
name, datacenter, image, cpu, ram, disk, password, network, quantity

Generic CLI call

kosmo integrations:call kamatera.kamatera_create_server '{"name":"example_name","datacenter":"example_datacenter","image":"example_image","cpu":1,"ram":1,"disk":1,"password":"example_password","network":"example_network"}' --json

Provider shortcut

kosmo integrations:kamatera kamatera_create_server '{"name":"example_name","datacenter":"example_datacenter","image":"example_image","cpu":1,"ram":1,"disk":1,"password":"example_password","network":"example_network"}' --json

kamatera.kamatera_list_networks

Read read

List all networks in the Kamatera account. Returns network IDs, names, datacenter, and CIDR details.

Parameters
none

Generic CLI call

kosmo integrations:call kamatera.kamatera_list_networks '{}' --json

Provider shortcut

kosmo integrations:kamatera kamatera_list_networks '{}' --json

kamatera.kamatera_list_images

Read read

List all available images for server creation in Kamatera. Returns image IDs, names, OS type, and sizes.

Parameters
none

Generic CLI call

kosmo integrations:call kamatera.kamatera_list_images '{}' --json

Provider shortcut

kosmo integrations:kamatera kamatera_list_images '{}' --json

kamatera.kamatera_list_datacenters

Read read

List all available Kamatera datacenter locations. Returns datacenter IDs, names, city, and country.

Parameters
none

Generic CLI call

kosmo integrations:call kamatera.kamatera_list_datacenters '{}' --json

Provider shortcut

kosmo integrations:kamatera kamatera_list_datacenters '{}' --json

kamatera.kamatera_get_current_user

Read read

Get information about the current authenticated Kamatera account, including email, name, and account details.

Parameters
none

Generic CLI call

kosmo integrations:call kamatera.kamatera_get_current_user '{}' --json

Provider shortcut

kosmo integrations:kamatera kamatera_get_current_user '{}' --json

Function Schemas

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

kamatera.kamatera_list_servers

List all cloud servers in the Kamatera account. Returns IDs, names, status, and configuration details.

Operation
Read read
Schema command
kosmo integrations:schema kamatera.kamatera_list_servers --json
ParameterTypeRequiredDescription
No parameters.

kamatera.kamatera_get_server

Get details for a specific Kamatera cloud server by ID. Returns full server information including status, CPU, RAM, disk, and IP addresses.

Operation
Read read
Schema command
kosmo integrations:schema kamatera.kamatera_get_server --json
ParameterTypeRequiredDescription
id string yes The server ID.

kamatera.kamatera_create_server

Create a new cloud server in Kamatera. Requires a name, datacenter, image, CPU count, RAM, and disk size.

Operation
Write write
Schema command
kosmo integrations:schema kamatera.kamatera_create_server --json
ParameterTypeRequiredDescription
name string yes The server name.
datacenter string yes The datacenter ID (e.g. "IL-JER").
image string yes The image ID or name for the OS to install.
cpu integer yes Number of vCPUs.
ram integer yes RAM in MB.
disk integer yes Disk size in GB.
password string no Root password for the server. Auto-generated if omitted.
network string no Network ID to attach the server to.
quantity integer no Number of servers to create with this configuration.

kamatera.kamatera_list_networks

List all networks in the Kamatera account. Returns network IDs, names, datacenter, and CIDR details.

Operation
Read read
Schema command
kosmo integrations:schema kamatera.kamatera_list_networks --json
ParameterTypeRequiredDescription
No parameters.

kamatera.kamatera_list_images

List all available images for server creation in Kamatera. Returns image IDs, names, OS type, and sizes.

Operation
Read read
Schema command
kosmo integrations:schema kamatera.kamatera_list_images --json
ParameterTypeRequiredDescription
No parameters.

kamatera.kamatera_list_datacenters

List all available Kamatera datacenter locations. Returns datacenter IDs, names, city, and country.

Operation
Read read
Schema command
kosmo integrations:schema kamatera.kamatera_list_datacenters --json
ParameterTypeRequiredDescription
No parameters.

kamatera.kamatera_get_current_user

Get information about the current authenticated Kamatera account, including email, name, and account details.

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