Odoo MCP
Enables AI assistants to interact with Odoo ERP systems through XML-RPC to manage records, search for employees, and track holidays. It provides comprehensive access to Odoo models and methods, allowing users to query data and execute custom function
What is Odoo MCP?
Odoo MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai assistants to interact with odoo erp systems through xml-rpc to manage records, search for employees, and track holidays. it provides comprehensive access to odoo models and methods, allowi...
Enables AI assistants to interact with Odoo ERP systems through XML-RPC to manage records, search for employees, and track holidays. It provides comprehensive access to Odoo models and methods, allowing users to query data and execute custom function
This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Enables AI assistants to interact with Odoo ERP systems thro
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx odoo-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Odoo MCP
Odoo MCP Server connects AI assistants to Odoo ERP instances through XML-RPC (Odoo 16-18) or the JSON-2 protocol (Odoo 19+), exposing 39 tools that cover record search, model introspection, accounting reports, knowledge indexing, and a gated three-step write workflow that prevents accidental data modification. It supports multiple Odoo instances simultaneously, per-call routing, audit logging of all write events, and optional rate limiting—making it suitable for both read-heavy business intelligence queries and carefully controlled data entry tasks.
Prerequisites
- Python 3.9 or later with pip or pipx (or uvx) installed
- A running Odoo instance (version 16, 17, 18 for XML-RPC; version 19+ for JSON-2 transport)
- Odoo credentials: URL, database name, username, and password or API key
- An MCP-compatible client such as Claude Desktop or Claude Code
- Docker (optional, for running the server as a container)
Install the odoo-mcp package
Install via pipx for an isolated environment, or pip for your current Python environment. Alternatively, use uvx for zero-install one-shot execution.
pipx install odoo-mcpRun the interactive setup wizard
The wizard prompts for your Odoo URL, database, username, and password, tests the connection, and outputs a ready-to-paste client config snippet.
uvx odoo-mcp --setupSet required environment variables
Export the four required variables before starting the server. ODOO_TRANSPORT defaults to 'xmlrpc' for Odoo 16-18; use 'json2' for Odoo 19+.
export ODOO_URL=https://your-odoo.example.com
export ODOO_DB=your_database
export ODOO_USERNAME=admin
export ODOO_PASSWORD=your_password
export ODOO_TRANSPORT=xmlrpcEnable write operations (optional)
By default, all write operations are blocked. Set ODOO_MCP_ENABLE_WRITES=1 to unlock the gated create/write/unlink workflow, which still requires a three-step preview → validate → execute sequence.
export ODOO_MCP_ENABLE_WRITES=1
export ODOO_MCP_AUDIT_LOG=/var/log/odoo-mcp-writes.jsonlAdd the server to your MCP client config
Register odoo-mcp in your Claude Desktop configuration file with the environment variables passed inline.
Restart your MCP client
Quit and reopen Claude Desktop (or run 'claude mcp restart' in Claude Code). The 39 Odoo tools will be available in your session.
Odoo MCP Examples
Client configuration
Pass credentials via the env block in claude_desktop_config.json. Adjust transport to json2 and add ODOO_API_KEY for Odoo 19+.
{
"mcpServers": {
"odoo": {
"command": "odoo-mcp",
"args": [],
"env": {
"ODOO_URL": "https://your-odoo.example.com",
"ODOO_DB": "your_database",
"ODOO_USERNAME": "admin",
"ODOO_PASSWORD": "your_password",
"ODOO_TRANSPORT": "xmlrpc",
"ODOO_MCP_ENABLE_WRITES": "0"
}
}
}
}Prompts to try
These prompts exercise read, search, accounting, and write-preview capabilities.
- "Search for all employees in the Engineering department in Odoo"
- "What fields are available on the res.partner model?"
- "Show me the aged receivables report grouped by 30/60/90 day buckets"
- "Find all open purchase orders created this month and summarize their total value"
- "Preview a write operation to set partner 42's email to [email protected]"Troubleshooting Odoo MCP
Connection refused or 'Access Denied' error on startup
Run 'odoo-mcp --health' to test connectivity without starting the server loop. Verify ODOO_URL is reachable, the database name matches exactly (case-sensitive), and the user account has API access enabled in Odoo Settings > Technical > Allowed Users.
Write tools return 'writes are disabled' even with ODOO_MCP_ENABLE_WRITES=1
Confirm the env var is set in the process that runs the server, not just your shell. In Claude Desktop config, place ODOO_MCP_ENABLE_WRITES inside the 'env' block of the mcpServers entry. The three-step workflow (preview → validate → execute) must be followed in sequence even after enabling writes.
Frequently Asked Questions about Odoo MCP
What is Odoo MCP?
Odoo MCP is a Model Context Protocol (MCP) server that enables ai assistants to interact with odoo erp systems through xml-rpc to manage records, search for employees, and track holidays. it provides comprehensive access to odoo models and methods, allowing users to query data and execute custom function It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Odoo MCP?
Follow the installation instructions on the Odoo MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Odoo MCP?
Odoo MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Odoo MCP free to use?
Yes, Odoo MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Odoo MCP Alternatives — Similar Business Applications Servers
Looking for alternatives to Odoo MCP? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.
n8n
★ 189.1kA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
LobeHub
★ 77.5k🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
Jeecgboot
★ 46.4kAI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
CowAgent
★ 44.7kCowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。
Minds Platform
★ 39.2kPlatform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
Astrbot
★ 32.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Browse More Business Applications MCP Servers
Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Odoo MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Odoo MCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.