# OpenCode

> Part of the OVHcloud developer hub. Index of every page and section: https://developers.eu.ovhcloud.com/llms.txt
> Everything in one file: https://developers.eu.ovhcloud.com/llms-full.txt

Set up an OVHcloud MCP server in OpenCode.

## Prerequisites

- OpenCode installed
- An OVHcloud account, to sign in when the client asks

## Configuration

The steps add the Cloud Project section as `ovhcloud`; another section is the same steps with its own URL, from [the list of sections](https://developers.eu.ovhcloud.com/ai/mcp/tools.md).

1. Add the server, for every project:
  ```bash
  opencode mcp add ovhcloud --global --url https://mcp.eu.ovhcloud.com/mcp/v1_cloud
  ```
2. Remote servers sign in with OAuth by default: when the server list says it needs authentication, sign in from it.

## Verification

1. List the configured servers:
  ```bash
  opencode mcp list
  ```
2. Ask OpenCode:
  ```text
  List my Public Cloud projects.
  ```

## References

- [OpenCode: MCP servers](https://opencode.ai/docs/mcp-servers/)

[Next Zed →](https://developers.eu.ovhcloud.com/ai/mcp/zed.md)
