Skip to content
mcpcrm

Odoo MCP connector

Connect AI agents to Odoo

For Odoo 16 to 19, agents sign in as Odoo users, so Odoo applies its record rules automatically. Odoo 20 includes its own MCP server. For Odoo 20, mcpcrm adds consent, revocation and one audit log that also covers your other clients’ CRMs.

Versions
Odoo 16 to 19 Community, and Odoo 20 through passthrough
Vendor MCP server
Odoo 20 includes a built-in MCP server with MCP-scoped API keys. Odoo 16 to 19 have no MCP server.
In your CRM
An Odoo module (mcpcrm_connect) that uses the same consent protocol.
What mcpcrm stores
A separate Odoo API key for each agent, deleted when you revoke access. Requests run as the user and never with sudo.
Status
Planned
  • The connector uses the JSON-2 external API for Odoo 19 and later, and JSON-RPC for Odoo 16 to 18.

Agent tools for Odoo

An agent sees only the tools its role allows. The CRM checks every request.

  • whoamiReturns the agent’s CRM user and what its role allows in each module.
  • describe_moduleLists the fields the agent can see, with types, required and read-only flags, picklist values and references.
  • search_recordsSearches with structured filters. mcpcrm checks field names and escapes values. Agents cannot send raw queries.
  • get_recordReturns one record by ID.
  • get_relatedReturns records related to a record, such as the contacts of an organisation.
  • create_recordCreates a record in a module the role can create records in. The agent becomes the owner by default.
  • update_recordChanges only the fields the agent sends.
  • link_relatedLinks two existing records.
  • add_commentAdds a comment to a record’s timeline. A note copied from elsewhere can keep the date it was written.
  • delete_recordDeletes a record. This tool appears only if the role can delete records.

Manage Odoo for several clients

Agencies with many client CRMs can ask about Enterprise and help decide which CRMs we support next.