Odoo MCP Pro

io.github.pantalytics由 GitHub 帳號 pantalytics 發布v4.1.2更新於 Oct 29, 2026

Connect AI to Odoo ERP 14-20: search, create, update and manage records in natural language.

已驗證Streamable HTTP可網頁執行資料庫資料與分析商業與電商

概覽

AI 產生的概覽

把 AI 助理連接到 Odoo ERP(14-20 版),可用自然語言搜尋、建立、更新、刪除與匯出業務記錄。

可以做什麼
  • 搜尋、讀取與彙總記錄:支援 domain 篩選、排序、分頁、分組統計與 CSV 匯出,適用於任何 Odoo 模型
  • 了解資料模型:列出可用模型與資源 URI 範本,查看伺服器版本與連線狀態
  • 寫入記錄:建立、更新、刪除單筆或多筆記錄,並依外部 ID 冪等匯入
  • 回答業務問題,例如未付款發票、未成交報價、尚未出貨的銷售訂單,或某模型有哪些欄位
適用情境
適合業務資料存放在 Odoo、希望用對話方式快速查詢、批次提問或臨時建立記錄的情境,複雜設定仍可回到 Odoo 介面處理。適用於已運行 Odoo 14-20、希望助理在既有 Odoo 權限下讀寫記錄的團隊。
執行需求
託管版是 mcp.pantalytics.com 的遠端端點,使用 OAuth 登入,並在服務商網站填寫 Odoo 網址與 API 金鑰。自架版是本地執行的 Python 套件(stdio 或 HTTP),需設定 ODOO_URL 與 ODOO_API_KEY 環境變數,自架多資料庫的 Odoo 另需 ODOO_DB。需要能連線到你的 Odoo 執行個體的網路。
安裝前請注意
助理可以建立、更新、刪除與匯入線上 ERP 中的記錄,出錯會直接影響真實業務資料;Odoo 的存取權限與記錄規則決定每個 API 金鑰能做什麼。託管服務會保存你的 Odoo API 金鑰(靜態加密)並作為代理,業務查詢會經過服務商的基礎設施。自架 HTTP 模式沒有內建驗證,必須以反向代理或網路限制保護。可在 Odoo 中撤銷 API 金鑰以立即切斷存取。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Odoo MCP Pro,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.pantalytics%2Fodoo-mcp-pro/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "odoo-pro": {
      "type": "http",
      "url": "https://mcp.pantalytics.com/mcp"
    }
  }
}

README

[Odoo]      [Model Context Protocol]

odoo-mcp-pro

AI connector for Odoo ERP -- talk to your business data using natural language.
Search, create, update, and manage records -- just ask.

[License: Elastic 2.0 and MPL-2.0] [Python 3.10+] [MCP Compatible] [Odoo 14-20] [OAuth 2.1]

Skip the setup. The hosted version is up and running in 5 minutes -- with automatic updates, managed OAuth, and encrypted API keys. Start at pantalytics.com →

[Odoo connected to Claude, OpenAI, Gemini, Copilot, Mistral via MCP]


The idea

Odoo is powerful. AI is powerful. Together they're better.

odoo-mcp-pro is an AI connector for Odoo that uses MCP (Model Context Protocol) -- an open standard that lets AI assistants talk to external systems. It connects your AI assistant to your Odoo ERP, so you can use natural language as an interface to your business data. Not to replace Odoo's UI -- but to give you a second interface that's faster for many tasks. Works with Claude, ChatGPT, Cursor, Windsurf, and any other MCP-compatible AI tool.

"Show me all unpaid invoices over 5,000 EUR from Q4" -- your AI queries your Odoo instance directly and returns the results.

[Demo of odoo-mcp-pro]

Use the interface that fits the task. Complex configuration? Use the Odoo UI. Quick data lookup, bulk questions, or creating records on the fly? Just ask your AI.

What you can do

  • "Find all contacts in Amsterdam with open quotations"
  • "Create a lead for Acme Corp, expected revenue 50k EUR"
  • "Which sales orders from last month don't have a delivery yet?"
  • "What fields does the sale.order model have?"
  • "Update the expected closing date on opportunity #42 to next Friday"

Works with any Odoo model -- sales, invoices, contacts, inventory, CRM, HR, you name it.

Want to try it now? Skip the setup -- the hosted version is connected to your Odoo in under 5 minutes. Start at pantalytics.com →

Get started

Hosted (recommended)

The fastest and safest way to get started. We run the server for you -- sign up, paste your Odoo URL + API key, done.

  • Up and running in 5 minutes. No install, no Docker, no infrastructure. Works with Claude, ChatGPT, Cursor, Windsurf, and any MCP-compatible AI tool.
  • Always up to date. Security patches, Odoo-version compatibility, and new MCP features ship automatically -- no upgrade work on your side.
  • Safer by default. Encrypted API keys (AES-128), managed OAuth 2.1, continuous monitoring, European infrastructure. We handle the boring-but-critical stuff so you don't have to.
  1. Sign up at pantalytics.com
  2. Log in and enter your Odoo URL + API key (how to generate one)
  3. Add the MCP server to your AI tool (Claude, ChatGPT, Cursor, etc.)
  4. Start asking questions

Your data stays in Odoo -- the server is a stateless proxy. API keys are encrypted at rest.

Start at pantalytics.com →

Self-hosted

Run on your own machine. Single-tenant only: one Odoo instance, configured via env vars. Authentication is your Odoo API key -- no OAuth, no user management, no admin UI.

bash
# Installpip install "mcp-server-odoo @ git+https://github.com/pantalytics/odoo-mcp-pro.git"
# Run (stdio mode, for Claude Desktop / Claude Code)ODOO_URL=https://mycompany.odoo.com ODOO_API_KEY=your_key python -m mcp_server_odoo
# Run (HTTP mode, for remote access from one trusted network)ODOO_URL=https://mycompany.odoo.com ODOO_API_KEY=your_key \  python -m mcp_server_odoo --transport streamable-http --host 0.0.0.0 --port 8000

HTTP mode has no built-in authentication -- expose it behind a reverse proxy or restrict at the network level.

Or add to your Claude Desktop claude_desktop_config.json:

json
{  "mcpServers": {    "odoo": {      "command": "python",      "args": ["-m", "mcp_server_odoo"],      "env": {        "ODOO_URL": "https://mycompany.odoo.com",        "ODOO_API_KEY": "your_api_key_here"      }    }  }}

Need multi-tenant, per-user connections, OAuth, or an admin UI? That's SaaS territory. The hosted version is faster to set up, auto-updates, and handles security patches for you -- and costs less than the time you'd spend self-hosting. These features live in a separate commercial package that builds on top of this open-core server.

How it works

odoo-mcp-pro is an Odoo connector that implements MCP (Model Context Protocol) -- an open standard that lets AI assistants call external tools. It exposes the following tools that your AI can call based on your questions:

ToolWhat it does
record_searchSearch any model with domain filters, sorting, pagination
record_getFetch a specific record by ID with smart field selection
record_aggregateGrouped totals computed in Odoo (read_group): sum, avg, count per product, month, etc.
record_exportCompact CSV export of many records (Odoo's Export feature), with relation paths like order_id/partner_id/city
model_listDiscover available Odoo models
resource_template_listDiscover available resource URI templates
record_create / records_createCreate one or multiple records
record_update / records_updateUpdate one or multiple records
record_delete / records_deleteDelete one or multiple records
record_importIdempotent upsert via external IDs (same as Odoo CSV import)
server_info_getServer version, connection status

Supports Odoo 14-20 -- uses the JSON/2 API for Odoo 19+ and XML-RPC for older versions. The right protocol is selected automatically.

Security

  • Odoo is the boss. All data, permissions, and business logic live in Odoo. Each user's API key determines what they can see and do -- ACLs and record rules apply as normal.
  • Stateless proxy. The MCP server doesn't store or cache your business data.
  • API keys encrypted at rest using AES-128 (Fernet). Never exposed to the AI, the browser, or logs.
  • You stay in control. Revoke your API key in Odoo at any time to instantly cut off access.
  • Found a vulnerability? Mail [email protected], see SECURITY.md. Reporters are credited in the changelog.

Prefer managed security? The hosted version handles patches, OAuth token rotation, and incident monitoring -- your data still stays in Odoo, we just run the proxy for you.

Development

bash
uv venv --python 3.10source .venv/bin/activateuv pip install -e ".[dev]"pytest tests/ -qruff check . && ruff format .

See architecture.md for technical details and CLAUDE.md for coding conventions.

Contributing

Contributions are welcome. Fork the repo, create a feature branch, run pytest tests/ and ruff check ., then open a PR.

FAQ

Which Odoo versions are supported? Odoo 14-20. The server auto-detects whether to use JSON/2 (Odoo 19+) or XML-RPC (14-18). No configuration needed.

Does it work on my phone? Yes -- the hosted version works on Claude mobile (iOS/Android), Claude.ai in any browser, Claude Desktop, Claude Code, and ChatGPT. Local installs (STDIO) only work on the machine where they're installed.

Is my data safe? Your data stays in Odoo. The MCP server is a stateless proxy -- it doesn't store or cache business data. API keys are encrypted at rest with AES-128 (Fernet). Each user's Odoo permissions apply: you can only see and do what your Odoo role allows.

I get "Access denied" on all models This usually means your Odoo API key doesn't have the right permissions. Try:

  1. Regenerate your API key in Odoo (Settings > Users > API Keys) and update it wherever you configured it (hosted: /admin/setup; self-hosted: your ODOO_API_KEY env var)
  2. Make sure your Odoo user has at least read access to the models you want to query
  3. If you're on Odoo.sh, verify your subscription plan supports the JSON/2 API

I get "Authentication required" or "invalid_token" (hosted version) This means the OAuth connection between your AI tool and the MCP server failed. Try disconnecting and reconnecting the MCP server in your AI tool's settings. Self-hosted installs don't use OAuth -- they authenticate with your Odoo API key directly.

Do I need to set ODOO_DB? Only if you self-host Odoo with multiple databases. Odoo.sh and Odoo Online don't need it -- the hostname determines the database.

Should I use hosted or self-hosted? Hosted, unless you have a strong reason not to. Hosted is running in 5 minutes, auto-updates with every Odoo release, and has managed OAuth + encrypted API keys. Self-hosting is single-tenant only (one Odoo instance, API key auth, no admin UI), and you're on the hook for patches and security. Start with hosted at pantalytics.com →

License

This project is dual-licensed:

  • Files derived from the original mcp-server-odoo by Andrey Ivanov stay under the Mozilla Public License 2.0 (LICENSE.MPL-2.0). These files carry an SPDX-License-Identifier: MPL-2.0 header, and NOTICE lists them.
  • Everything else -- the code Pantalytics added on top -- is under the Elastic License 2.0.

For the Elastic-licensed parts, in plain terms:

  • You may use, copy, modify, and distribute this software -- including for your own commercial purposes (running it inside your own company, your own Odoo instance, your own projects).
  • You may not offer it to third parties as a hosted or managed service that provides them with access to a substantial set of its features -- that's what Pantalytics does, and what the license protects.
  • You may not remove license notices or circumvent license key functionality.

The Elastic-licensed parts are source-available, not OSI-open-source. See LICENSE, LICENSE.MPL-2.0, and NOTICE for the full picture.

For Odoo Implementation Partners

Want to offer AI-powered Odoo to your clients? Running your own hosted version of odoo-mcp-pro for clients is not permitted under the Elastic License 2.0. Instead, we run a Partner Program with a referral commission: you recommend odoo-mcp-pro to your end users, they sign up through your referral link, and you earn a recurring fee. No hosting or maintenance on your side.

Interested? Contact [email protected] for details.

Built by Pantalytics

odoo-mcp-pro is built and maintained by Pantalytics, an Odoo implementation partner based in Utrecht, Netherlands.

Originally forked from mcp-server-odoo by Andrey Ivanov. The files that came from that project remain under the Mozilla Public License 2.0; see NOTICE.


Odoo is a registered trademark of Odoo S.A. The MCP logo is used under the MIT License. This project is not affiliated with or endorsed by Odoo S.A. or Anthropic.

來源:README.md,提交 35145c7

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

5
  1. v4.1.2最新Oct 29, 2026
  2. v4.1.0Oct 23, 2026
  3. v3.1.5Oct 23, 2026
  4. v3.1.4Oct 19, 2026
  5. v3.1.3Oct 12, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。