| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 3687 |
| Technical Name |
odoo_remote_mcp_codetrade |
| License | OPL-1 |
| Website | https://www.codetrade.io |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 3687 |
| Technical Name |
odoo_remote_mcp_codetrade |
| License | OPL-1 |
| Website | https://www.codetrade.io |
| Versions | 16.0 17.0 18.0 19.0 |
Odoo MCP Studio
Community
Enterprise
Odoo.sh
Odoo MCP Studio
AI React App, Module & EChart Builder — Powered by Remote MCP
Connect AI agents like Claude, Gemini, and ChatGPT to your Odoo instance. Build full-stack web applications, custom data modules, interactive dashboards, and automate workflows — all through natural conversation.
View DemoPowerful Pillars
Remote MCP Server
17 built-in tools with OAuth 2.1 security, granular access control, and comprehensive audit logging. No local installation required.
AI Web App Builder
AI generates complete multi-page React applications with routing, API endpoints, user storage, and public sharing — directly inside Odoo.
AI Module Builder
AI creates custom Odoo data
modules with models, fields, views, and security rules — packaged as ZIP and installed via
base_import_module.
EChart Dashboard Builder
Describe what you want to visualize and AI builds interactive Apache ECharts dashboards with live Odoo data — from bar charts to 3D globes.
How It Works
Install Module
Install directly from Odoo Apps
Add MCP Users
Assign MCP Admin to yourself, MCP User to others from user access rights
Configure Access
Navigate to MCP Studio menu, set tool allowlists and model restrictions
Connect AI Client
Add your Odoo /mcp URL in your AI client
Quick Start: Connect Your AI Agent
Works with any remote OAuth MCP-compatible AI agent.
Replace the example URL with your Odoo instance URL + /mcp
Claude Code CLI
Add MCP server:
claude mcp add odoo --transport http https://your-odoo.com/mcp
Within Claude CLI, use /mcp command and
authenticate.
Claude Desktop / Claude.ai
Settings → Connectors → Add Custom Connector
https://your-odoo.com/mcp
Browser opens for OAuth → Authorize → Ready.
Gemini CLI
Edit ~/.gemini/settings.json:
{
"mcpServers": {
"odoo": {
"url": "https://your-odoo.com/mcp"
}
}
}
Within Gemini CLI, use /mcp command and
authenticate.
ChatGPT (Developer Mode) *
Settings → Apps → Advanced → Enable Developer Mode → Create App
https://your-odoo.com/mcp
See platform.openai.com/docs/guides/developer-mode
Local Development (ngrok)
MCP requires HTTPS. Use ngrok to expose your Odoo instance:
# Expose local Odoo (port 8069) via HTTPS tunnel ngrok http 8069
Set ngrok URL as web.base.url in System
Parameters. Also set web.base.url.freeze to True so Odoo doesn't
overwrite it.
Optional: Install ripgrep for faster code search
# Ubuntu/Debian sudo apt install ripgrep # macOS brew install ripgrep
Applies to the optional code_search and
code_read tools. Auto-detected, falls back to Python when not installed.
Optional: Install esbuild for faster web apps
# npm (any OS) npm install -g esbuild # macOS brew install esbuild
Server-side JSX compilation — saves ~300ms page load. Optimal for public webapps needing SEO performance. Auto-detected, falls back to Babel CDN. Restart Odoo after installing.
Configuration Dashboard
The main configuration page serves as your command center. Access all settings, monitor connections, and manage security from a dedicated app menu.
- Enable or disable the MCP server globally with a single toggle
- Smart buttons for quick access to clients, tokens, and execution logs
- Display of the MCP endpoint URL for easy reference
- Configurable expiration for access and refresh tokens
- Execution logs with customizable retention duration
- Automated cleanup through scheduled actions
Tool & Logging Configurations
Configure Fine-tune execution limits, control the number of search results, and enable or disable detailed logging as needed. For better traceability, the module ZIP can be automatically posted in the chatter upon installation. Additionally, EChart data can be included in tool responses to support AI-based analysis and iteration.
Per-Tool Access Control
Define exactly who can use which tools by categorizing access based on risk levels—from basic read operations to advanced execution capabilities.
Low Risk
Read Tools
Enabled by default for all MCP users
Medium Risk
Write Tools
Accessible only to users included in an allowlist
High Risk
Execute Tools
Limited strictly to trusted and authorized users
Model & Field Restrictions
Create Implement detailed access control at both model and field levels to safeguard sensitive business information. Restrict AI access to specific data points across multiple operations including: list_models, get_model_schema, search_read, read_record, read_group, create_record, update_record, delete_record, and execute_method.
- Model-Level Restrictions: Create restriction groups for different user types, block specific CRUD operations per model, apply globally or to specific users, mass-add models via wizard
- Field-Level Restrictions: Hide sensitive fields from AI responses, protect passwords/API keys/personal data, per-field CRUD control. Works alongside Odoo's native ACLs
Detailed Execution Logs
Each tool execution is recorded with complete details, including parameters, results, execution time, user identity, and IP address—ensuring full traceability and accountability.
Reusable Prompt Templates
Create
standardized prompts that appear as selectable commands in AI clients. Define
argument placeholders with {{variable}} syntax and
control visibility across your organization.
API Key Management
Store third-party API keys
securely in Odoo for use by web application endpoint handlers. Keys are restricted to MCP
administrators and should never be exposed to end users — endpoint code can read them
server-side via env['mcp.api.key']. Use this for Anthropic API keys, webhook
secrets, or any credentials your webapps need.
17 Powerful Tools
A comprehensive toolkit enabling AI agents to interact seamlessly with Odoo.
Read Tools (Auto-enabled)
list_modelsget_model_schemasearch_readread_recordread_groupWrite Tools (Allowlist)
create_recordupdate_recorddelete_recordexecute_methodCode Tools (Allowlist)
code_search (ripgrep)code_readAdvanced Tools (Restricted)
execute_ormcreate_echartsearch_webapp_codemanage_webappsearch_module_codemanage_moduleSafe Eval Sandbox
All server-side Python code — execute_orm, webapp data code, API endpoint handlers, and EChart data code — runs inside Odoo's safe_eval sandbox. This is the same secure execution environment that Odoo uses internally for automated actions, server actions, and computed fields. When using safe_eval, Python import statements are blocked at the bytecode level to prevent root server access possibility through dangerous imports, but we provide additional whitelisted utilities on top of Odoo's defaults — including HTTP requests, cryptographic signing, regex, and more.
Odoo Core
env— Odoo Environmentuser / uidref(xmlid)CommandUserError / ValidationErrorlogger
Date / Time
datetime,datetimedelta / relativedeltadateutiltimezonetime
HTTP & Crypto
requests(.get, .post)json,base64hashlib,hmacre(regex)html
Blocked (Security)
importstatementsos / subprocess / shutilsocketexec / eval / compile__dunder__attributes
AI-Powered React Web Application Builder
Simply describe
your idea, and AI will generate complete, multi-page React web applications directly within
Odoo. Whether it's interactive games, business dashboards, customer portals, or internal
tools, everything is created through natural conversation.
Build fully functional full-stack apps with routing, API endpoints, persistent storage, and
fine-grained access control—without writing code manually.
Supports Hash, Memory, and Browser routing modes (with SEO support)
Create custom REST APIs powered by Python
Make apps accessible to public users, portal users, or internal teams
Web Application Form View
Every AI-generated web application is stored as a fully editable Odoo record. Inspect and modify pages, endpoints, shared components, global state, CDN dependencies, and sharing settings — all from the familiar Odoo form view.
Use the App URL or click the OPEN APP button to open the web app.
Select any Web App page to modify its code directly in the UI.
Multi-page routing — React Router 6 (Hash, Memory, or Browser) with dynamic URL parameters.
Ai Web App Builder Response - Executive ERP Portal
What You Can Build
Zero Build Step Architecture
Web
applications require no build step, no compilation, and no bundling. React 18
and React Router 6 are loaded via ESM from CDN, JSX is compiled in the browser
by Babel Standalone, and Tailwind CSS is included via CDN. AI-generated apps run
immediately — no npm install, no webpack, no CI/CD
pipeline.
Custom API Endpoints
Each web application can define custom REST API endpoints with Python handlers. Support for GET, POST, PUT, and DELETE methods with dynamic route parameters — enabling full CRUD operations and complex business logic directly from the frontend.
Click any API endpoint to edit its code manually from the UI.
Sharing & Public Access
Control who can access your web applications. Share with specific users, user groups, portal users, or make applications fully public. Public applications can be linked directly from your website for anyone to access without an Odoo login.
Persistent User Storage
A
per-user persistent
key-value store connected to Odoo credentials. Save settings, high scores, shopping
carts, or any user-specific data permanently — without building a custom Odoo model.
Read and write with getUserStorage() and
setUserStorage(key, value).
Key Capabilities
Each webapp is a self-contained React application hosted inside Odoo. Pages define the UI using JSX components, with server-side Python code that fetches data from Odoo's ORM. API endpoints let the frontend call back to the server for actions like saving records or integrating external services. Users get persistent storage for preferences and progress, and binary assets (images, audio, sprites) can be uploaded manually or by AI. Access control determines who can view each app — public visitors, portal users, or internal staff.
- Multi-page routing — React Router 6 (Hash, Memory, or Browser) with dynamic URL parameters
- Global state management — Shared state across all pages
- Persistent user storage — 5MB per user with offline fallback via localStorage
- Shared components — Reusable JSX functions across all pages
- Component files — Split large pages into named code files (engine, sprites, utilities)
- Tailwind CSS — Built-in styling framework (optional)
- CDN dependencies — Import any npm library via ESM
- Server-side data — Python data fetching with full ORM access
- HTTP requests — Call external APIs, webhooks, and services
- User context — Built-in user info (name, role, company) for personalization
- Binary assets — Upload images, audio, and sprites; use
asset('filename') - Lazy page loading — Load pages on demand to reduce initial load time
- Visitor permissions — Code runs with end-user access rights
AI-Powered Module Builder
Let AI create
custom Odoo data
modules through natural conversation. Define new models, fields, views, menus, security
rules, and server actions — all packaged as installable ZIP modules using Odoo's native
base_import_module framework. Modules persist across restarts and appear in
the standard Apps menu.
XML, CSV data files
One-click install
Create, update, reinstall, uninstall
No Server Restart. No Deployment Step. No Manual Upload.
AI creates, packages,
and installs modules all in one step — entirely through conversation. There is no server
restart, no deployment pipeline, and no manual ZIP upload. The AI agent calls
manage_module to create the module files, automatically packages them into
a ZIP, and installs via Odoo's base_import_module — your new models,
fields, views, and menus are live immediately.
How It Works
Describe Your Module
"Create a module that adds a delivery reference field to sale orders"
AI Creates Files
Manifest, XML data files,
CSV security rules — all generated via manage_module
Package & Install
Auto-packaged as ZIP and installed via base_import_module — no server restart
Live in Odoo
Module appears in Apps menu, fields and views active immediately
Module Form View
Every AI-created module is stored as a fully editable Odoo record. View all files, track state (Draft / Packaged / Installed), and manage the full lifecycle from a familiar Odoo form view. The chatter tracks all packaging and installation activity.
File Editor
Each module file is editable with a code widget. AI generates the XML data files that define new models, fields, views, and security rules — all reviewable and editable before installation.
Download & Backup
After packaging, download the module ZIP file for backup or manual deployment to other instances.
What Modules Can Contain?
ir.model XML records
ir.model.fieldsReview & Control
Review Before Installing
By default, AI automatically installs after creating files. If you prefer to review first, ask the AI to use skip_install=true — this saves the files without triggering installation. Review in the Files tab, then click Install / Upgrade when ready.
Uninstall & Reinstall
The AI can use uninstall_first=true to cleanly drop all module tables and data before reinstalling. This permanently deletes all user data in the module's custom models — only during initial development.
Once real data exists, use force=true to overwrite noupdate records without dropping tables, or remove leftover fields manually via Settings → Technical → Fields/Models.
Troubleshooting AI-Generated Modules
AI can occasionally produce errors in generated XML, CSV, or field definitions. Errors may surface during installation or later when opening views, menus, or server actions:
- Paste the full error message (traceback or validation error) back to your AI agent — it can usually diagnose and fix the issue in one step
- Post-install errors (e.g. a view or action fails to load) are common — copy the error dialog or server log and share it with the AI
- Review Odoo base code for patterns: Ask the AI to search existing Odoo modules for similar models, views, or security rules before generating new ones — this dramatically reduces errors
- Use skip_install=true to review generated files before installing, and Export regularly to save working versions
- Installation timeout: Module installation can take several minutes, especially for modules with many models and fields. The MCP tool call may time out before receiving a response — but the install is still running server-side and will usually complete successfully. If this happens, check the module state in Odoo (or ask the AI to search ir.module.module) before retrying — duplicate installs while one is in progress can cause database locks
Best practice: Instruct the AI to study the target Odoo version's base addons for naming conventions, field types, and view structures before building your module. This produces cleaner, more compatible results.
Interactive ECharts Dashboards
Describe what you want to visualize — AI builds it for you. Powered by Apache ECharts, one of the most powerful and flexible charting libraries. Build everything from simple bar charts to complex multi-axis dashboards with drill-down capabilities.
A Blank Canvas for AI
Unlike rigid dashboard builders, ECharts provides a blank canvas where AI has complete creative freedom. Any chart type, any layout, any data combination.
No Configuration Lock-in
Dashboards are stored as pure Python data code and JSON chart options — no proprietary formats. Easily inspect, modify, or migrate your visualizations.
How It Works
Describe Your Dashboard
"Show me monthly sales by product category for the past 6 months"
AI Generates Everything
Data queries, chart options,
styling — all created using the create_echart tool
Share Instantly
Get a shareable link immediately, or share with specific users and groups
Dashboard Configuration
Preview Dashboard
Click on the Dashboard URL or the OPEN DASHBOARD button to open the Dashboard.
Troubleshooting AI-Generated Dashboards
AI can occasionally make mistakes. If your dashboard shows a blank page or error:
- Open browser developer tools (F12 → Console) to check for JavaScript errors
- Copy error messages and share them with your AI agent to diagnose and fix issues
- Use Export regularly to save working versions — restore anytime via Odoo import
Version 1.0 : 18.0.0.0.0
4 June 2026
This Odoo app cannot be used with Odoo Online (SaaS).
Yes! You get 60 Days of Free Support included with your purchase. Reach us at support@codetrade.io.
Each major Odoo version requires a separate purchase. Separate versions are available for Odoo 16, 17, 18, and 19.
Download the module .zip from the Odoo App Store, extract it into your addons directory, and install it from the Apps menu after activating developer mode.
Contact us at support@codetrade.io and we'll resolve it within our support window.
Language Translation
Our Services
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