Claude Connector for Odoo

io.github.technovision-devv1.4.3更新於 Oct 9, 2026

Permission-aware MCP server for Odoo 18/19. OAuth 2.1; each call runs as one named Odoo user.

已驗證Streamable HTTP可網頁執行Security & MonitoringBusiness & Commerce

概覽

AI 產生的概覽

透過權限感知的遠端 MCP 端點,以某位具名 Odoo 使用者身分將 AI 助理連接到 Odoo 18/19 資料庫。

功能
把 Odoo 18 或 19 資料庫變成位於 /mcp/v1 的遠端 MCP 伺服器,使用 JSON-RPC 2.0,支援 initialize、tools/list、tools/call 與 ping。Claude 及其他 MCP 用戶端透過帶 PKCE 的 OAuth 2.1 連線,每個請求都以某位具名 Odoo 使用者身分執行,並受該使用者的群組與記錄規則限制。模型僅在管理員加入允許清單後才暴露;預設情況下建立、更新與刪除都是待核准的提案,除非管理員依模型與欄位開啟直接寫入。讀取與寫入都會記錄使用者、權杖、用戶端名稱與來源。
適用情境
當助理需要根據 Odoo 即時資料回答、又不願共用管理員 API 金鑰,而且存取權限必須遵循每個人現有的 Odoo 權限時,適合使用。它適合需要依使用者區分身分、寫入需核准,並保留 AI 存取稽核記錄的團隊。
執行需求
需要可透過 HTTPS 存取的 Odoo 18.0 或 19.0 執行個體(社群版或企業版,Odoo.sh 或自架),並從 Odoo 應用程式商店安裝此連接器模組及其相依套件 technovision_ai_core。管理員必須指定要暴露的模型,每位使用者透過 OAuth 2.1 或個人權杖連線。
安裝前請注意
此伺服器可讀取 Odoo 記錄,並在管理員開啟後建立、更新與刪除記錄;預設寫入為待核准提案,除非確實需要直接寫入,否則應保持預設。個人權杖只顯示一次且僅以 SHA-256 摘要儲存,應妥善保存並在不再需要時撤銷。存取範圍受連線使用者的 Odoo 權限限制,上線前請檢查暴露的模型與使用者權限。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Claude Connector for Odoo,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "odoo-claude-connector": {
      "type": "http",
      "url": "https://{odoo_host}/mcp/v1"
    }
  }
}

README

Claude Connector for Odoo: a permission-aware MCP server

Connect Claude (web, desktop or mobile) and other MCP clients to your Odoo 18 or 19 database, without handing over an admin key.

[Claude Connector for Odoo]

This module turns your Odoo into a remote Model Context Protocol (MCP) server. Claude connects with OAuth 2.1 in two clicks. Every request runs as one named Odoo user, with that user's access rights, so the AI sees exactly what that person could see in Odoo. No more.

[Demo]

Why it's different

Typical "AI for Odoo" setupClaude Connector for Odoo
IdentityOne admin API key for everyoneEach token or OAuth grant acts as one person (with_user)
What the AI can seeEverythingOnly what that user's groups and record rules allow
WritesDirectOff by default. Enabled per model and per field, and by default each write is a proposal a person approves in Odoo
AuditNoneEvery call is logged with user, token, client name and source
Connecting Claude web and mobileConfig file on one desktopOAuth 2.1 (RFC 9728 / 8414 / 7591, PKCE S256)

Features

  • Remote MCP endpoint (/mcp/v1, JSON-RPC 2.0): initialize, tools/list, tools/call, ping
  • OAuth 2.1 for Claude: protected-resource and authorization-server metadata, dynamic client registration, authorization code + PKCE S256 only, rotating refresh tokens, an approval screen served by Odoo
  • Per-person tokens for desktop clients: shown once, stored only as a SHA-256 digest, with expiry and one-click revocation
  • Tools scoped per request: tools/list returns only what that person can reach
  • Models exposed by allow-list: nothing is exposed until an administrator names the models
  • Approval workflow for writes: create, update and delete are proposals unless an administrator decides otherwise for a named model
  • Full audit trail: MCP reads and writes appear next to reads made inside Odoo
  • Odoo 18.0 and 19.0, Community and Enterprise, Odoo.sh or self-hosted

Connect Claude in two clicks

  1. Install the module on your Odoo (HTTPS required).
  2. In Odoo, open AI Assistant → Connections and choose which models to expose.
  3. In Claude, go to Settings → Connectors → Add custom connector and paste your Odoo MCP URL (https://your-odoo.example.com/mcp/v1).
  4. Approve the connection on the Odoo screen that opens. Claude now answers from your Odoo data, as you.

Desktop clients that use a config file get a ready-made JSON block from the token wizard.

[Tokens] [Audit trail]

Get it

The module is published on the official Odoo Apps Store:

It requires AI Assistant for Odoo — Permission-Aware (technovision_ai_core), which the store installs with it.

Product page and documentation: https://technovision.dev/products/mcp-server

Need it set up?

We install and configure it on your database, including Odoo.sh, and can build a custom tool for one of your workflows. Contact [email protected].


This repository is the public information page for the connector. The module itself is licensed under OPL-1 and distributed through the Odoo Apps Store.

TechnoVision · technovision.dev

來源:README.md,提交 acd82f9

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.4.3最新Oct 9, 2026