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
    • Property 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. AI
  3. Odoo MCP Framework v 14.0
  4. Sales Conditions FAQ

Odoo MCP Framework

by Chris https://github.com/chrisking94/odoo_addons/tree/main/mcp_base
Odoo
v 14.0 Third Party 9
Download for v 14.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 236
Technical Name mcp_base
LicenseLGPL-3
Websitehttps://github.com/chrisking94/odoo_addons/tree/main/mcp_base
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 236
Technical Name mcp_base
LicenseLGPL-3
Websitehttps://github.com/chrisking94/odoo_addons/tree/main/mcp_base
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0

Odoo MCP Framework

Connect Odoo to AI Agents with One Line of Code. Transform your Odoo into a Model Context Protocol (MCP) Server for seamless integration with Claude, ChatGPT, Cursor and other AI agents.

Simple. Elegant. Powerful.

AI Integration, MCP Server, LLM Connector, Automation

One Decorator, AI Ready

@mcp_tool(description="Search customers by name")
def search_customers(self, name: str):
    # That's it! Your method is now AI-ready

Why Choose This?

Transform your Odoo into an AI-ready MCP Server instantly. No complex configuration, no boilerplate code - just decorate and go.

Minimal Setup

Just one decorator. Your methods are ready for AI agents.

Type Safe

Automatic schema generation from Python type hints.

Production Ready

Streamable HTTP, JSON-RPC 2.0, enterprise-grade reliability.

Zero Config

Install and start decorating. No additional setup required.

How Simple Is It?

1
Import the decorator

One simple import statement

2
Add @mcp_tool

Describe what it does in plain English

3
Done!

AI agents can now call it at /mcp

from odoo.addons.mcp_base import mcp_tool
from odoo import models

class ResPartner(models.Model):
    _inherit = 'res.partner'

    @mcp_tool(description="Search customers by name")
    def search_customers(self, name: str):
        """AI agents can call this method directly!"""
        partners = self.search([('name', 'ilike', name)])
        return [
            {'id': p.id, 'name': p.name, 'email': p.email}
            for p in partners
        ]

What You Get

  • Expose any Odoo model method to AI agents effortlessly
  • Automatic JSON schema from Python type annotations
  • Built-in Streamable HTTP transport (MCP 2025-03-26)
  • Full JSON-RPC 2.0 protocol compliance
  • Works seamlessly with Claude, ChatGPT, and other LLMs
  • No external dependencies beyond Odoo core

Ideal for: AI-powered customer service bots, intelligent sales assistants, automated inventory management, smart reporting dashboards, natural language ERP queries, and any use case where you want AI to interact with your Odoo data.

Client Configuration

Connect your favorite AI clients to Odoo MCP Server in minutes.

ChatWise

Add MCP Server Streamable HTTP Enter URL

Cursor

Settings MCP Add Server Streamable HTTP

Claude Desktop

Edit config.json Add MCP server

Tip: Your MCP endpoint will be: http://your-odoo-server:8069/mcp

Security & Authentication

Protect your Odoo data with proper authentication. We strongly recommend using API key authentication for production environments.

Important: If the auth_api_key module is not installed, the MCP server runs with administrator privileges. This is convenient for development but NOT recommended for production.

Production Setup (Strongly Recommended)

1
Install auth_api_key

Get it from Odoo App Store

2
Create API Key

Settings Technical API Keys

3
Configure Client

Add Api-Key header to requests

Api-Key: your-api-key-here
With auth_api_key Installed

API key required User-level permissions Production-ready Secure

Without auth_api_key

No authentication Admin privileges Development only Security risk

Secure Your MCP Server Today

Install auth_api_key and protect your Odoo data with enterprise-grade authentication.

Ready to Make Your Odoo AI-Ready?

Install Odoo MCP Framework and expose your first method in under 2 minutes.

Star on GitHub

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
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