MCP Interface for Odoo
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_ai_oca_mcp-16.0.1.0.0.2-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_ai_oca_mcp-16.0.1.0.0.2-py3-none-any.whl
- Upload date:
- Size: 33.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
038ed229adb14ebfde5769692bc88d337a643ff3a5306ad3cc8413e90c7a8bfd
|
|
| MD5 |
a1154eba83925b2939ff12b9dbfeee0d
|
|
| BLAKE2b-256 |
207ebb7d2dc5e6d584eb35092d8cf3d1cbe990643ac0d966cac091fd4b4e23f4
|