| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1415 |
| Technical Name |
odoo_ai_mcp |
| License | OPL-1 |
| Website | https://dakshsoft.in |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1415 |
| Technical Name |
odoo_ai_mcp |
| License | OPL-1 |
| Website | https://dakshsoft.in |
Odoo MCP Server
Bridge Odoo with Advanced AI Agents using Model Context Protocol
Connecting Odoo to AI
Seamless AI Integration
Empower AI assistants like Claude Desktop, Cursor, and Windsurf to directly interact with your Odoo database via MCP.
Dynamic Tool Discovery
Automatically exposes your Odoo models (Partners, Sales, Invoices) as tools that AI agents can discover and use without hardcoded configs.
Secure & Auditable
Control exactly what the AI can see and do with granular API keys and permissions. Every action is logged for full transparency.
Designed for the AI Era
The Odoo MCP Server implements the Model Context Protocol (MCP), a new standard for connecting AI assistants to data. It acts as a bridge, translating your Odoo models into a format that AI tools understand. Whether you want to generate reports, clean up data, or manage records using natural language, this module provides the secure infrastructure to make it happen.
Installation
Follow these simple steps to install the MCP Server module on your Odoo instance.
- Copy the
odoo_ai_mcpfolder to your Odoo addons directory. - Restart your Odoo server service.
- Activate Developer Mode in Odoo.
- Go to Apps, click "Update Apps List", search for "MCP Server", and click Install.
Figure: Installing the module from Apps menu
Configuration
1. Enable the Server
Go to Settings > General Settings > MCP Server. Toggle "Enable MCP Server" to ON. You can also configure rate limits and audit log retention here.
2. User Permissions
Go to the user's Access Rights tab and assign the MCP User group to allow access.
3. Configure Model Access (Crucial!)
By default, no models are exposed. You must explicitly allow access.
- Navigate to MCP Server > Configuration > Model Access.
- Create a new rule (e.g., for
res.partner). - Check permissions: Read, Create, Write, Delete as needed.
Figure: Enabling access for Contacts (res.partner)
4. Generate API Key
Navigate to MCP Server > Configuration > API Keys. Generate a new key and copy it immediately. You will need this for your AI client.
AI Integration
To use Odoo with Claude Desktop, you need to edit your configuration file.
Config File Locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"odoo": {
"url": "http://your-odoo-url.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_GENERATED_API_KEY"
}
}
}
}
Restart Claude Desktop. You can now ask Claude questions like:
"Find the contact email for Azure Interior and update their phone number to +1-555-0100"
Code Examples
You can also interact programmatically using Python.
import requests
import json
API_KEY = "YOUR_API_KEY"
URL = "http://localhost:8069/mcp"
def mcp_call(tool, args):
headers = {"Authorization": f"Bearer {API_KEY}"}
payload = {
"jsonrpc": "2.0",
"method": "tool/call",
"params": {"name": tool, "arguments": args},
"id": 1
}
return requests.post(URL, json=payload, headers=headers).json()
# READ Example
print(mcp_call("odoo.res.partner.read", {
"domain": [["city", "=", "New York"]],
"fields": ["name", "email"]
}))
# CREATE Example
print(mcp_call("odoo.res.partner.create", {
"values": {"name": "New Client", "email": "client@example.com"}
}))
Troubleshooting / FAQ
- Ensure you pass the header:
Authorization: Bearer YOUR_KEY - Check if the key has expired or been revoked in Odoo settings.
- Verify you are using an MCP Server API Key, not a standard Odoo user password.
res.partner, sale.order) in
MCP Server > Configuration > Model Access and check the box for "Allow
Read", "Allow Create", etc.
Unlock Odoo's AI Potential
Download the MCP Server and start building AI-powered workflows today.
Get StartedExplore Our Other AI Components
Need Custom Odoo Modules? We can build custom Odoo addons for your business!
Developed & Maintained by Daksh Solutions &
Services
Support: support@dakshsoft.in |
Admin: admin@dakshsoft.in
Copyright © 2026 Daksh Solutions & Services. All Rights Reserved | dakshsoft.in
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module