Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Technical
  3. Remote Odoo MCP Server v 19.0
  4. Sales Conditions FAQ

Remote Odoo MCP Server

by Codemarchant https://codemarchant.com
Odoo

$ 233.07

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 5350
Technical Name odoo_remote_mcp
LicenseOPL-1
Websitehttps://codemarchant.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 5350
Technical Name odoo_remote_mcp
LicenseOPL-1
Websitehttps://codemarchant.com
  • Description
  • Documentation
  • License

Remote MCP Server for Odoo

Connect AI Agents Like Claude, Gemini, and ChatGPT to Your Odoo Instance

Overview

Transform your Odoo instance into an AI-powered powerhouse with the Model Context Protocol (MCP) Server. This module enables AI agents like Claude, Gemini, and ChatGPT to securely connect and interact with your Odoo data and operations.

Implements a Remote MCP Server — no local installations, no additional dependencies. Simply install the module, enter your Odoo URL in a remote MCP supported client and authenticate. Authentication is tied to the Odoo user, fully respecting existing permissions and access rights.

Built with enterprise-grade security featuring OAuth 2.1 with PKCE, comprehensive audit logging, granular access controls, and 11 powerful tools for data access, code execution, and source code exploration. Whether you're automating workflows, building AI-assisted reports, or enabling conversational ERP interactions, this module provides the foundation you need.

Learn more about Remote MCP: modelcontextprotocol.io/docs/develop/connect-remote-servers

How It Works

1
Install Module

Install from Odoo Apps

2
Add MCP Users

From user access rights, assign MCP Admin to yourself, MCP User to others

3
Configure Access

Navigate to MCP Server menu, set tool allowlists and model restrictions

4
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

platform.openai.com/docs/guides/developer-mode

*Requires paid ChatGPT subscription

Optional: Install ripgrep for faster code search
# Ubuntu/Debian
sudo apt install ripgrep

# macOS
brew install ripgrep
Testing without HTTPS (ngrok)
# Expose local Odoo (port 8069) via HTTPS tunnel
ngrok http 8069

Set ngrok URL as web.base.url in System Parameters

Seamless AI Integration

Once connected, AI agents can naturally interact with your Odoo data through conversation. Ask questions, create records, run reports, and automate workflows — all through natural language.

"Find all open sales orders for customer X"

"Create 10 new dummy test contacts with this theme for a demo"

"Show me how sale order discounts are calculated in our pricing module using code search tool"

"Calculate monthly revenue by product category for the past 6 months"

"What products are low on stock?"

"Analyze sales trends from the past 12 months and build me an interactive dashboard"

"Confirm SO/00042, send a message to the customer, and reassign to salesperson Jane"

"Identify our top 10 customers by revenue and their most purchased products"

Claude AI batch creating contacts in Odoo via MCP

Claude using MCP tools to batch create contacts in Odoo

Claude AI creating an interactive dashboard of last 12 months sales trends

Claude using MCP tools to generate an interactive sales dashboard

Key Features

OAuth 2.1 Security

Enterprise-grade authentication with PKCE, Dynamic Client Registration (RFC 7591), token rotation, and RFC 8707 resource indicators for audience binding.

11 Built-in Tools

Comprehensive toolset including data discovery, CRUD operations, method execution, ORM code execution, and source code search capabilities.

Granular Access Control

Per-tool user allowlists, model and field-level restrictions, and role-based permissions ensure AI agents only access what they should.

Comprehensive Audit Logging

Every tool execution is logged with user, client, parameters, results, execution time, and IP address for complete traceability.

Prompt Templates

Create reusable prompt templates with argument substitution that appear as commands in MCP clients. Share across users or keep private.

Source Code Access

AI agents can search and read addon source code with ripgrep integration for lightning-fast searches across your entire codebase.

Enterprise-Grade Security

OAuth 2.1 + PKCE

Latest OAuth standard with Proof Key for Code Exchange prevents authorization code interception attacks.

Token Rotation

Refresh tokens are rotated on each use, limiting the window of opportunity for stolen tokens.

Audience Binding

RFC 8707 resource indicators bind tokens to your specific MCP server URL.

Scope-Based Access

OAuth scopes (read, write, execute) plus offline_access for refresh tokens.

Model-Level Restrictions

Block AI access to sensitive models like accounting, HR, or custom data.

Field-Level Restrictions

Hide sensitive fields like passwords, API keys, or personal data from AI agents.

Use Cases

Conversational ERP

Let users query Odoo data through natural language. "Show me last month's sales by region" becomes a simple conversation.

Workflow Automation

Build AI-powered automations that can read context, make decisions, and execute actions across your Odoo instance.

Development Assistant

AI agents can search and understand your addon code, helping with debugging, documentation, and code generation.

Data Analysis

Ask complex analytical questions and get insights from your Odoo data without writing reports or exports.

Training & Onboarding

Help new users learn Odoo by letting them ask questions and get contextual answers based on your actual data.

Custom Integrations

Build AI-powered integrations that can understand and manipulate Odoo data based on external triggers.

Intuitive Configuration Dashboard

The main configuration page serves as your command center for the MCP server. Access all settings, monitor connections, and manage security from a dedicated app menu that keeps MCP administration separate from other Odoo settings.

  • Global enable/disable switch for the MCP server
  • Smart buttons for quick navigation to clients, tokens, and execution logs
  • Real-time connection status and endpoint URL display
  • Configurable token expiry and session timeouts
  • Execution logging with adjustable retention periods
  • Automatic cleanup via scheduled actions
MCP Configuration - Main settings page with smart buttons and OAuth settings

Main configuration page: Server settings, smart navigation buttons, and OAuth configuration

Tool Settings

Configure code execution limits, search result caps, and toggle detailed execution logging for debugging and compliance.

MCP Configuration - Tool Settings tab

Tool Settings: Execution limits and logging options

Connection Settings

Module is self documenting, provides connection details/access token management

MCP Configuration - Connection Settings tab

Connection Settings: Token expiry and session configuration

Per-Tool Access Control

Not every user needs the same level of access. The tool allowlist system lets you precisely control which users can execute each tool, from safe read-only operations to powerful code execution capabilities.

Low Risk

Read Tools
Auto-enabled for all MCP users. Safe data retrieval operations.

Medium Risk

Write Tools
Require explicit allowlist membership. Create, update, delete records.

High Risk

Execute Tools
Restricted to trusted power users. ORM code execution access.

MCP Tool Allowlist - Read and Write tools configuration
MCP Tool Allowlist - Execute and Code tools configuration

Tool allowlists: Read tools (auto-enabled) and Write tools with user selection

Model & Field Restrictions

Beyond tool-level access, you can create fine-grained restrictions at the model and field level. Protect sensitive business data by blocking AI access to specific models like accounting entries, HR records, or any custom models containing confidential information.

Model 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 Restrictions
  • Hide sensitive fields from AI responses
  • Protect passwords, API keys, personal data
  • Per-field CRUD control
  • Works alongside Odoo's native ACLs
MCP Model Access - Model restriction groups list and configuration

Model Access tab: Create and manage model restriction groups with user assignments

MCP Model Group - Detailed restricted models and fields configuration

Model Group form: Configure restricted models with blocked CRUD operations, applies to specified toolsets.

MCP Model Group - Detailed restricted fields configuration

Model Group form: Configure restricted fields, applies to specified toolsets.

Secure OAuth Authentication

When AI clients connect, users see a professional consent screen that clearly displays the requesting application and permission scopes. Only users with the MCP User group can authorize connections, and all sessions are tied directly to their Odoo account with full respect for existing access rights.

Read
Data access

Write
Modify records

Execute
Run code

OAuth Consent Screen - User authorization dialog showing client name and requested permissions

OAuth consent screen: Clear permission display with easy authorize/deny actions

Complete Audit Trail

Every tool invocation is captured in detailed execution logs for compliance auditing, debugging, and security monitoring. Track exactly what AI agents are doing, with full parameter and result logging, timing metrics, and user attribution.

User & Client

Parameters

Results

Timing

Execution Logs - Detailed tool call audit record showing parameters, results, and metadata

Execution log detail: Full audit trail with tool name, parameters, results, timing, and IP address

Reusable Prompt Templates

Create powerful, standardized prompts that appear as selectable commands in AI clients. Define argument placeholders with {{variable}} syntax, set required vs optional parameters, and control visibility across your organization. Perfect for common queries, report generation, or complex multi-step workflows.

Template Features
  • Argument placeholders with defaults
  • Required and optional parameters
  • Rich text prompt content
Sharing Options
  • Private: Only you can see it
  • Shared: Specific users
  • Public: All MCP users
Prompt Template - Form view showing template name, arguments, and content editing

Prompt template form: Define prompts with arguments, descriptions, and visibility settings

Prompt Templates - As displayed in Claude AI client command list

Templates in Claude: Prompts appear as selectable commands with argument inputs

11 Powerful Tools

Everything AI agents need to interact with Odoo

Read Tools (Auto-enabled)
  • list_models — Discover models with regex filtering
  • get_model_schema — Get field definitions with filters
  • search_read — Search records with domain filters
  • read_record — Read single record by ID

Binary fields automatically returned as embedded resources

Write Tools (Allowlist Required)
  • create_record — Create one or more records
  • update_record — Bulk update with same or different values
  • delete_record — Delete records by ID
  • execute_method — Call model methods (action_confirm, etc.)

Protected by user allowlists and model restrictions

Code Tools (Allowlist Required)
  • code_search — Search addon source with ripgrep
  • code_read — Read source files with pagination

Ripgrep integration for blazing fast searches (Python fallback included)

Advanced Tools (Restricted)
  • execute_orm — Execute Python code with safe_eval

Full ORM access with env context — only for trusted users

Technical Details

MCP Protocol

Implements MCP 2025-11-25 specification with Streamable HTTP transport

OAuth Discovery

RFC 8414 authorization server and RFC 9728 protected resource metadata

Resource Templates

MCP resource templates for attachments and binary fields

Ripgrep Integration

Optional ripgrep for 10x faster code searches (Python fallback included)

Support & Documentation

We're here to help you succeed with MCP integration.

Documentation

Built-in docs at /mcp/docs

Email Support

support@codemarchant.com

Website

codemarchant.com

Ready to Connect AI to Your Odoo?

Install the MCP Server module and unlock the power of AI-assisted ERP management.

MCP Server for Odoo

Enable AI agents like Claude, Gemini, and ChatGPT to interact with your Odoo instance via the Model Context Protocol (MCP).

Setup

  1. Install the module
  2. Add users to the MCP User group
  3. Configure tool allowlists in MCP Server → Configuration
  4. Connect your AI client (see Quick Connect below)

Quick Connect

Replace https://your-odoo.com with your Odoo instance URL.

Claude Code CLI:

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 → Enter URL:

https://your-odoo.com/mcp

Browser opens for OAuth → Authorize → Ready Guide: https://modelcontextprotocol.io/docs/develop/connect-remote-servers#connecting-to-a-remote-mcp-server

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)

In chatgpt settings → Apps menu → Advanced settings → Enable Developer Mode → Create app and add MCP server URL:

https://your-odoo.com/mcp

Browser opens for OAuth → Authorize → Ready

Guide: https://platform.openai.com/docs/guides/developer-mode

*Chatgtp custom apps only work if have paid subscription as of 28/12/2025

Requirements

  • HTTPS required for production
  • ripgrep (optional) - Faster code search

Install ripgrep

# Ubuntu/Debian
sudo apt install ripgrep

# macOS
brew install ripgrep

# Windows
choco install ripgrep

Testing without HTTPS (ngrok)

For local development without HTTPS:

# Expose local Odoo via HTTPS tunnel
ngrok http 8069

# Use generated URL, set as web base url in system parameters: https://xxx.ngrok-free.app/mcp

Endpoints

  • /mcp - MCP protocol endpoint
  • /mcp/docs - Built-in documentation
  • /.well-known/oauth-protected-resource - OAuth resource metadata
  • /.well-known/oauth-authorization-server - OAuth server metadata

Changelog

19.0.1.0.0
Initial release
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with