Odoo AI
MCP
Server
Securely connect AI assistants and clients (like Claude Desktop or Cursor) to your Odoo instance using the standardized Model Context Protocol (MCP). Let AI act safely with precise user-scoped permissions, audit trails, and deletion control.
Why Odoo MCP Server Matters
Modern AI coding environments and assistants require access to business context to be truly effective. Standard APIs require complex integrations and custom scripts. The Odoo MCP Server exposes Odoo tools, models, and actions using Anthropic's open-source Model Context Protocol (MCP). It bridges the gap between advanced LLMs and your Odoo database, enabling assistants to search records, query fields, post chat messages, and export reports securely without compromising on safety or control.
Enterprise
Benchmarks & Capabilities
Built from the ground up for high reliability, maximum data protection, and instant interoperability across your AI tech stack.
Supported AI Clients
Full native compatibility with Claude, ChatGPT, Cursor, Windsurf, Copilot, Gemini CLI, Zed, Cline, and more.
MCP Protocol Standard
Strict compliance with Anthropic's official Model Context Protocol (MCP) JSON-RPC standard without custom SDK lock-in.
Dual Authentication Engine
Seamless browser login OAuth flow for Claude.ai / ChatGPT, plus secure Bearer API tokens for desktop IDEs.
User-Scoped ACL & Record Rules
AI sessions execute strictly under the authenticated user's access rights, company scopes, and model whitelists.
Ultra-Low Latency Execution
Highly optimized internal ORM querying layers deliver lightning-fast responses to AI agents and copilots.
Systray Deletion Approvals
Guards against accidental deletion by intercepting delete requests and routing them to Odoo systray notification panels.
Comprehensive Audit Logging
Records every API call, tool name, user ID, client IP, execution duration, payload parameters, and server response.
Curated Odoo Operator Tools
Status inspection, advanced search, chatter communication, PDF report rendering, file transfers, and dynamic analytics.
Full Odoo 19 Compatibility
Native support and identical security guarantees across both Odoo 19 Community and Enterprise editions.
Odoo AI
MCP Server
Architecture
Expose Odoo business tools, data models, and workflow actions directly to Model Context Protocol (MCP) compatible AI clients. This standardized bridge enables AI assistants like Claude Desktop, Cursor, and ChatGPT to safely interact with your Odoo ERP data using precise access permissions and approval controls.
Key
Highlights
Connection Wizard
A quick step-by-step setup interface generating keys and configuring secure OAuth 2.0 routes for AI agents and clients to establish instant connections.
User-Scoped Permissions
AI interactions respect the active Odoo user's security rules, record rules, and access control lists. The AI cannot see or modify data the user cannot access.
Model-Level ACLs
Explicitly whitelist which database models (such as sales, purchases, or partners) the MCP server can expose to the AI, specifying Read, Write, Create, or Delete limits.
Delete Approvals
Prevent accidental data loss. Any request by the AI to delete records triggers a native Odoo systray notification requesting manual administrator review.
Activity & Audit Logs
Keep a close eye on AI operations. The server maintains a comprehensive, searchable history of every API request, payload, execution time, and response size.
Curated Chatter & Tools
Let the AI request PDF reports, retrieve status metadata, transfer files safely, send emails, or write notes directly to document chatters to coordinate on workflows.
How It
Works
Connect Your Client
Generate authentication credentials using Odoo's built-in MCP Connection Wizard, and paste the server configuration details into Claude, Cursor, or your AI client.
Whitelist Models
Choose exactly which Odoo models the AI can access. Configure granular CRUD (Create, Read, Update, Delete) permissions on a model-by-model basis.
AI Execution & Approvals
Your AI client issues tool commands to inspect or edit records. System monitors request rates, records logs, and requests admin approvals for sensitive actions.
Exposed
AI Tools
Easily demonstrate and record videos for each of the core tools. Use these example prompts inside Claude Desktop, Cursor, or any MCP client:
Executive Sales & Revenue Intelligence
Perform complex sales analysis, identify top-performing product segments, calculate MoM growth, and extract high-value customer details dynamically.
Customer Relationship & Chatter Automation
Record client updates, log internal notes directly to quotation logs, and programmatically schedule high-priority tasks and reminders for sales managers.
Professional Email & Communication Dispatch
Compose personalized follow-up emails, fetch client templates dynamically, and distribute documents with accurate terms and client information.
Automated PDF Document & Report Generation
Compile PDF statements, render official customer invoices, and aggregate accounting ledgers dynamically for instant download.
Interactive Spreadsheet & AI Analytics Dashboards
Instruct the AI to build dynamic multi-dimensional spreadsheet models, layout margins by representative, and generate regional revenue pivot views.
Enterprise Governance & Admin Approvals
Enforce strict data-protection logic and intercept delete actions, forwarding sensitive commands to Odoo systray notification panels for manual review.
Supported
AI Clients
Seamlessly connect your Odoo instance using the Model Context Protocol to any compatible AI assistant or development environment.
Claude.ai (Web)
ChatGPT
Claude Desktop
Cursor IDE
VS Code
Opencode
Antigravity
OpenAI Codex
Windsurf
Cline
Grok
Many More
Connect
Claude to Odoo
Connect Claude.ai, Claude Desktop, or Claude Code directly to your Odoo ERP using our standardized Model Context Protocol (MCP) Server. Search live business records, log notes to chatter, generate dynamic reports, and run workflows safely under your exact Odoo user permissions.
Example Prompts for Claude
Natural Language Powered"Show my top 10 Odoo customers by revenue this month and calculate month-over-month growth.â
"Which Odoo sales orders are currently waiting for confirmation, payment, or delivery?â
"Create a draft quotation in Odoo for ABC Company with 20 units of SKU-A100 and log a note.â
"Reassign Marcâs open Odoo opportunities and pending leads with expected closing this month to Grace.â
Step-by-Step Setup Guide for Claude
Install Module
Install Odoo AI MCP Server directly from your Odoo Apps store.
Open MCP App
Open the MCP Server app dashboard from your Odoo apps menu.
Connect Claude
Select Claude in the wizard to generate the OAuth 2.1 login connection.
Copy MCP URL
Click Copy URL or copy the generated desktop JSON config file.
Add & Chat
Paste the URL into Claude, authorize with Odoo, and ask any question!
Connect
ChatGPT to Odoo
Turn ChatGPT into your proactive enterprise co-pilot. Query your Odoo ERP in real-time, analyze inventory across warehouses, generate interactive spreadsheet dashboards, and perform actions with built-in administrator approval safety gates.
Example Prompts for ChatGPT
Instant Insights"How many Odoo sales orders and invoices were confirmed and posted this current week?â
"Show me Odoo stock items with low quantity on hand across all active warehouse locations.â
"Generate an executive Odoo revenue analytics dashboard for this quarter with KPI graphs.â
"What are our top 5 overdue customer invoices, due dates, and outstanding total balances?â
Step-by-Step Setup Guide for ChatGPT
Install Module
Install Odoo AI MCP Server from your Odoo Apps manager.
Open MCP App
Open the MCP Server app from the Odoo application switcher.
Connect ChatGPT
Select ChatGPT to configure the OAuth Browser Login connection.
Copy MCP URL
Click Copy URL to copy the secure MCP connection link.
Add & Query
Paste the URL into ChatGPT, sign in with Odoo, and ask anything!
Interface
Showcase
A fully integrated administrative suite inside Odoo to configure endpoints, check access permissions, and track active sessions.
MCP Connect Wizard
Easily configure API credentials and generate the exact JSON configurations required for your desktop AI integrations.
Model Access Control List
Explicitly map database tables and assign fine-grained read/write/create/delete access directly to the server profile.
Systray Deletion Approvals
Receive live notification badges in your utility panel whenever the AI requests a record deletion, enabling instant accept/reject overrides.
Rate Limiting Rules
Guard resources and server performance by setting execution limit thresholds and time frames for active connections.
Detailed Request Logs
Track all inputs, target endpoints, timestamps, durations, and outputs associated with active AI interactions.
OAuth 2.1 Authentication
Leverage standard modern authorization protocols to verify connections safely and log actions to specific users.
Technical
Architecture
Model Context Protocol Standard
Adheres strictly to the official open standard from Anthropic. Ensures native integration with compatible IDEs and desktop clients.
Security & Encryption
Protects endpoints with authentication keys and HTTPS protocols. Restricts data access strictly to Odoo's access rights structures.
Low-Latency JSON-RPC
Leverages optimized JSON-RPC messaging layers to return data fast, keeping your AI interactions quick and responsive.
Frequently Asked
Questions
Which AI clients are compatible?
Does it work with Odoo Community Edition?
Is my data secure?
Can I use it with a local Odoo instance?
What happens if the AI client requests a record deletion?
How do I update the module after installation?
Which AI clients, IDEs, and agent frameworks support MCP?
You may
also like
Atharva System
Providing high-quality Odoo modules to streamline your business workflows.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 10003 |
| Technical Name |
odoo_ai_mcp_server |
| License | OPL-1 |
| Website | https://www.atharvasystem.com/odoo-development |
Odoo AI MCP Server - User & Configuration Guide
Specification & Step-by-Step Setup Guide for Odoo 19 (Community & Enterprise)
1. Introduction & Overview
The Odoo AI MCP Server allows you to connect your favourite AI assistants—such as Claude.ai, ChatGPT, Claude Desktop, and Cursor—directly to your Odoo ERP using the official Model Context Protocol (MCP).
With this module, your AI assistant can securely query business records, draft sales quotations, update CRM leads, post notes in Chatter, render PDF reports, and generate analytics dashboards—all while strictly respecting your user permissions and company security rules.
Key Business Highlights
- Zero Custom Code Integration: Connect standard AI assistants in minutes via the built-in Connection Wizard.
- 100% User-Scoped Security: The AI only sees and modifies data that the authenticated Odoo user has permission to access.
- Model Access Whitelisting: Control exactly which Odoo models (Sales, Invoicing, Inventory, etc.) the AI can interact with.
- Safe Deletion Approvals: Prevent accidental data loss. Any deletion request by the AI triggers a notification in your Odoo Systray for manager approval.
- Activity & Audit History: Track every request made by AI assistants with full details on who, when, and what was modified.
- Compatible with Odoo 19 Community & Enterprise.
2. Installation & Quick Start
Step 1: Install the Module
- In your Odoo instance, go to Apps.
- Search for Odoo AI MCP Server (technical name: odoo_ai_mcp_server).
- Click Install.
Step 2: Assign User Access Rights
- Go to Settings → Users & Companies → Users.
- Select a user and scroll to the MCP Server access section: - User: Can use the Connect Wizard and connect their personal AI assistants. - Administrator: Full management access to settings, model rules, approval requests, and audit logs.
3. Global Settings & Configuration
To configure global settings, navigate to MCP Server → Settings (or Settings → General Settings → AI Assistant Gateway).
Configuration Options
- Active AI Assistant Gateway: - Master switch to turn the MCP server ON or OFF. When disabled, all incoming AI connections are blocked.
- Enable OAuth 2.1 for MCP Clients: - Enables browser-based login authorization for web clients like Claude.ai and ChatGPT.
- Access Token Lifetime: - Set the validity period for OAuth tokens (1 Hour, 1 Day, 1 Week, 1 Month, or Unlimited).
- Enable MCP Audit Logging: - Records all AI tool interactions in the Activity Log for monitoring and audit compliance.
- MCP Log Retention Period (Days): - Sets how many days logs are kept before being automatically cleared (default: 30 days; 0 = keep forever).
- Enable MCP Rate Limiting: - Turn on to enforce a maximum number of requests allowed per user per minute.
- MCP API Limit (Per Minute): - Maximum API requests allowed per minute per user (default: 60).
- Enable MCP Report Rendering: - Allows AI assistants to generate and provide download links for official QWeb PDF reports (Quotations, Invoices, Delivery Slips, etc.).
4. Step-by-Step Client Connection Guides
The Connect Wizard (MCP Server → Clients → Connect Wizard) generates the exact configuration needed for any AI platform.
Connecting Claude.ai (Web)
- In Odoo, open MCP Server → Clients → Connect Wizard.
- Select Claude.ai as the client.
- Copy the MCP URL shown on screen (e.g., https://your-odoo-domain.com/mcp).
- Open Claude.ai, go to Settings → Customize Connectors.
- Click Add Custom Connector, enter your MCP URL, and click Connect.
- A popup window will prompt you to log in to your Odoo account and click Authorize.
- Claude is now connected and ready to assist with your live Odoo data!
Connecting ChatGPT.com (Web)
- In Odoo, open the Connect Wizard and select ChatGPT.com.
- Copy the MCP URL.
- Open ChatGPT.com, go to Settings → Connectors → Add Custom Connector.
- Paste the MCP URL and click Connect.
- Sign in to your Odoo account to authorize ChatGPT.
Connecting Claude Desktop
- In Odoo, open the Connect Wizard, choose Claude Desktop, and enter a connection name (e.g. My Claude Desktop).
- Click Next to generate your API Key and configuration snippet.
- Open your Claude Desktop configuration file (claude_desktop_config.json): - Windows: %APPDATA%\Claude\claude_desktop_config.json - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json - Linux: ~/.config/Claude/claude_desktop_config.json
- Paste the generated JSON configuration:
{ "mcpServers": { "odoo": { "url": "https://your-odoo-domain.com/mcp", "headers": { "Authorization": "Bearer YOUR_GENERATED_API_KEY" } } } }
- Restart Claude Desktop.
Connecting Cursor IDE / VS Code
- In Odoo, generate a connection for Cursor or VS Code via the Connect Wizard.
- In Cursor, open Settings → Features → MCP Servers (or edit ~/.cursor/mcp.json).
- Paste the configuration snippet containing your URL and API Key.
5. Managing Model Access Rules
Control precisely which business data the AI can see and modify by navigating to MCP Server → Model Access Rules.
How to Configure Model Access
- Click New or click Add Models to use the bulk selection wizard.
- Select the target Odoo Model (e.g., Sales Order, Contact, Product, Lead/Opportunity).
- Configure the specific permission checkboxes: - Allow Read: AI can view, search, and aggregate records of this model. - Allow Write: AI can update existing records. - Allow Create: AI can create new records (e.g., new draft quotes or contacts). - Allow Delete: AI can request record deletion (subject to approval rules).
- Field Exclusions & Protection: - Specify Whitelisted Fields if you only want the AI to access specific fields. - Specify Blocked Fields to prevent sensitive data (e.g., cost prices, banking info, private notes) from ever reaching the AI.
6. Systray Deletion Approvals
To prevent accidental deletions, all delete actions requested by AI assistants can be routed through an administrator approval process.
How the Approval Process Works
- When the AI attempts to delete a record, the action is paused and an Approval Request is created.
- An instant notification badge appears in the Odoo Systray (top right header icon) for administrators.
- The administrator clicks the notification to view: - The record to be deleted (e.g., Quotation S00049). - The user who prompted the AI. - The exact prompt and reason provided.
- The administrator can click Approve (executes the deletion) or Reject (cancels the request and returns a note to the AI).
7. Monitoring & Activity Logs
Administrators can monitor all AI activity in real time under MCP Server → Activity → Activity Log.
What Gets Logged
- Timestamp & User: Date, time, and the Odoo user who initiated the action.
- Client IP & Platform: Originating IP address and AI client platform (Claude, ChatGPT, Cursor, etc.).
- Action & Parameters: The specific operation requested (e.g., search sales orders, post message, generate report) with confidential tokens automatically masked.
- Duration & Status: Response time in milliseconds and execution status (Success / Error).
- Error Diagnosis: Full error trace for quick troubleshooting if a query fails.
8. Available AI Capabilities & Use Cases
Once connected, your AI assistant can execute diverse ERP tasks:
1. Sales & Revenue Analysis
- Example Prompt: "Show our top 5 customers by revenue this month and calculate month-over-month sales growth."
- What Happens: The AI queries confirmed sales orders, aggregates revenue by partner, and presents a clear summary table.
2. Chatter & Workflow Automation
- Example Prompt: "On quotation S00025, add an internal note saying 'Client confirmed budget approval' and schedule a high-priority follow-up activity for the salesperson for Friday."
- What Happens: The AI logs the note directly in the quotation's chatter and schedules the activity in Odoo.
3. PDF Document & Report Generation
- Example Prompt: "Generate the official customer PDF quotation for S00019 and provide me the download link."
- What Happens: The AI triggers Odoo's report engine, renders the official branded PDF, and returns a secure download link.
4. CRM Lead Management
- Example Prompt: "Find all unqualified leads created this week and list their contact details and assigned sales teams."
- What Happens: The AI searches the CRM pipeline and provides an organized overview.
5. Inventory & Stock Status
- Example Prompt: "Which products currently have stock on hand below their minimum reordering rule in the Main Warehouse?"
- What Happens: The AI checks product stock levels and identifies low-stock items.
9. Frequently Asked Questions (FAQ)
- Q: Can the AI see data that a user does not have permission to see?
- A: No. The AI operates strictly under the logged-in Odoo user's security permissions, record rules, and company access.
- Q: Does this module work on Odoo Community Edition?
- A: Yes, the module is fully compatible with both Odoo 19 Community and Enterprise editions.
- Q: How do I disconnect an AI client?
- A: You can revoke access anytime in Odoo under MCP Server → Clients → API Key Clients (or OAuth Clients) by archiving or deleting the credential.
- Q: What if I am testing on a local machine (localhost)?
- A: For browser-based AI (Claude.ai / ChatGPT.com), your Odoo instance must have a public HTTPS URL (via ngrok, Cloudflare Tunnel, or domain). Desktop IDEs (Claude Desktop, Cursor) can connect directly to your local address.
10. Support & Assistance
For questions, feature requests, or technical support:
- Developed by: Atharva System
- Website: https://www.atharvasystem.com/odoo-development
- Support Email: support@atharvasystem.com
- Live Demo: https://alan-v19.atharvasystem.com/r/3wR
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
One of the best MCP products on the marketplace.
From installation to setup, this app works exactly as advertised.
Querying data and the ability to output detailed analysis are outstanding.
Definitely a must-have for CEO, COO, or Sales Executive.
Very Great Module and the best supplier for Odoo
We use the Atharva MCP connector to link our Odoo instance to Claude, and it does exactly what it promises. Setup was quick and the connection has been stable since day one — we query CRM data, invoices and stock records in natural language instead of digging through views and filters.
Pricing is genuinely reasonable compared to what we'd have spent building something equivalent in-house. And the team is responsive: every request we raised was handled quickly and properly, with no back-and-forth. Recommended without hesitation.
There are no comments yet!