ovh-api-mcp: Instructions file for Claude Code

CLAUDE.md

ovh-api-mcp CLAUDE.md is an instructions file for Claude Code from davidlandais/ovh-api-mcp. It costs 738 tokens per session, scanned A, original, MIT.

Instruction files for a Rust MCP server that connects to the OVH API. OVH is a cloud and internet-services provider; this server lets an agent search services and run API operations through a controlled JavaScript environment.

In plain words
What is it for?
Use them when building, testing, linting, formatting, or running the OVH API MCP server locally.
Why use it?
They give coding agents the project’s commands, architecture, conventions, security limits, and required environment setup.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is davidlandais/ovh-api-mcp's own configuration. It tells Claude Code how to work on ovh-api-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ovh-api-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to davidlandais/ovh-api-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/davidlandais/ovh-api-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/davidlandais/ovh-api-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ovh-api-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/davidlandais/ovh-api-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/davidlandais/ovh-api-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/davidlandais/ovh-api-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/davidlandais/ovh-api-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ovh-api-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/davidlandais/ovh-api-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/davidlandais/ovh-api-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 738 This file is loaded in full into every session.
When invoked 738 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00738 $0.00738
Opus 5 $0.00369 $0.00369
Sonnet 5 $0.00148 $0.00148
Haiku 4.5 $0.00074 $0.00074

Measured 8d ago against content hash 063084559373, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ovh-api-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ovh-api-mcp

Native Rust MCP server for the OVH API. Uses the "Code Mode" pattern: 2 tools (search + execute), the LLM writes JavaScript executed in a QuickJS sandbox.

Commands

cargo build                      # Build
cargo test                       # 12 tests (6 SpecValidator + 3 security + 3 sandbox)
cargo clippy --all-targets       # Lint (0 warnings required)
cargo fmt --check                # Formatting

docker build -t ovh-api-mcp .    # Docker image (~19 MB)

# Run locally (requires OVH env vars)
ovh-api-mcp --port 3104 --services domain

Architecture

src/
  main.rs      CLI (clap), logging, axum server, graceful shutdown
  tools.rs     MCP tools (search, execute) — rmcp macros #[tool_router] / #[tool_handler]
  sandbox.rs   QuickJS sandbox with resource limits (64 MiB mem, 1 MiB stack, 10s/30s timeout)
  auth.rs      OVH API client (API key SHA1 signature, OAuth2 client credentials, clock sync, SecretString)
  spec.rs      OpenAPI spec fetching, caching, merging, and SpecValidator
  types.rs     MCP input types (JsonSchema)

Conventions

  • Rust 1.92+, edition 2021
  • rmcp 1.2#[tool_router] / #[tool_handler] / #[tool(name = "...")]
  • secrecy 0.10SecretString (not Secret<String>), .expose_secret() returns &str
  • Error handling: anyhow in main, CallToolResult::error(...) in tool handlers
  • Commits: conventional commits (fix:, deps:, docs:, chore:, security:, style:, test:)
  • CI: cargo fmt + clippy + test + docker build on every push/PR
  • Release: git tag vX.Y.Z && git push origin vX.Y.Z triggers the automated workflow

Security

  • QuickJS sandbox with CPU/memory/stack limits
  • SpecValidator: every API call validated against the OpenAPI spec
  • Path injection rejected (?, #, ..)
  • SecretString with zeroize on drop
  • HTTP redirects disabled (credential leak prevention)
  • Non-root Docker container (mcpuser)

Environment

OVH API keys are loaded from system environment. No .env file in the repo.

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 71 lines · 738 tokens per session scan A 063084559373

Subscribe to this mod's changes

ovh-api-mcp CLAUDE.md is an instructions file published in the GitHub repository davidlandais/ovh-api-mcp (3 stars, last pushed 2mo ago), licensed MIT. It adds 738 tokens to every session, about $0.0037 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens