← Back to Odoo MCP Gateway

Install Odoo MCP Gateway

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add -e "ODOO_DB=${ODOO_DB}" odoo-mcp-gateway -- python -m odoo_mcp_gateway
Required:ODOO_DB+ 5 optional

Environment Variables

Set these before running Odoo MCP Gateway.

VariableDescriptionRequired
ODOO_URLOdoo server URLNo
ODOO_DBOdoo database nameYes
MCP_TRANSPORTTransport mode (stdio or streamable-http)No
MCP_HOSTHTTP host (streamable-http mode)No
MCP_PORTHTTP port (streamable-http mode)No
MCP_LOG_LEVELLogging levelNo

Available Tools (1)

Once configured, Odoo MCP Gateway gives your AI agent access to:

loginAuthenticate with the Odoo server
urldbusernamepassword

Try 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.

Remember this setup