productivity
OVHcloud CLI for Shell Scripts
Use the OVHcloud CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
OVHcloud CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The OVHcloud CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# OVHcloud CLI for Shell Scripts
kosmokrator integrations:configure ovh --set access_token="$OVH_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call ovh.ovh_list_servers '{}' --json Discovery Before Execution
Agents and scripts can inspect OVHcloud docs and schemas before choosing a function.
kosmo integrations:docs ovh --json
kosmo integrations:docs ovh.ovh_list_servers --json
kosmo integrations:schema ovh.ovh_list_servers --json
kosmo integrations:search "OVHcloud" --json
kosmo integrations:list --json Useful OVHcloud CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
ovh.ovh_list_servers | Read | none | List all dedicated servers in the OVH account. Returns a list of server service names. |
ovh.ovh_get_server | Read | service_name | Get details for a specific OVH dedicated server by service name. Returns full server information including hardware, network, and OS details. |
ovh.ovh_list_domains | Read | none | List all domains in the OVH account. Returns a list of domain names. |
ovh.ovh_list_vps | Read | none | List all VPS instances in the OVH account. Returns a list of VPS service names. |
ovh.ovh_list_ip | Read | none | List all IP addresses in the OVH account. Returns a list of IP blocks and addresses. |
ovh.ovh_list_projects | Read | none | List all public cloud projects in the OVH account. Returns a list of project IDs. |
ovh.ovh_get_current_user | Read | none | Get information about the current authenticated OVH account, including nichandle, email, 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.