Описание
Connecting LLM and Odoo ERP directly via MCP server
README
A high-performance, secure Model Context Protocol (MCP) server built in Rust for seamless interaction with Odoo ERP systems. This server allows AI models (like Claude, GPT-4, etc.) to perform advanced ORM operations and data analysis on Odoo models natively.
🚀 Features
- Standard CRUD: Search, Create, Update, and Delete any Odoo model.
- Advanced Tools:
search_count: Get record counts matching specific criteria.read_group: Perform aggregated analysis (group by, sums, counts).copy: Quickly duplicate existing records.get_metadata: Inspect model structures and field definitions.
- Web Configuration UI: Modern, dark/light mode interface at
http://localhost:3333to manage multiple Odoo instances and custom AI prompts. - Multi‑Instance Active Management: Each instance can be toggled active/inactive, and the server routes calls to the selected active instance.
- Global & Instance‑Specific Tool Permissions: Set a global default mode (CRUD or Read‑Only) and override per instance with its own mode or explicit allowed tools list.
- Protocol Version 2025-11-25: Built on the latest stable MCP specification for reliability and rich metadata support.
🛠 Tech Stack
- Rust: Language of choice for performance and safety.
- Tokio: Asynchronous runtime for non-blocking I/O.
- Axum: Lightweight web framework for the configuration UI.
- Reqwest: For handling Odoo JSON-RPC communication.
- Serde: For high-speed JSON serialization.
📦 Getting Started
Prerequisites
- Rust & Cargo (Stable)
- An Odoo Instance (v12 to v19 supported)
Local Development
Clone the repository:
git clone <repo-url> cd odoo-erp-mcpRun the server:
cargo runConfigure via UI: Open
http://localhost:3333in your browser to add your Odoo instance credentials. These are saved securely inconfig.json.
MCP Communication Flow
sequenceDiagram
participant AI as AI Model (e.g. Claude)
participant Client as MCP Client (Antigravity/Cursor)
participant Server as Odoo MCP Server (Rust)
participant Odoo as Odoo ERP Instance
AI->>Client: Send "Show me the top 5 customers"
Client->>Server: tools/call (odoo-search-read)
Server->>Odoo: JSON-RPC (search_read)
Odoo-->>Server: JSON Result
Server-->>Client: Tool Result (JSON)
Client-->>AI: Result Context
AI->>AI: Generate Human Response
🔌 Editor Integration
You can integrate this MCP server with various AI-powered code editors across different platforms (Windows, macOS, Linux). Ensure you have compiled the server or downloaded the executable.
Note on Paths: On Windows, ensure your path points to the
.exefile using double backslashes (e.g.,C:\\path\\to\\odoo-erp-mcp.exe) or forward slashes. On Linux/macOS, point to the generated binary directly (e.g.,/path/to/odoo-erp-mcp).
Cursor
- Go to Cursor Settings > Features > MCP Servers.
- Click + Add new MCP server.
- Set the Name to
odoo-mcp. - Set the Type to
command. - Set the Command to the absolute path of your
odoo-erp-mcpexecutable.
Antigravity
Add the server to your mcp_config.json (typically located in ~/.gemini/antigravity/mcp_config.json or %USERPROFILE%\.gemini\antigravity\mcp_config.json):
{
"mcpServers": {
"odoo-mcp": {
"command": "absolute/path/to/odoo-erp-mcp",
"args": [],
"env": {}
}
}
}
Visual Studio Code (via Extensions)
If you use MCP clients in VSCode (e.g., Cline or Claude Dev), edit your MCP settings file (e.g., cline_mcp_settings.json):
{
"mcpServers": {
"odoo-mcp": {
"command": "absolute/path/to/odoo-erp-mcp",
"args": [],
"env": {}
}
}
}
PyCharm / JetBrains IDEs
For JetBrains IDEs using an MCP or AI assistant plugin that supports standard MCP servers:
- Open the plugin's MCP server configuration.
- Add a new Stdio based server.
- Configure the command path to the
odoo-erp-mcpexecutable.
🚢 Deployment & Release
Build for Release
To generate a highly optimized binary:
cargo build --release
The binary will be located at ./target/release/odoo-erp-mcp.
Deploying to Production
- Copy the compiled binary and the
src/index.html(if not embedded) to your server. - Ensure
config.jsonis present or initialized via the UI on first run. - Add the binary path to your MCP client configuration (e.g.
claude_desktop_config.json).
📄 License
This project is licensed under the MIT License.
Установка Odoo Erp
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/dimastriann/odoo-erp-mcpFAQ
Odoo Erp MCP бесплатный?
Да, Odoo Erp MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Odoo Erp?
Нет, Odoo Erp работает без API-ключей и переменных окружения.
Odoo Erp — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Odoo Erp в Claude Desktop, Claude Code или Cursor?
Открой Odoo Erp на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Odoo Erp with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
