KosmoKrator

productivity

OVHcloud MCP Integration for LangChain

Connect OVHcloud to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect OVHcloud to LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

OVHcloud MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-ovh": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=ovh",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=ovh --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only OVHcloud instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

OVHcloud Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the OVHcloud integration catalog.

MCP toolSource functionTypeDescription
integration__ovh__ovh_list_servers ovh.ovh_list_servers Read List all dedicated servers in the OVH account. Returns a list of server service names.
integration__ovh__ovh_get_server ovh.ovh_get_server Read Get details for a specific OVH dedicated server by service name. Returns full server information including hardware, network, and OS details.
integration__ovh__ovh_list_domains ovh.ovh_list_domains Read List all domains in the OVH account. Returns a list of domain names.
integration__ovh__ovh_list_vps ovh.ovh_list_vps Read List all VPS instances in the OVH account. Returns a list of VPS service names.
integration__ovh__ovh_list_ip ovh.ovh_list_ip Read List all IP addresses in the OVH account. Returns a list of IP blocks and addresses.
integration__ovh__ovh_list_projects ovh.ovh_list_projects Read List all public cloud projects in the OVH account. Returns a list of project IDs.
integration__ovh__ovh_get_current_user ovh.ovh_get_current_user Read Get information about the current authenticated OVH account, including nichandle, email, and account details.

Related OVHcloud Pages