productivity
Cloudways CLI for Headless Automation
Use the Cloudways CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Cloudways CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. 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 Headless Automation
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.