productivity
Cloudways CLI for CI
Use the Cloudways CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Cloudways 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 Cloudways CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Cloudways CLI for CI
kosmokrator integrations:configure cloudways --set access_token="$CLOUDWAYS_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call cloudways.cloudways_list_servers '{}' --json Discovery Before Execution
Agents and scripts can inspect Cloudways docs and schemas before choosing a function.
kosmo integrations:docs cloudways --json
kosmo integrations:docs cloudways.cloudways_list_servers --json
kosmo integrations:schema cloudways.cloudways_list_servers --json
kosmo integrations:search "Cloudways" --json
kosmo integrations:list --json Useful Cloudways CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
cloudways.cloudways_list_servers | Read | none | List all servers in the Cloudways account. |
cloudways.cloudways_get_server | Read | server_id | Get details for a specific Cloudways server. |
cloudways.cloudways_list_apps | Read | none | List all applications across all servers in the Cloudways account. |
cloudways.cloudways_get_app | Read | server_id, app_id | Get details for a specific Cloudways application. |
cloudways.cloudways_list_domains | Read | server_id, app_id | List domains for a specific Cloudways application. |
cloudways.cloudways_list_projects | Read | none | List all projects in the Cloudways account. |
cloudways.cloudways_get_current_user | Read | none | Get the current authenticated Cloudways account information. |
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.