lioarce01/odoo_mcp_server
If you are the rightful owner of odoo_mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Odoo MCP Server is a single-client server designed to facilitate communication with an Odoo instance using the Model Context Protocol (MCP).
The Odoo MCP Server is a specialized server application that enables seamless interaction with an Odoo instance through the Model Context Protocol (MCP). This server acts as a bridge between client applications and the Odoo backend, allowing for efficient data operations such as searching, reading, creating, updating, and deleting records. By leveraging the MCP, the server provides a structured and standardized way to perform these operations, ensuring consistency and reliability. The server is designed to be easy to set up and configure, requiring minimal effort to get started. It supports a range of MCP tools that cater to various data manipulation needs, making it a versatile solution for developers and businesses looking to integrate with Odoo. With its robust architecture and comprehensive toolset, the Odoo MCP Server is an ideal choice for those seeking to enhance their Odoo integration capabilities.
Features
- Easy setup and configuration with minimal dependencies.
- Supports a wide range of MCP tools for various data operations.
- Provides a health endpoint for server status monitoring.
- Designed for single-client use, ensuring dedicated resources.
- Compatible with Odoo instances, enhancing integration capabilities.
Usages
usage with local development
bash pip install -r requirements.txt uvicorn mcp_server:app --host 0.0.0.0 --port 8080
usage with remote deployment
bash uvicorn mcp_server:app --host 0.0.0.0 --port 8080
usage with testing tools
bash curl http://localhost:8080/mcp/health curl -X POST http://localhost:8080/mcp/tools \ -H "Content-Type: application/json" \ -d '{"tool": "odoo_search", "parameters": {"model": "res.partner", "domain": [["is_company", "=", true]], "limit": 2}}'
Tools
odoo_search
Search for records in a specified model with given domain and limit.
odoo_read
Read specific fields of records from a model.
odoo_create
Create new records in a specified model.
odoo_write
Update existing records in a model.
odoo_unlink
Delete records from a specified model.