1
Add it to Claude Code
claude mcp add -e "ODOO_DB=${ODOO_DB}" odoo-mcp-gateway -- python -m odoo_mcp_gatewayRequired:
ODOO_DB+ 5 optionalEnvironment Variables
Set these before running Odoo MCP Gateway.
VariableDescriptionRequired
ODOO_URLOdoo server URLNoODOO_DBOdoo database nameYesMCP_TRANSPORTTransport mode (stdio or streamable-http)NoMCP_HOSTHTTP host (streamable-http mode)NoMCP_PORTHTTP port (streamable-http mode)NoMCP_LOG_LEVELLogging levelNoAvailable Tools (1)
Once configured, Odoo MCP Gateway gives your AI agent access to:
loginAuthenticate with the Odoo serverurldbusernamepasswordTry It Out
After setup, try these prompts with your AI agent:
→List all open sales orders in the CRM for the current month.
→Create a new task in the Project module assigned to the development team.
→Search for the customer record associated with email address contact@example.com.
→Update the status of the inventory item with SKU 12345 to 'out of stock'.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
ODOO_DB— Odoo database name
Keep this setup from going cold
Save the docs, env vars, and workflow around Odoo MCP Gateway in Conare so Claude Code, Codex, and Cursor remember it next time.