# Cursor

> 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 the OVHcloud MCP server in Cursor.

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

- Cursor installed
- Node.js 22+ installed
- An OVHcloud API token (see [Authentication](https://developers.eu.ovhcloud.com/authentication.md))

## Configuration

1. Create the configuration file if it does not exist:
  ```bash
  mkdir -p ~/.cursor
touch ~/.cursor/mcp.json
  ```
  ```powershell
  New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.cursor"
New-Item -ItemType File -Force -Path "$env:USERPROFILE\.cursor\mcp.json"
  ```
2. Add the OVHcloud server, and replace YOUR_OVHCLOUD_TOKEN with your token:
  ```json
  {
  "mcpServers": {
    "ovhcloud": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://mcp.eu.ovhcloud.com/mcp",
        "--header",
        "Authorization:${OVH_AUTH_HEADER}"
      ],
      "env": {
        "OVH_AUTH_HEADER": "Bearer YOUR_OVHCLOUD_TOKEN"
      }
    }
  }
}
  ```

## Verification

1. Open Settings › Cursor Settings › MCP, and check that ovhcloud is listed.
2. Make sure Cursor is in Agent mode, so it can use MCP tools.
3. Ask Cursor:
  ```text
  Which OVHcloud API operation reboots a dedicated server?
  ```

## References

- [Cursor: Model Context Protocol](https://cursor.com/docs/mcp)
- [mcp-remote, the bridge the configuration runs](https://github.com/geelen/mcp-remote)

[Next Codex CLI →](https://developers.eu.ovhcloud.com/ai/mcp/codex-cli.md)
