MCP Catalogs
Home

mcp-odoo

by tuanle96·316·Score 51

MCP Server for Odoo that provides 24 tools, prompts, and safe write workflows without Odoo-side setup.

developer-toolsops-infraproductivity
143
Forks
6
Open issues
this month
Last commit
2d ago
Indexed

Overview

This MCP server connects to any Odoo 16+ database through XML-RPC or External JSON-2 protocols, providing comprehensive access to Odoo functionality while maintaining security through its safe write model. It includes 24 tools for reading records, aggregating data, diagnosing issues, migrating between Odoo versions, and auditing modules. The server features smart field selection, server-side aggregation, and chatter integration, all designed to integrate with local agents, IDEs, and automation tools requiring real Odoo context without direct write access.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Integrating AI assistants with Odoo to query customer data and invoice status
you:Automating Odoo data analysis and reporting without direct database access
you:Performing safe data operations through approval workflow in automation tools
you:What Odoo versions are supported?
you:Do I need special setup in Odoo to use this server?
you:How does the safe write workflow work?

When to choose this

Choose this MCP server if you need AI access to an existing Odoo instance without installing additional modules or requiring administrator permissions.

When NOT to choose this

Don't choose this if you need direct write access to Odoo without approval workflow, or if you're using an Odoo version older than 16.

Tools this server exposes

12 tools extracted from the README
  • list_models

    List Odoo model technical names and labels.

  • get_model_fields

    Read field metadata for one model.

  • search_records

    Run bounded read-only search_read with smart field selection.

  • read_record

    Read one record by model and ID with smart field selection.

  • aggregate_records

    Server-side groupby/aggregation via read_group or formatted_read_group.

  • search_employee

    Search employees by name.

  • preview_write

    Produce a non-executing approval payload for create, write, or unlink.

  • validate_write

    Validate a write payload against trusted live metadata.

  • execute_approved_write

    Execute a validated write when writes are enabled.

  • diagnose_odoo_call

    Diagnose a model call without executing it.

  • generate_json2_payload

    Convert XML-RPC input into JSON-2 endpoint and body.

  • health_check

    Report non-secret MCP runtime posture.

Comparable tools

odooerpnext-mcpopenobject-mcp

Installation

Install

The fastest path is using uvx, which fetches the package on demand:

uvx odoo-mcp --health

Or install into your environment:

pip install odoo-mcp
# or: pipx install odoo-mcp

For local development:

git clone https://github.com/tuanle96/mcp-odoo.git
cd mcp-odoo
uv sync --extra dev

Configure

Set connection values in the environment:

export ODOO_URL="https://your-odoo-instance.com"
export ODOO_DB="your-database"
export ODOO_USERNAME="your-user"
export ODOO_PASSWORD="your-password-or-api-key"
export ODOO_TRANSPORT="xmlrpc"

Run

Start the MCP server over stdio:

odoo-mcp

Claude Desktop Configuration

Add to your Claude Desktop config.json:

{
  "mcpServers": {
    "odoo": {
      "command": "odoo-mcp",
      "args": []
    }
  }
}

FAQ

What Odoo versions are supported?
Odoo MCP supports Odoo 16-19 with XML-RPC as the default transport and External JSON-2 as an option for Odoo 19+. It's designed to be ready for Odoo 20.
Do I need special setup in Odoo to use this server?
No - this server works with any existing Odoo 16+ instance using your current credentials. No App Store module, permission setup, or admin access is required.
How does the safe write workflow work?
The server requires a multi-step approval process: preview_write creates a non-executing payload, validate_write checks against live metadata, and execute_approved_write only runs when all security gates pass including same-session token validation.

Compare mcp-odoo with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.