Ai Oca Mcp
This module exposes Odoo AI tools as an MCP (Model Context Protocol) server, allowing external AI clients such as n8n or custom agents to call Odoo functions via the standardized MCP protocol. Authentication is handled via per-client API keys.
Note: Claude Desktop requires OAuth 2.0, which is not supported directly by this module. An extension could be required.
Table of contents
Usage
Access in Developer mode
Go to AI > MCP Server
Create a new MCP Server and add the generic tools you want to expose
Click Add Key to generate a new API key for a client — the key is only shown once
Use the provided URL and the generated key to configure your AI client
Connecting from n8n
Use the MCP node with:
URL: the value shown in the URL field
Authentication: Bearer Token
Token: the generated API key
Tool limitations
Only tools of kind generic are supported. Tools requiring a record context (generic_model, record) cannot be used via MCP.
Security
Each client should have its own API key. Keys can be expired individually from the server form or from AI > MCP Server Log to audit all calls.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Enric Tobella
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/ai project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-ai-oca-mcp 16.0.1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_ai_oca_mcp-16.0.1.1.0-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_ai_oca_mcp-16.0.1.1.0-py3-none-any.whl |
Release files / odoo_addon_ai_oca_mcp-16.0.1.1.0-py3-none-any.whl
| Download URL | odoo_addon_ai_oca_mcp-16.0.1.1.0-py3-none-any.whl |
|---|---|
| Size | 39.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3625d4bc7dee2f42a352c1c75073d25773b950529703a474debc68a2bd7d0e0
|
|
BLAKE2b-256 checksum How to use checksums |
cfdcb7913b59e67e9659a7d7b18e6f1d5166e473fcdf17762e4d53bf1e680c56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for odoo-addon-ai-oca-mcp 16.0.1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.