Odoo MCP Server

A modern bridge system for interacting with Odoo ERP systems through MCP (Model Context Protocol).

Local serverstdioPython

What is the Odoo MCP MCP server?

Odoo mcp mcp server lets Claude, Cursor and other MCP clients work with Odoo MCP directly. A modern bridge system for interacting with Odoo ERP systems through MCP (Model Context Protocol).

What Odoo MCP does

A modern bridge system for interacting with Odoo ERP systems through MCP (Model Context Protocol).

Key capabilities

  • Comprehensive Odoo Integration — Full access to Odoo models, records, and methods
  • XML-RPC Communication — Secure connection to Odoo instances via XML-RPC
  • Flexible Configuration — Support for config files and environment variables
  • Resource Pattern System — URI-based access to Odoo data structures
  • Error Handling — Clear error messages for common Odoo API issues
  • Stateless Operations — Clean request/response cycle for reliable integration

Tools it exposes

Once connected, the assistant can call these 5 tools directly:

  • execute_method — Execute a custom method on an Odoo model
  • Inputs — - model (string): The model name (e.g., 'res.partner')
  • Returns — Dictionary with the method result and success indicator
  • search_employee — Search for employees by name
  • search_holidays — Searches for holidays within a specified date range

Installing the odoo mcp mcp server

The server is distributed via PyPI as odoo-mcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 4 environment variables: ODOO_URL, ODOO_DB, ODOO_USERNAME, ODOO_PASSWORD. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Odoo MCP sits in that group, and the shape of its toolset — execute_method, Inputs, Returns among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by ridrisa, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the odoo mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
execute_methodExecute a custom method on an Odoo model
Inputs- model (string): The model name (e.g., 'res.partner')
ReturnsDictionary with the method result and success indicator
search_employeeSearch for employees by name
search_holidaysSearches for holidays within a specified date range

How to install the Odoo MCP MCP server

{
  "mcpServers": {
    "odoo": {
      "command": "python",
      "args": ["-m", "odoo_mcp"],
      "env": {
        "ODOO_URL": "https://your-odoo-instance.com",
        "ODOO_DB": "your-database-name",
        "ODOO_USERNAME": "your-username",
        "ODOO_PASSWORD": "your-password-or-api-key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ODOO_URLEndpoint or connection string the server talks to.Yes
ODOO_DBConfiguration value read at startup.Optional
ODOO_USERNAMEConfiguration value read at startup.Optional
ODOO_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • Use Odoo MCP to execute method.
  • Use Odoo MCP to Inputs.
  • Use Odoo MCP to Returns.

Frequently asked questions

It connects Odoo MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (execute_method, Inputs, Returns, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Odoo MCP directly.