Home › Curriculum › AI across Odoo roles › MCP and AI integrations with Odoo
Building with AI in Odoo · 16 min · Odoo 20 + MCPMCP and AI integrations with Odoo
Connecting external AI assistants to Odoo via MCP and APIs, with a dedicated user, least privilege and auditing.
In this lesson
- What MCP is and Odoo 20's support
- Designing a safe AI integration
- First integrations and testing
Key points
- MCP: open standard connecting assistants to tools/data
- Odoo 20: MCP server (user permissions) and client
- Dedicated user, revocable key, allowed operations, rate limits, logs, write approval
- Decide data flows; test on staging
Real-world example
A consultancy connected an external assistant to a client's Odoo 20 staging database via MCP with a read-only Sales user. Two weeks of testing showed it needed one extra right (activities). Only then did they connect production, with logging reviewed weekly.
Questions and answers
What does MCP stand for?
Model Context Protocol.
Before MCP, how were assistants connected to Odoo?
Custom tools wrapping the external API (XML-RPC/JSON-RPC/JSON-2).