MCP Server for Odoo
Model Context Protocol Server for Odoo
Built on app_chatgpt's multi-model AI, this module lets ChatGPT, DeepSeek, Qwen and other large language models securely read and write Odoo data through the standard MCP protocol.
Expose your Odoo data to ChatGPT, DeepSeek, Qwen and more AI models through the standard MCP protocol.
Overview
app_mcp is a standalone MCP (Model Context Protocol) server for Odoo, providing a standard /ai/mcp endpoint (JSONRPC 2.0 Streamable HTTP). It reuses app_chatgpt's multi-model AI capabilities, supporting ChatGPT-4o, GPT-4 32k, GPT-3.5 Turbo, DeepSeek, Alibaba Qwen, Baidu ERNIE, Azure AI and more, so any MCP-compatible AI client can securely invoke Odoo business tools via an API Key.
app_mcp is a standalone MCP (Model Context Protocol) server for Odoo, providing a standard /ai/mcp endpoint (JSONRPC 2.0 Streamable HTTP). Reusing the multi-AI capabilities of app_chatgpt, it supports ChatGPT-4o, GPT-4 32k, GPT-3.5 Turbo, DeepSeek, Alibaba Qwen, Baidu AI, Azure AI and more, so any MCP-compatible AI client can securely invoke Odoo business tools with API keys.
Key Highlights
Multi-AI meets standard MCP protocol
Multi-AI Support
ChatGPT-4o, GPT-4, DeepSeek, Qwen, Baidu, Azure
Reuses app_chatgpt's multi-model capabilities — one MCP endpoint connects to all mainstream LLMs.
Standard MCP Protocol
/ai/mcp - JSONRPC 2.0 Streamable HTTP
Fully compliant with the Model Context Protocol specification, compatible with MCP clients such as Claude, DeepSeek and WorkBuddy.
One-click Agent Setup
WorkBuddy, Claude Code, Codex, Qoder and more
Automatically generates MCP configuration files for AI agents such as WorkBuddy, Claude Code, Codex and Qoder — copy and use, no manual editing required.
Built-in Generic Tools
8 ready-to-use skills, authorized by your own Odoo access rights
list_models List available AI models · get_fields Get model field structure · search_records Search records · get_record Read a single record · create_record Create · update_record Update · delete_record Delete · get_current_context Get the current user context. Authorization follows the calling user's own Odoo permissions; ACLs and record rules always apply.
Enterprise-grade Security
One-click MCP token, scoped API Key, Odoo ACL
One-click generation of MCP tokens and settings: scoped API Key authentication, per-user permissions, full reuse of Odoo's access requirements, sanitized error messages, and a 10MiB request body limit.
Server Actions as Tools
Reuse your Odoo business logic
Expose server actions marked as "Available in MCP" as MCP tools with one click, reusing app_ai_odoo's AI tool framework.
Personalized Handshake
User, timezone, companies, UTC rule
The initialize handshake returns personalized instructions so the AI understands the current user's context and company rules.
Complete Feature List
-
1. Standard MCP endpoint /ai/mcp (JSONRPC 2.0 Streamable HTTP)
Standard MCP endpoint /ai/mcp with JSONRPC 2.0 Streamable HTTP transport -
2. Multi-model AI support: ChatGPT-4o, GPT-4 32k, GPT-3.5 Turbo, DeepSeek, Alibaba Qwen, Baidu ERNIE, Azure AI
Multi AI support via app_chatgpt: ChatGPT-4o, GPT-4 32k, GPT-3.5 Turbo, DeepSeek, Alibaba Qwen, Baidu AI, Azure AI -
3. One-click generation of MCP configuration files for AI agents (WorkBuddy, Claude Code, Codex, Qoder, etc.)
Auto-generate MCP configuration files for AI agents such as WorkBuddy, Claude Code, Codex and Qoder -
4. Built-in generic tools (8 skills):
list_models List available AI models · get_fields Get model field structure · search_records Search records by criteria · get_record Read a single record · create_record Create a record · update_record Update a record · delete_record Delete a record · get_current_context Get the current user/company context. All are authorized by the calling user's own Odoo permissions. -
5. Authorization based on each user's Odoo permissions (read/create/write/unlink)
The MCP key belongs to a user: that user's Odoo ACL decides which models and operations are available. Record rules always apply. -
6. Expose server actions as MCP tools with one click
Server actions flagged "Available in MCP" are exposed as tools, reusing the app_ai_odoo AI tool framework -
7. One-click generation of MCP tokens and settings, with scoped API Key authentication (Bearer token, scope=mcp)
One-click MCP token generation and setup, scoped API Key (Bearer token, scope=mcp) authentication against res.users.apikeys, portal "New MCP Key" button -
8. Personalized initialize handshake (user/timezone/company/UTC rules)
Personalized instructions in the initialize handshake with user, timezone, active companies and UTC rule -
9. Enterprise-grade security hardening: per-user permissions, full reuse of Odoo's access requirements, sanitized error messages, and a 10MiB request body limit
Security hardening: per-user independent permission reusing full Odoo ACL, sanitized errors, 10 MiB body cap -
10. Batch reads automatically filter credential-style field names
Credential-looking fields are automatically omitted from bulk reads -
11. Visual configuration: Settings > Technical > MCP
Configuration in Settings > Technical > MCP: endpoint switch, rate limit and record limits
General Features
Multi-Language & Multi-Company
Multi-Language & Multi-Company
Full multi-language translation support for global deployments. Native multi-company architecture with strict data isolation.
Full Version Support
Full Version Support
Works with Odoo 19, 18, 17, 16, 15, 14, 13, 12, EE/CE/.SH, compatible with Enterprise, Community and online SaaS
Full Open Source
Full Open Source
Released under LGPL-3. Transparent, auditable code, open for further development and customization.
How It Works
Install & Configure
Install & Configure MCP
Generate MCP Token in One Click
One-click MCP Token
Connect Your AI Client
Connect MCP Client
Invoke Business Tools
Invoke Odoo Tools
After installing the module, enable the endpoint in Settings > Technical > MCP and generate an MCP token with scope=mcp in one click. MCP configuration files for AI agents such as WorkBuddy, Claude Code, Codex and Qoder are generated automatically (including the https://your-odoo/ai/mcp endpoint and Bearer Token). Copy them into the corresponding agent and the LLM can start invoking Odoo tools.
Supported & Dependent Modules
- Multi-AI Center
- Base Setup
- portal - Portal (self-service API Key generation)
odooai.cn
Professional Odoo Solutions: Development, Implementation, Consulting & Training
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 15296 |
| Technical Name |
app_mcp |
| License | LGPL-3 |
| Website | https://www.odooai.cn |
Please log in to comment on this module