# Gemini CLI

> 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 Gemini CLI.

## Prerequisites

- Gemini CLI 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:
  ```bash
  gemini mcp add --transport http ovhcloud https://mcp.eu.ovhcloud.com/mcp/v1_cloud
  ```
2. Gemini CLI discovers the server's OAuth endpoints itself. In a session, if the server is marked as needing authentication, sign in:
  ```text
  /mcp auth ovhcloud
  ```

## Verification

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

## References

- [Gemini CLI: MCP servers](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md)

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