MCP-Odoo
Used for configuration management to securely store connection credentials for Odoo instances including URL, database, username and password.
Used for version control and installation of the MCP-Odoo server.
Hosts the repository for the MCP-Odoo server code, allowing for installation via git clone.
Provides a bridge to Odoo ERP systems, enabling access to partner information, accounting data (invoices and payments), financial record reconciliation, and the ability to query vendor bills and customer invoices.
Serves as the runtime environment for the MCP-Odoo server implementation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-Odooshow me the latest customer invoices that need payment"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP-Odoo
Model Context Protocol server for Odoo integration, allowing AI agents to access and manipulate Odoo data through a standardized interface.
Overview
MCP-Odoo provides a bridge between Odoo ERP systems and AI agents using the Model Context Protocol (MCP). This enables AI systems to:
Access partner information
View and analyze accounting data including invoices and payments
Perform reconciliation of financial records
Query vendor bills and customer invoices
Related MCP server: Odoo MCP Improved
Features
๐ Easy integration with Odoo instances
๐ค Standard MCP interface for AI agent compatibility
๐ Rich accounting data access
๐ Secure authentication with Odoo
Installation
# Clone the repository
git clone https://github.com/yourtechtribe/model-context-protocol-mcp-odoo.git
cd model-context-protocol-mcp-odoo
# Install dependencies
pip install -r requirements.txtConfiguration
Create a .env file in the project root with the following variables:
ODOO_URL=https://your-odoo-instance.com
ODOO_DB=your_database
ODOO_USERNAME=your_username
ODOO_PASSWORD=your_password
HOST=0.0.0.0
PORT=8080Usage
Start the MCP server:
# Using the SSE transport (default)
python -m mcp_odoo_public
# Using stdio for local agent integration
python -m mcp_odoo_public --transport stdioDocumentation
Comprehensive documentation is available in the docs/ directory:
Documentation Home - Start here for an overview of all documentation
Implementation Guide - Detailed architecture and implementation details
Accounting Functionality - In-depth guide to accounting features
Troubleshooting - Solutions for common issues
Usage Examples - Practical examples to get started
Development
Project Structure
mcp_odoo_public/: Main packageodoo/: Odoo client and related modulesresources/: MCP resources definitions (tools and schemas)server.py: MCP server implementationconfig.py: Configuration managementmcp_instance.py: FastMCP instance definition
Adding New Resources
Resources define the capabilities exposed to AI agents through MCP. To add a new resource:
Create a new file in the
resources/directoryDefine your resource using the
@mcp.tool()decoratorImport your resource in
resources/__init__.py
For detailed instructions, see the Implementation Guide.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Albert Gil Lรณpez
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI to Odoo ERP 14-20: search, create, update and manage records in natural language.
185- odooOAuthcom.odooconsole
Odoo ERP for AI agents: hosted OAuth endpoint, gated writes, one endpoint for every instance.
Context and control for any AI. Agent identity, scoped access, and proof across tools.
Malaysian SME accounting, e-Invoice and payroll for your AI. 64 tools; writes are approved drafts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.MIT
- AlicenseNot gradedqualityDmaintenanceA 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.48MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with Odoo ERP systems, providing comprehensive tools for searching, creating, updating, and managing Odoo records through a standardized interface.23GPL 3.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that bridges Odoo ERP systems with AI agents, enabling them to access and manipulate partner information, accounting data, invoices, and perform financial reconciliation through a standardized interface.MIT