productivity
Kamatera CLI for CI
Use the Kamatera CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write Bearer token auth
Kamatera 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 Kamatera CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Kamatera CLI for CI
kosmokrator integrations:configure kamatera --set access_token="$KAMATERA_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call kamatera.kamatera_list_servers '{}' --json Discovery Before Execution
Agents and scripts can inspect Kamatera docs and schemas 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 Useful Kamatera CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
kamatera.kamatera_list_servers | Read | none | List all cloud servers in the Kamatera account. Returns IDs, names, status, and configuration details. |
kamatera.kamatera_get_server | Read | id | Get details for a specific Kamatera cloud server by ID. Returns full server information including status, CPU, RAM, disk, and IP addresses. |
kamatera.kamatera_create_server | Write | name, datacenter, image, cpu, ram, disk, password, network, quantity | Create a new cloud server in Kamatera. Requires a name, datacenter, image, CPU count, RAM, and disk size. |
kamatera.kamatera_list_networks | Read | none | List all networks in the Kamatera account. Returns network IDs, names, datacenter, and CIDR details. |
kamatera.kamatera_list_images | Read | none | List all available images for server creation in Kamatera. Returns image IDs, names, OS type, and sizes. |
kamatera.kamatera_list_datacenters | Read | none | List all available Kamatera datacenter locations. Returns datacenter IDs, names, city, and country. |
kamatera.kamatera_get_current_user | Read | none | Get information about the current authenticated Kamatera account, including email, name, and account details. |
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.