ovh-api-mcp is a native Model Context Protocol (MCP) server designed to enable large language models to explore and execute arbitrary OVH API endpoints, and it can be used with Claude, Cursor, and other MCP-compatible LLM clients. The project is built with Rust, and is officially said to have a very small footprint: the Docker image is about 19 MB, and memory usage is about 1.2 MiB.
Purpose and positioning The server provides LLMs with full access to the OVH API (v1 and v2), enabling models to query and call various OVH interface endpoints during conversations. It is officially positioned as an Early Release, intended for local development use.
Main capabilities The server exposes two MCP tools: 1) search, used to explore the API; 2) execute, i.e. Code Mode—the LLM writes JavaScript, which runs in a sandboxed QuickJS engine with resource limits (memory, CPU timeout, stack size). Every API call is validated against the loaded OpenAPI specification before execution.
Security-related design (according to official documentation)
- Sandboxed execution: JavaScript runs in QuickJS, with a memory limit of 64 MiB, a stack limit of 1 MiB, and execution timeouts (10 seconds for search, 30 seconds for execution).
- Specification-validated API calls: every ovh.request() call is matched against the loaded OpenAPI specification, and unknown endpoints or incorrect HTTP methods are rejected.
- Path injection protection: API paths containing ?, #, or .. are rejected.
- Secret protection: app_secret and consumer_key are stored using secrecy (zeroed on drop).
- HTTP redirects disabled: prevents credential leakage to third-party domains.
- Non-root container: the Docker image runs as an unprivileged user. The official documentation also notes: although security hardening has been applied (sandboxed execution, specification validation, secret protection), the server has not yet been tested in large-scale real-world use, do not expose it to the public internet, and feedback and bug reports are welcome.
Usage Two transport modes are supported:
- HTTP (Streamable HTTP): for web-based clients and Docker deployments.
- stdio: For direct integration with Claude Desktop, Cursor, and MCP inspectors. Installation and integration:
- Using stdio (Claude Desktop / Cursor): add the server to the MCP client configuration.
- Prebuilt binaries: downloadable from GitHub Releases, with versions for macOS (x86_64, aarch64) and Linux (x86_64 musl).
- Claude Code configuration (HTTP mode): an Authorization header is required to bypass Claude Code's OAuth discovery (see claude-code#2831).
OVH credentials Three values are required: application key, application secret, consumer key. Go to the token creation page for your region, log in with your OVH account, set permissions and validity period, and you will receive all three keys at once. For full API access, set all four methods GET, POST, PUT, and DELETE to path /*. Alternatively, you can use the OAuth2 client credentials mode of an OVH service account instead of API keys: the service account is created via the OVH API (POST /me/api/oauth2/client, flow: CLIENT_CREDENTIALS), after which you must create an IAM policy (POST /v2/iam/policy) to grant the service account API permissions; see the OVHcloud documentation for details. The server automatically detects the authentication mode based on environment variables; do not set both API keys and OAuth2 credentials at the same time. OVH credentials are optional at startup: even without API keys, the server will start and expose its tools, but calling tools without credentials provided will return a clear error.
Example usage (officially provided)
- Search DNS endpoints.
- List domain zones.
- Get the DNS records of a domain.
Use cases and limitations Suitable for scenarios in a local development environment where you explore and call the OVH API in natural language through MCP clients such as Claude and Cursor. Limitations include: officially positioned as an early version, not yet tested at scale, and should not be exposed to the public internet; tools cannot function properly when credentials are missingusage. The project is released under the MIT license, and the author is David Landais.