| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 760 |
| Technical Name |
mcp_server_odoo |
| License | LGPL-3 |
| Website | https://ksrolabs.com |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 760 |
| Technical Name |
mcp_server_odoo |
| License | LGPL-3 |
| Website | https://ksrolabs.com |
| Versions | 16.0 17.0 18.0 19.0 |
MCP Server for Odoo
Governed JSON-RPC access for AI and automation
Expose a single MCP-compatible endpoint at /mcp so external clients can interact with Odoo through explicit permissions, validation, and audit logs.
This module provides the MCP server layer only and does not embed AI inside Odoo.
MCP in one sentence: Model Context Protocol (MCP) is a standard for tool discovery and structured tool calls, enabling clients to operate through predictable inputs and responses.
Highlights
Single endpoint
One stable entry point at POST /mcp with JSON-RPC 2.0.
Scoped access
API keys with per-model permissions and Odoo rules enforced.
Audit-ready
Full request logging with optional payload storage.
Features
Single endpoint
- POST /mcp entry point
- JSON-RPC 2.0
Scoped access
- Per-model permissions
- Odoo rules enforced
Audit-ready
- Full request logging
- Optional payload storage
Validation + permissions
- Explicit permissions
- Validation built in
Integration layer only
- Does not replace workflows
- Does not bypass security
MCP standard
- Tool discovery and structured tool calls
- Predictable inputs and responses
Supported tools
How it works
Setup in 5 steps
- Install the module.
- Enable Enable MCP Server in Settings.
- Grant the MCP Server Administrator group.
- Create an API Key and copy the token (shown once).
- Grant model access in Key Model Access.
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_records",
"arguments": {
"model": "res.partner",
"domain": [["is_company","=",true]],
"fields": ["name","email"],
"limit": 10
}
}
}
Admin-controlled access
Configuration remains restricted to authorized users via standard Odoo groups.
Dedicated MCP settings
Enable the server, manage keys, scopes, and audit logs from a clear Settings area.
API key lifecycle
Tokens are shown only once for secure onboarding and are never stored in plaintext.
Granular scopes
Always scope keys to the minimum required models and operations. Rotate keys regularly.
Screenshots
Each image highlights how permissions, configuration, and audit visibility are managed.
Admin-controlled access
|
Dedicated MCP settings
|
API key lifecycle
|
Granular scopes
|
ð¤ About Us
KSROLABS is dedicated to revolutionizing analytics for Odoo-powered businesses. Our mission is to remove the complexity from business intelligence and make data seamlessly accessible, beautifully visualized, and instantly actionable.
At KSRO, we design solutions that empower organizations to unlock the true potential of their Odoo data. From enterpriseâgrade connectors to workflow automation, our focus is always on performance, reliability, and clarity.
We build tools that simply work â no noise, no friction. Just fast, clean, modern analytics built for teams who want to scale smarter.
Need Assistance?
We provide Odoo â Tableau BI consulting, implementation support, and dashboard building services.
Email: ksrolabs.info@gmail.com
Website: https://ksrolabs.com
Please log in to comment on this module