KosmoKrator

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.

7 functions 7 read 0 write Bearer token auth

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 use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token OVH_ACCESS_TOKEN Secret secret yes Access Token
url OVH_URL URL url no API Base URL

Call OVHcloud Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call ovh.ovh_list_servers '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:ovh ovh_list_servers '{}' --json

Agent Discovery Commands

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

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to OVHcloud.

ovh.ovh_list_servers

Read read

List all dedicated servers in the OVH account. Returns a list of server service names.

Parameters
none

Generic CLI call

kosmo integrations:call ovh.ovh_list_servers '{}' --json

Provider shortcut

kosmo integrations:ovh ovh_list_servers '{}' --json

ovh.ovh_get_server

Read read

Get details for a specific OVH dedicated server by service name. Returns full server information including hardware, network, and OS details.

Parameters
service_name

Generic CLI call

kosmo integrations:call ovh.ovh_get_server '{"service_name":"example_service_name"}' --json

Provider shortcut

kosmo integrations:ovh ovh_get_server '{"service_name":"example_service_name"}' --json

ovh.ovh_list_domains

Read read

List all domains in the OVH account. Returns a list of domain names.

Parameters
none

Generic CLI call

kosmo integrations:call ovh.ovh_list_domains '{}' --json

Provider shortcut

kosmo integrations:ovh ovh_list_domains '{}' --json

ovh.ovh_list_vps

Read read

List all VPS instances in the OVH account. Returns a list of VPS service names.

Parameters
none

Generic CLI call

kosmo integrations:call ovh.ovh_list_vps '{}' --json

Provider shortcut

kosmo integrations:ovh ovh_list_vps '{}' --json

ovh.ovh_list_ip

Read read

List all IP addresses in the OVH account. Returns a list of IP blocks and addresses.

Parameters
none

Generic CLI call

kosmo integrations:call ovh.ovh_list_ip '{}' --json

Provider shortcut

kosmo integrations:ovh ovh_list_ip '{}' --json

ovh.ovh_list_projects

Read read

List all public cloud projects in the OVH account. Returns a list of project IDs.

Parameters
none

Generic CLI call

kosmo integrations:call ovh.ovh_list_projects '{}' --json

Provider shortcut

kosmo integrations:ovh ovh_list_projects '{}' --json

ovh.ovh_get_current_user

Read read

Get information about the current authenticated OVH account, including nichandle, email, and account details.

Parameters
none

Generic CLI call

kosmo integrations:call ovh.ovh_get_current_user '{}' --json

Provider shortcut

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

List all dedicated servers in the OVH account. Returns a list of server service names.

Operation
Read read
Schema command
kosmo integrations:schema ovh.ovh_list_servers --json
ParameterTypeRequiredDescription
No parameters.

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.

Operation
Read read
Schema command
kosmo integrations:schema ovh.ovh_get_server --json
ParameterTypeRequiredDescription
service_name string yes The dedicated server service name (e.g., "ns123456.ip-1-2-3.eu").

ovh.ovh_list_domains

List all domains in the OVH account. Returns a list of domain names.

Operation
Read read
Schema command
kosmo integrations:schema ovh.ovh_list_domains --json
ParameterTypeRequiredDescription
No parameters.

ovh.ovh_list_vps

List all VPS instances in the OVH account. Returns a list of VPS service names.

Operation
Read read
Schema command
kosmo integrations:schema ovh.ovh_list_vps --json
ParameterTypeRequiredDescription
No parameters.

ovh.ovh_list_ip

List all IP addresses in the OVH account. Returns a list of IP blocks and addresses.

Operation
Read read
Schema command
kosmo integrations:schema ovh.ovh_list_ip --json
ParameterTypeRequiredDescription
No parameters.

ovh.ovh_list_projects

List all public cloud projects in the OVH account. Returns a list of project IDs.

Operation
Read read
Schema command
kosmo integrations:schema ovh.ovh_list_projects --json
ParameterTypeRequiredDescription
No parameters.

ovh.ovh_get_current_user

Get information about the current authenticated OVH account, including nichandle, email, and account details.

Operation
Read read
Schema command
kosmo integrations:schema ovh.ovh_get_current_user --json
ParameterTypeRequiredDescription
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.