odoo
A robust and efficient implementation of the Model Context Protocol (MCP) built to connect seamlessly with Odoo ERP. This server empowers developers to enable AI-driven automation, intelligent integrations, and enhanced workflow management within Odoo environments — providing a solid foundation for extending and automating business processes.
claude mcp add --transport stdio sameeroz-odoo-mcp-server uv run src/mcpserver/__main__.py \ --env ODOO_URL="https://your-odoo-instance.com" \ --env ODOO_DATABASE="your-database-name-here" \ --env ODOO_PASSWORD="your-password-here" \ --env ODOO_USERNAME="your-username-here"
How to use
The Odoo MCP Server exposes MCP tools that interact with an Odoo ERP instance. It provides product operations (listing products and details), order management (viewing and creating orders with optional invoice and payment steps), and multi-language support for product names. To use it, configure the MCP client to call the registered tools (e.g., get_products, get_product_details, get_order_details, create_order) and supply the required parameters. The server authenticates against your Odoo instance via the provided environment credentials and performs the requested operations through the Odoo XML-RPC interface or equivalent integration layer implemented in the tools.
Typical workflows include querying the product catalog in a specific language, retrieving detailed product information, creating sales orders, and triggering automatic invoice generation and payment processing. Tools are designed to validate inputs and return structured results, including product attributes, order details, and invoice status. In client code, you call tools through the MCP client (for example, await mcp_client.call_tool("get_products", { ... })) and handle responses or errors accordingly.
How to install
Prerequisites
- Python 3.12 or higher
- Access to an Odoo 17+ instance
- Network connectivity to the Odoo instance from the machine running the MCP server
- Set up Python environment
- Ensure Python 3.12+ is installed and available on your PATH.
- Install UV on your local machine
- macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
- Windows: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
- After installation, restart your terminal to ensure UV is in your PATH.
- Clone the repository
git clone https://github.com/sameeroz/odoo-mcp-server.git
cd odoo-mcp-server
- Install dependencies (via UV)
uv sync
- Configure MCP settings Add the following configuration to your MCP settings source (example shown for UV). Replace placeholders with your Odoo credentials and URL:
{
"mcpServers": {
"odoo": {
"command": "uv",
"args": ["run", "src/mcpserver/__main__.py"],
"env": {
"ODOO_URL": "https://your-odoo-instance.com",
"ODOO_USERNAME": "your-username-here",
"ODOO_PASSWORD": "your-password-here",
"ODOO_DATABASE": "your-database-name-here"
}
}
}
}
- Run the MCP server
- Ensure the environment variables are correctly set in your MCP configuration as shown above, then start the MCP server via your chosen MCP client integration.
Additional notes
Environment variables for Odoo access should be kept secret and never hard-coded in source files. Use the MCP configuration or secret management tools to inject ODOO_URL, ODOO_USERNAME, ODOO_PASSWORD, and ODOO_DATABASE at runtime. If you encounter authentication errors, verify that the Odoo user has the required permissions and that the instance URL is reachable from the host running the MCP server. The MCP server supports language variants for product names (en, ar, fr, es); ensure your requests specify the desired language code when calling product-related tools. For debugging, enable verbose logs in your MCP client and review any XML-RPC timeout or network error messages from the Odoo integration layer.
Related MCP Servers
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
web-agent-protocol
🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
mcp-odoo
MCP Server for Odoo
mcp -odoo
A Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.
google_ads_mcp
The Google Ads MCP Server is an implementation of the Model Context Protocol (MCP) that enables Large Language Models (LLMs), such as Gemini, to interact directly with the Google Ads API.
AI-SOC-Agent
Blackhat 2025 presentation and codebase: AI SOC agent & MCP server for automated security investigation, alert triage, and incident response. Integrates with ELK, IRIS, and other platforms.