mcp-odoo
by tuanle96·★ 316·Score 51
MCP Server for Odoo that provides 24 tools, prompts, and safe write workflows without Odoo-side setup.
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:
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 READMElist_modelsList Odoo model technical names and labels.
get_model_fieldsRead field metadata for one model.
search_recordsRun bounded read-only search_read with smart field selection.
read_recordRead one record by model and ID with smart field selection.
aggregate_recordsServer-side groupby/aggregation via read_group or formatted_read_group.
search_employeeSearch employees by name.
preview_writeProduce a non-executing approval payload for create, write, or unlink.
validate_writeValidate a write payload against trusted live metadata.
execute_approved_writeExecute a validated write when writes are enabled.
diagnose_odoo_callDiagnose a model call without executing it.
generate_json2_payloadConvert XML-RPC input into JSON-2 endpoint and body.
health_checkReport non-secret MCP runtime posture.
Comparable tools
Installation
Install
The fastest path is using uvx, which fetches the package on demand:
uvx odoo-mcp --healthOr install into your environment:
pip install odoo-mcp
# or: pipx install odoo-mcpFor local development:
git clone https://github.com/tuanle96/mcp-odoo.git
cd mcp-odoo
uv sync --extra devConfigure
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-mcpClaude 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
Last updated · Auto-generated from public README + GitHub signals.