Odoo 18 MCP

v1.0.0Business Applicationsstable

Odoo 18 MCP Integration - A robust integration server that connects MCP with Odoo 18.0 ERP system

odoo18-mcp-projectmcpai-integration
Share:
33
Stars
0
Downloads
0
Weekly
0/5

What is Odoo 18 MCP?

Odoo 18 MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to odoo 18 mcp integration - a robust integration server that connects mcp with odoo 18.0 erp system

Odoo 18 MCP Integration - A robust integration server that connects MCP with Odoo 18.0 ERP system

This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Odoo 18 MCP Integration - A robust integration server that c

Use Cases

Enable AI assistants to interact with Odoo 18.0 ERP systems through natural language.
Automate business processes by querying and updating Odoo data via MCP integration.
infovpcs

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 17, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx odoo18-mcp-project

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Odoo 18 MCP

The Odoo 18 MCP Integration server connects AI assistants to a live Odoo 18.0 ERP instance, exposing over 17 tools for CRUD operations, advanced search, field analysis, CSV import/export, documentation retrieval, and AI-assisted code generation via Gemini. Developers and business users can query partner records, create sales orders, generate Mermaid diagrams of data models, and even run an autonomous Odoo code agent — all through natural language in their MCP client. The server supports both stdio and standalone HTTP modes and includes Docker Compose configurations for production deployments.

Prerequisites

  • Python 3.10 or later
  • A running Odoo 18.0 instance accessible over HTTP (local or remote)
  • Odoo database name, admin username, and password
  • A Google Gemini API key (GEMINI_API_KEY) for the AI code-agent features
  • Optional: Brave Search API key (BRAVE_API_KEY) for web-augmented documentation lookup
1

Clone the repository and create a virtual environment

Clone the project, enter the directory, and create an isolated Python virtual environment to avoid conflicts with system packages.

git clone https://github.com/infovpcs/odoo18_mcp_project.git
cd odoo18_mcp_project
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
2

Install Python dependencies

Install the package in editable mode so the mcp_server.py entry point and all dependencies are available.

pip install -e .
3

Configure environment variables

Copy the example environment file and fill in your Odoo connection details, Gemini API key, and optional paths for documentation indexing.

cp .env.example .env
# Edit .env and set:
# ODOO_URL=http://localhost:8069
# ODOO_DB=your_database
# ODOO_USERNAME=admin
# ODOO_PASSWORD=admin
# GEMINI_API_KEY=your_gemini_key
# GEMINI_MODEL=gemini-2.0-flash
# BRAVE_API_KEY=your_brave_key  (optional)
4

Start the MCP server

Run the MCP server in stdio mode. For testing, you can also start the standalone HTTP server on port 8001 to verify tool responses via curl.

# stdio mode (for MCP clients)
python mcp_server.py

# HTTP mode (for testing)
python standalone_mcp_server.py
5

Configure Claude Desktop

Add the server to claude_desktop_config.json with the absolute path to your Python interpreter inside the virtual environment and all required environment variables.

{
  "mcpServers": {
    "odoo18": {
      "command": "/absolute/path/to/odoo18_mcp_project/venv/bin/python",
      "args": ["/absolute/path/to/odoo18_mcp_project/mcp_server.py"],
      "env": {
        "ODOO_URL": "http://localhost:8069",
        "ODOO_DB": "your_database",
        "ODOO_USERNAME": "admin",
        "ODOO_PASSWORD": "admin",
        "GEMINI_API_KEY": "your_gemini_key",
        "GEMINI_MODEL": "gemini-2.0-flash"
      }
    }
  }
}

Odoo 18 MCP Examples

Client configuration (claude_desktop_config.json)

Full configuration block for Claude Desktop with all required environment variables for a local Odoo 18 instance.

{
  "mcpServers": {
    "odoo18": {
      "command": "/home/user/odoo18_mcp_project/venv/bin/python",
      "args": ["/home/user/odoo18_mcp_project/mcp_server.py"],
      "env": {
        "ODOO_URL": "http://localhost:8069",
        "ODOO_DB": "llmdb18",
        "ODOO_USERNAME": "admin",
        "ODOO_PASSWORD": "admin",
        "GEMINI_API_KEY": "AIza...",
        "GEMINI_MODEL": "gemini-2.0-flash",
        "BRAVE_API_KEY": "BSA..."
      }
    }
  }
}

Prompts to try

Example prompts exercising the Odoo 18 MCP server's CRUD, search, and AI agent capabilities.

- "Search for all customer partners in Odoo whose name contains 'Tech'"
- "Create a new contact record with name 'Acme Corp' and email '[email protected]'"
- "Export all sale.order records from the last 30 days to CSV"
- "Show me the important fields on the product.template model"
- "Generate a Mermaid ER diagram of the res.partner model relationships"
- "Run the Odoo code agent to write a Python script that lists all unpaid invoices"

Troubleshooting Odoo 18 MCP

Connection refused or Odoo authentication failure at startup

Verify ODOO_URL is reachable from the server host and that ODOO_DB matches the exact database name shown in Odoo's database manager. Test manually with: `curl http://localhost:8069/web/dataset/call_kw` — if you get an HTML response, Odoo is running. Check ODOO_USERNAME and ODOO_PASSWORD against the Odoo Settings > Users page.

pip install -e . fails with PyTorch or NumPy version conflicts

The project requires PyTorch 2.2.x and NumPy <2.0.0 due to macOS compatibility constraints. Run `pip install 'numpy<2.0.0' 'torch==2.2.2'` before running `pip install -e .`. On Linux, you may use a newer PyTorch but pin NumPy to avoid breaking the embeddings module.

Gemini-powered tools (run_odoo_code_agent, generate_npx) return API errors

Confirm GEMINI_API_KEY is valid and the Gemini 2.0 Flash model is available in your Google Cloud project. The GEMINI_MODEL variable must exactly match a supported model name such as `gemini-2.0-flash`. Check the Google AI Studio console to verify your quota and model access.

Frequently Asked Questions about Odoo 18 MCP

What is Odoo 18 MCP?

Odoo 18 MCP is a Model Context Protocol (MCP) server that odoo 18 mcp integration - a robust integration server that connects mcp with odoo 18.0 erp system It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Odoo 18 MCP?

Follow the installation instructions on the Odoo 18 MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Odoo 18 MCP?

Odoo 18 MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Odoo 18 MCP free to use?

Yes, Odoo 18 MCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Odoo 18 MCP Alternatives — Similar Business Applications Servers

Looking for alternatives to Odoo 18 MCP? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.

n8n

189.1k

A 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.4k

AI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。

CowAgent

44.7k

CowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。

Minds Platform

39.2k

Platform 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.8k

AI 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.

Quick Config Preview

{ "mcpServers": { "odoo18-mcp-project": { "command": "npx", "args": ["-y", "odoo18-mcp-project"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Odoo 18 MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides