Supports containerized deployment through Docker, allowing the MCP server to run in isolated environments with configurable settings through environment variables.
Provides direct integration with Odoo ERP systems, enabling access to and manipulation of business data across sales, purchases, inventory, and accounting modules through XML-RPC connections. Includes specialized tools for sales order management, purchase tracking, inventory control, financial analysis, and reporting.
Odoo MCP Improved
Enhanced Model Context Protocol (MCP) server for Odoo ERP with advanced tools for sales, purchases, inventory and accounting
📋 Table of Contents
- Overview
- Features
- Installation
- Configuration
- Usage
- Tools Reference
- Resources Reference
- Prompts
- Docker Support
- Claude Desktop Integration
- License
🔍 Overview
Odoo MCP Improved is a comprehensive implementation of the Model Context Protocol (MCP) for Odoo ERP systems. It provides a bridge between large language models like Claude and your Odoo instance, enabling AI assistants to interact directly with your business data and processes.
This extended version enhances the original MCP-Odoo implementation with advanced tools and resources for sales, purchases, inventory management, and accounting, making it a powerful solution for AI-assisted business operations.
✨ Features
Core Capabilities
- Seamless Odoo Integration: Connect directly to your Odoo instance via XML-RPC
- Comprehensive Data Access: Query and manipulate data across all Odoo modules
- Modular Architecture: Easily extensible with new tools and resources
- Robust Error Handling: Clear error messages and validation for reliable operation
Business Domain Support
- Sales Management: Order tracking, customer insights, and performance analysis
- Purchase Management: Supplier management, order processing, and performance metrics
- Inventory Management: Stock monitoring, inventory adjustments, and turnover analysis
- Accounting: Financial reporting, journal entries, and ratio analysis
Advanced Functionality
- Analytical Tools: Business intelligence capabilities across all domains
- Specialized Prompts: Pre-configured prompts for common business scenarios
- Resource URIs: Standardized access to Odoo data through URI patterns
- Performance Optimization: Caching and efficient data retrieval
📦 Installation
Using pip
From Source
Using Docker
⚙️ Configuration
Environment Variables
Configuration File
Create an odoo_config.json
file in your working directory:
🚀 Usage
Running the Server
Example Interactions
🛠️ Tools Reference
Sales Tools
Tool | Description |
---|---|
search_sales_orders | Search for sales orders with advanced filtering |
create_sales_order | Create a new sales order |
analyze_sales_performance | Analyze sales performance by period, product, or customer |
get_customer_insights | Get detailed insights about a specific customer |
Purchase Tools
Tool | Description |
---|---|
search_purchase_orders | Search for purchase orders with advanced filtering |
create_purchase_order | Create a new purchase order |
analyze_supplier_performance | Analyze supplier performance metrics |
Inventory Tools
Tool | Description |
---|---|
check_product_availability | Check stock availability for products |
create_inventory_adjustment | Create inventory adjustment entries |
analyze_inventory_turnover | Calculate and analyze inventory turnover metrics |
Accounting Tools
Tool | Description |
---|---|
search_journal_entries | Search for accounting journal entries |
create_journal_entry | Create a new journal entry |
analyze_financial_ratios | Calculate key financial ratios |
🔗 Resources Reference
Sales Resources
URI | Description |
---|---|
odoo://sales/orders | List sales orders |
odoo://sales/order/{order_id} | Get details of a specific sales order |
odoo://sales/products | List sellable products |
odoo://sales/customers | List customers |
Purchase Resources
URI | Description |
---|---|
odoo://purchase/orders | List purchase orders |
odoo://purchase/order/{order_id} | Get details of a specific purchase order |
odoo://purchase/suppliers | List suppliers |
Inventory Resources
URI | Description |
---|---|
odoo://inventory/products | List products in inventory |
odoo://inventory/stock/{location_id} | Get stock levels at a specific location |
odoo://inventory/movements | List inventory movements |
Accounting Resources
URI | Description |
---|---|
odoo://accounting/accounts | List accounting accounts |
odoo://accounting/journal_entries | List journal entries |
odoo://accounting/reports/{report_type} | Get financial reports |
💬 Prompts
Odoo MCP Improved includes specialized prompts for different business scenarios:
Sales Analysis Prompts
- Sales trend analysis
- Customer segmentation
- Product performance evaluation
- Sales team performance
Inventory Management Prompts
- Stock optimization
- Reordering suggestions
- Warehouse efficiency analysis
- Product movement patterns
Human Resources Prompts
- Staff planning
- Scheduling optimization
- Performance evaluation
- Resource allocation
Financial Analysis Prompts
- Ratio interpretation
- Cash flow analysis
- Budget variance analysis
- Financial health assessment
🐳 Docker Support
Running with Docker
Docker Compose
🤖 Claude Desktop Integration
Add the following to your claude_desktop_config.json
:
For Docker:
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
This repo is extended from mcp-odoo - Lê Anh Tuấn
Odoo MCP Improved - Empowering AI assistants with comprehensive Odoo ERP capabilities
This server cannot be installed
A comprehensive implementation of the Model Context Protocol for Odoo ERP systems that enables AI assistants to interact directly with business data across sales, purchases, inventory, and accounting modules.
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
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with the Omi API for retrieving and creating conversations and memories for users.Last updated -4TypeScript
- -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
- AsecurityAlicenseAqualityA Model Context Protocol server implementation that enables AI assistants to interact with Apollo.io data, performing operations like people/organization enrichment, searching, and retrieving job postings through natural language commands.Last updated -73TypeScriptMIT License