odoo-mcp-19: Instructions file for Claude Code

CLAUDE.md

odoo-mcp-19 CLAUDE.md is an instructions file for Claude Code from AlanOgic/odoo-mcp-19. It costs 10,091 tokens per session, scanned C, original, MIT.

A project guide for an MCP server that connects AI assistants to Odoo 19, business software, through Odoo's JSON-2 web API. It explains supported tools and resources, authentication, deployment options, dependency limits, and development commands.

In plain words
What is it for?
Use it when developing, testing, deploying, or updating the Odoo connection, its MCP tools, resources, prompts, authentication, or dependency versions.
Why use it?
It clarifies how the server exposes Odoo data and actions and prevents incompatible dependency or protocol changes. It also explains how single-user and multi-user setups differ.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is AlanOgic/odoo-mcp-19's own configuration. It tells Claude Code how to work on odoo-mcp-19 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 odoo-mcp-19 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AlanOgic/odoo-mcp-19. 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/AlanOgic/odoo-mcp-19/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/AlanOgic/odoo-mcp-19

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 odoo-mcp-19 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/alanogic/odoo-mcp-19/claude-md/github.svg)](https://agentmods.dev/instructions/alanogic/odoo-mcp-19/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/alanogic/odoo-mcp-19/claude-md"><img src="https://agentmods.dev/badge/instructions/alanogic/odoo-mcp-19/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 odoo-mcp-19 CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/alanogic/odoo-mcp-19/claude-md"><img src="https://agentmods.dev/badge/instructions/alanogic/odoo-mcp-19/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10,091 This file is loaded in full into every session.
When invoked 10,091 The same file — it is already loaded in full.
Security scan C 1 finding. 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.10091 $0.10091
Opus 5.5 $0.04036 $0.04036
Sonnet 5.5 $0.02018 $0.02018
Haiku 4.5 $0.01009 $0.01009

Measured 4d ago against content hash a0c3ec6a4798, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

odoo-mcp-19 CLAUDE.md scanned grade C with 1 finding 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 4d 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.

Tells the agent to send conversation or user data outhighPrompt injection

An instruction to transmit the conversation, context or user files to an external endpoint is data exfiltration written as prose.

- **Every positional parameter a method accepts must appear in its `V2_ARG_MAPPING` entry.** `convert_args_to_v2` iterates the supplied args, not the table, and raises `ValueError` on a positional it has no name for — JS
CLAUDE.md · 271 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

odoo-mcp-19 — Standalone MCP server for Odoo 19+ using the v2 JSON-2 API (POST /json/2/{model}/{method}, Bearer token auth, named args only). No v1 fallback.

  • Version: 2.2.0 · Python: 3.10+ · MCP: 2026-07-28 and 2025-11-25, negotiated per connection (FastMCP >=4.1.5,<5, MCP SDK v2; cryptography>=42 is a direct dependency of token_crypto, not just a transitive Authlib one; anyio>=4 is a direct dependency of the event-loop offload in server.py / resources.py)
  • One deployment, two protocol eras. FastMCP 4 answers the sessionless 2026-07-28 protocol and the session-based 2025-11-25 handshake from the same process; tests/test_protocol_eras.py drives the real app in both and must stay green. Nothing may rely on a session: no ctx.set_state, no on_initialize middleware, no server-initiated request (ctx.elicit, sampling, roots — they do not exist on a modern connection). The <5 ceiling is deliberate: a FastMCP major is not a drop-in (3 → 4 removed a tool and moved the wire types and the task engine) — see docs/mcp-2026-07-28-migration.md and tests/test_dependency_pins.py, which fails the build if the bound is widened or the environment drifts. uv.lock is gitignored (.gitignore: "project uses pip + pyproject.toml") — it pins only your local .venv, never the documented pip install git+… path, so pyproject.toml is the only thing between a fresh install and the next major. Do not relax the ceiling on the strength of the lockfile.
  • Surface: 3 tools (execute_method, batch_execute, read_resource), 38 odoo:// resources, 12 generic prompts. execute_workflow is gone (since v2.2.0): its two hard-coded workflows were wrong against JSON-2 (lead_to_won sent partner_id to convert_opportunity, whose parameter is partner, and marked the lead won anyway; create_and_post_invoice treated create's [id] result as an int), and multi-step work is batch_execute (one gate for the whole operations list) or successive execute_method calls. tests/test_tool_surface.py pins the tool set and scans the shipped package for the old name; tests/test_batch_gate.py drives the batch confirmation gate through the tool. No Cyanview skill is served here (since v2.1.0): the cyanview-* workflows live exclusively in the private skills repository ~/ddev/cyanview-skills and are installed client side (plugin / local skills). tests/test_prompt_surface.py fails if a cyanview-* prompt, a packaged skills/ dir or the old skill modules come back.
  • Discovery is via resources, action is via tools — there is no list_models tool, agents read odoo://models instead. odoo://templates lists every resource.
  • Two deployment shapes: single-user (STDIO or HTTP with one static MCP_API_KEY) and multi-user HTTP (per-user cv_odoo_… keys from the CLORAG-managed registry, personal Odoo clients — see "Multi-user mode" below).

Read the full file on GitHub · 271 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. 4d ago Changed · -77 lines · -2,327 tokens per session a0c3ec6a4798
  2. 1mo ago Changed · -4 lines · -61 tokens per session 83c318c38d8f
  3. 1mo ago Changed · +507 tokens per session fbed4a2cdc4d
  4. 1mo ago Changed · -4 lines · -141 tokens per session 3c800fec4c11
  5. 1mo ago Changed · +6 lines · +1,292 tokens per session f9fa6b39abe1
  6. 1mo ago Changed 41a33be75a68
  7. 2mo ago Changed · +29 lines · +1,637 tokens per session 630a687998ef
  8. 2mo ago Changed · +22 lines · +912 tokens per session scan A → C ed40090034f7
  9. 2mo ago Changed · +30 lines · +1,283 tokens per session 1fd2dce65cdb
  10. 2mo ago First seen · 269 lines · 6,989 tokens per session scan A 626904144f72

Subscribe to this mod's changes

odoo-mcp-19 CLAUDE.md is an instructions file published in the GitHub repository AlanOgic/odoo-mcp-19 (11 stars, last pushed 4d ago), licensed MIT. It adds 10,091 tokens to every session, about $0.0404 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent to send conversation or user data out). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

odoo-mcp-19 CLAUDE.md compared with instructions from other repositories

odoo-mcp-19 CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
odoo-mcp-19 CLAUDE.mdAlanOgic/odoo-mcp-19Instructions file114d agoMITC10,091Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode