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.4-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for odoo_addon_ai_oca_mcp-16.0.1.0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 85feee4a7b66c482d4796ad67cf67298a7e9b11d9cfc4c829f0e8135b8c63743
MD5 82240b7f7f71c29685b1f60fc7ebf9c3
BLAKE2b-256 3826fa4cc35eba47c82b61e3ae020cf901676a6858b3c236a7993540a68a68a9

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