productivity
OVHcloud CLI for AI Agents
Use the OVHcloud CLI from KosmoKrator to call OVHcloud tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.OVHcloud CLI Setup
OVHcloud can be configured headlessly with `kosmokrator integrations:configure ovh`.
# 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 ovh --set access_token="$OVH_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor ovh --json
kosmokrator integrations:status --json Credentials
Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
access_token | OVH_ACCESS_TOKEN | Secret secret | yes | Access Token |
url | OVH_URL | URL url | no | API Base URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call ovh.ovh_list_servers '{}' --json kosmo integrations:ovh ovh_list_servers '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities 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 Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
ovh.ovh_list_servers
List all dedicated servers in the OVH account. Returns a list of server service names.
read - Parameters
- none
kosmo integrations:call ovh.ovh_list_servers '{}' --json kosmo integrations:ovh ovh_list_servers '{}' --json ovh.ovh_get_server
Get details for a specific OVH dedicated server by service name. Returns full server information including hardware, network, and OS details.
read - Parameters
- service_name
kosmo integrations:call ovh.ovh_get_server '{"service_name":"example_service_name"}' --json kosmo integrations:ovh ovh_get_server '{"service_name":"example_service_name"}' --json ovh.ovh_list_domains
List all domains in the OVH account. Returns a list of domain names.
read - Parameters
- none
kosmo integrations:call ovh.ovh_list_domains '{}' --json kosmo integrations:ovh ovh_list_domains '{}' --json ovh.ovh_list_vps
List all VPS instances in the OVH account. Returns a list of VPS service names.
read - Parameters
- none
kosmo integrations:call ovh.ovh_list_vps '{}' --json kosmo integrations:ovh ovh_list_vps '{}' --json ovh.ovh_list_ip
List all IP addresses in the OVH account. Returns a list of IP blocks and addresses.
read - Parameters
- none
kosmo integrations:call ovh.ovh_list_ip '{}' --json kosmo integrations:ovh ovh_list_ip '{}' --json ovh.ovh_list_projects
List all public cloud projects in the OVH account. Returns a list of project IDs.
read - Parameters
- none
kosmo integrations:call ovh.ovh_list_projects '{}' --json kosmo integrations:ovh ovh_list_projects '{}' --json ovh.ovh_get_current_user
Get information about the current authenticated OVH account, including nichandle, email, and account details.
read - Parameters
- none
kosmo integrations:call ovh.ovh_get_current_user '{}' --json kosmo integrations:ovh ovh_get_current_user '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
ovh.ovh_list_servers 0 parameters
kosmo integrations:schema ovh.ovh_list_servers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
ovh.ovh_get_server 1 parameters
kosmo integrations:schema ovh.ovh_get_server --json | Parameter | Type | Required | Description |
|---|---|---|---|
service_name | string | yes | The dedicated server service name (e.g., "ns123456.ip-1-2-3.eu"). |
ovh.ovh_list_domains 0 parameters
kosmo integrations:schema ovh.ovh_list_domains --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
ovh.ovh_list_vps 0 parameters
kosmo integrations:schema ovh.ovh_list_vps --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
ovh.ovh_list_ip 0 parameters
kosmo integrations:schema ovh.ovh_list_ip --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
ovh.ovh_list_projects 0 parameters
kosmo integrations:schema ovh.ovh_list_projects --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
ovh.ovh_get_current_user 0 parameters
kosmo integrations:schema ovh.ovh_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| 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.