Skip to main content

MCP Interface for Odoo

Project description

Odoo Community Association

Ai Oca Mcp

Beta License: AGPL-3 OCA/ai Translate me on Weblate Try me on Runboat

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

Authors

  • Dixmit

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoo_addon_ai_oca_mcp-16.0.1.0.0.2-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file odoo_addon_ai_oca_mcp-16.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_ai_oca_mcp-16.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 038ed229adb14ebfde5769692bc88d337a643ff3a5306ad3cc8413e90c7a8bfd
MD5 a1154eba83925b2939ff12b9dbfeee0d
BLAKE2b-256 207ebb7d2dc5e6d584eb35092d8cf3d1cbe990643ac0d966cac091fd4b4e23f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page