Odoo MCP is a tool that turns an Odoo database into a Model Context Protocol (MCP) server, enabling AI agents to interact directly with Odoo. It is aimed at local agents, IDEs, and automation tools that need real Odoo context but do not want to write scripts or perform unsafe writes directly.
Purpose
Odoo's built-in AI is limited to the Enterprise edition, while Odoo MCP provides the same AI capabilities for Community and Enterprise editions 16+, and is free to use with the LLM you already have (such as Claude, GPT, Gemini, DeepSeek, Ollama). It requires no modules installed on the Odoo side, no permission setup, and no administrator access, and works using only existing credentials.
Main capabilities
- Read and discovery: Provides 11 read and discovery tools, supporting querying data such as customers, invoices, and inventory.
- Write and operations: 5 write tools, using an approval-gated safe write model.
- Audit and planning: 3 audit and planning tools to help assess upgrade risks.
- Knowledge search: 3 local-first knowledge search tools.
- Background tasks: 4 background task tools.
- Cross-instance fan-out: 3 read-only tools that can query across multiple configured instances and merge results.
- Prompt templates: 11 prompts, including 5 diagnostic prompts and 6 operational workflow prompts, encoding end-to-end business processes.
- Multi-instance support: One server can connect to multiple Odoo databases at the same time, and each tool accepts an optional instance parameter.
- Transport protocols: Supports XML-RPC (Odoo 16-18) and External JSON-2 (Odoo 19+), preparing for the removal of XML-RPC in Odoo 22.
Usage
Installation can be completed quickly through the uvx interactive wizard, which asks for the Odoo URL, database, and credentials, tests the connection, and generates a configuration file, while also outputting configuration snippets for Claude Code, Cursor, and Claude Desktop. A Docker container or local development installation can also be used. Configuration can be done through environment variables or the odoo_config.json file, supporting multi-instance mapping. The server can be started via stdio or Streamable HTTP , and non-local HTTP binding requires explicit permission.
Safe write model
Write operations require preview_write to create a non-executing payload, validate_write to check model metadata and fields, and execute_approved_write to execute (subject to conditions such as the approval token coming from the same process, validation using trusted live metadata, the token not being expired or consumed, confirm=true, and ODOO_MCP_ENABLE_WRITES=1). Batch creation is supported through values_list, up to 100 records. Large binary fields can be passed a local file path via <field>_from_path to avoid base64 inlining.
Applicable scenarios
Suitable for scenarios that require AI agents to query and operate Odoo data, such as customer analysis, inventory checks, upgrade audits, and automated business processes. Supports local agents, IDEs, and automation tools.
Limitations
- Write operations are disabled by default and must be explicitly enabled.
- Non-local HTTP binding requires additional configuration, and the server does not include built-in HTTP authentication, so you must add authentication, TLS, and network policies yourself.
- MCP resources (odoo://…) always use the default instance in the current version, and multi-instance access requires using tools.
- Instance names must match [A-Za-z0-9_-]{1,64}.
- Credentials and transport do not fall back from environment variables to instance entries, ensuring isolation.
- Some side-effect methods must be enabled individually; ODOO_MCP_ALLOW_UNKNOWN_METHODS=1 is a broad mode, and an exact allowlist is recommended.
- The hosted product ERPipe offers a free v1 public beta, but specific charges and pricing are not yet provided.