Skip to content

OpenCode

Set up the OVHcloud MCP server in OpenCode.

Agent setup

Preview: the OVHcloud MCP server is to be confirmed

Nothing answers at https://mcp.eu.ovhcloud.com/mcp yet. Its URL and its tools are this page's proposal, the way the guides below will read once it does.

Prerequisites

  • OpenCode installed
  • Node.js 22+ installed
  • An OVHcloud API token (see Authentication)

Configuration

  1. Create opencode.json at your project's root.
  2. Add the OVHcloud server, and replace YOUR_OVHCLOUD_TOKEN with your token:
    JSON
    { "$schema": "https://opencode.ai/config.json", "mcp": { "ovhcloud": { "type": "local", "command": [ "npx", "-y", "mcp-remote@latest", "https://mcp.eu.ovhcloud.com/mcp", "--header", "Authorization:${OVH_AUTH_HEADER}" ], "enabled": true, "environment": { "OVH_AUTH_HEADER": "Bearer YOUR_OVHCLOUD_TOKEN" } } }}

Verification

  1. Start OpenCode and reload its configuration.
  2. Check that ovhcloud is listed under its tools, and enabled.
  3. Ask OpenCode:
    Text

    Which OVHcloud API operation reboots a dedicated server?

References

NextZed →