Odoo MCP Server is an MCP server that provides direct access to Odoo ERP system capabilities via the Model Context Protocol. Built in Go, the server communicates with an Odoo 17 instance through its XML-RPC API and optional direct PostgreSQL database access. It is designed for businesses, operations managers, and developers looking to monitor and control enterprise workflows through natural language assistants such as Claude or Cursor. The server enables users to query real-time stock levels, retrieve detailed product specifications, and monitor inventory movements across warehouses. It also provides tools to inspect purchase orders, pull vendor and supplier contact records, review purchasing analytics, and create preliminary purchase orders. On the manufacturing side, Odoo MCP Server exposes operations for tracking manufacturing orders, viewing Bills of Materials, inspecting work center capacities, and reviewing production schedules. This setup allows teams to automate operational workflows, inspect production bottlenecks, and streamline business planning without navigating the native Odoo web interface manually.
Category: CRM, ERP & E-commerce
Tags: business-automation, crm, erp, odoo
Follow these steps to set up and configure Odoo MCP Server: 1. Ensure Go 1.21 or higher is installed and you have access to an Odoo 17 instance. 2. Clone the repository and build the binary: bash git clone https://github.com/sarakhanx/odoo-mcp-server cd odoo-mcp-server go mod tidy go build -o odoo-mcp-server 3. Copy config.yaml.example to config.yaml and enter your Odoo URL, database name, username, and password. 4. To configure in Cursor, add the binary to .cursor-mcp.json or your Cursor settings: json { "mcpServers": { "odoo": { "command": "/path/to/your/odoo-mcp-server", "args": [], "env": {} } } }
Part of MCP Servers
You must clone the repository, run go mod tidy, and compile the application with go build using Go 1.21 or higher. After building, create a config.yaml file containing your Odoo 17 server URL, database credentials, and optional Discord webhook settings. Finally, link the compiled binary executable inside your MCP client configuration.
The server connects an AI client directly to Odoo ERP via XML-RPC. It enables tools for reading inventory levels, inspecting product details, managing purchase orders, retrieving vendor data, analyzing purchasing reports, checking Bills of Materials, and viewing manufacturing order schedules and work center capacities.
Odoo MCP Server functions with any client supporting the Model Context Protocol over standard input and output. The documentation provides explicit setup instructions for Cursor via configuration in a cursor-mcp.json file, and it is also compatible with Claude Desktop and other MCP-enabled agent interfaces.
Running the server requires Go 1.21 or higher and active access to an Odoo 17 instance. Direct access to the underlying PostgreSQL database is optional if you want direct database queries, and a Discord webhook URL can optionally be configured if you run the webhook notification server.
Yes, Odoo MCP Server is open source. It is licensed under the permissive MIT License, allowing individuals and businesses to use, inspect, modify, and integrate the code freely for business automation and ERP connectivity needs.