Provides direct access to an Odoo database environment, enabling execution of Python code within an Odoo context, model introspection, and session management with tools for listing available models and retrieving detailed model information.
MCP Odoo Shell
A Model Context Protocol (MCP) server that provides access to an Odoo shell environment.
Caution
PRE-ALPHA SOFTWARE - DO NOT USE IN PRODUCTION
This software is in early development and should NEVER be used with production Odoo databases. It provides direct shell access to your Odoo database with full read/write capabilities and could cause data loss, corruption, or security vulnerabilities.
Use only with:
- Test databases
- Development environments
- Disposable data
You have been warned! 🚨
Overview
This MCP server acts as a bridge between MCP clients and Odoo, allowing execution of Python code within an Odoo database context. It maintains a persistent Odoo shell subprocess and provides tools for code execution, model introspection, and session management.
Installation
Configuration
Set these environment variables:
ODOO_BIN_PATH
: Path to odoo-bin executable (default:/usr/bin/odoo-bin
)ODOO_ADDONS_PATH
: Comma-separated addon directories (default:/odoo/addons
)ODOO_DATABASE
: Database name (default:odoo
)ODOO_CONFIG_FILE
: Optional Odoo configuration file path
Usage
MCP Tools
The server exposes these tools:
execute_odoo_code
: Execute Python code in Odoo shell contextreset_odoo_shell
: Restart the shell process to clear statelist_odoo_models
: Query available Odoo models with optional filteringodoo_model_info
: Get detailed information about specific models
Development
License
MIT
This server cannot be installed
A bridge server that provides access to an Odoo shell environment, allowing execution of Python code within an Odoo database context for model introspection and database operations.
Related MCP Servers
- -securityAlicense-qualityAn MCP server implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.Last updated -78PythonMIT License
- -securityAlicense-qualityProvides generic Open Database Connectivity (ODBC) to any Database Management System (DBMS) that's accessible via an ODBC Connector (Driver).Last updated -4TypeScriptMIT License
- -securityFlicense-qualityAn integration tool that connects Claude AI with Odoo database, allowing users to explore Odoo models, search data, and create reports through natural language commands.Last updated -Python
- -securityFlicense-qualityAn implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.Last updated -Python