
Odoo Mcp
io.github.nicolasramos由 GitHub 帳號 nicolasramos 發布v1.0.1更新於 Oct 26, 2026
MCP server for Odoo 18 with 38 business tools
概覽
本機 MCP 伺服器,將助理連接到 Odoo 18 實例,提供搜尋、讀取與修改客戶、銷售、發票、任務等業務記錄的工具。
- 可以做什麼
- 以 Odoo 網域語法在允許的模型中搜尋、讀取與彙整記錄,並檢視模型結構與實例可用能力。
- 建立與更新記錄,呼叫 action、button 等模型方法。
- 處理合作夥伴、報價單與銷售訂單、CRM 潛在客戶、採購單、供應商帳單、發票與付款。
- 管理專案任務、活動、chatter 訊息與工時記錄。
- 處理客服工單、合約明細、產品庫存數量與行事曆事件。
- 適用情境
- 適合需要助理直接操作 Odoo 18 即時業務資料的情境,例如查詢客戶、草擬或確認報價、查看待付發票、更新任務或張貼 chatter 訊息,而不必手動搬移資料。
- 執行需求
- 透過 stdio 在本機執行,來自 PyPI 套件 odoo-18-mcp-server(Python)。需設定 ODOO_URL、ODOO_DB、ODOO_USERNAME 與 ODOO_PASSWORD,另可選用 ODOO_MCP_DEFAULT_LIMIT 與 ODOO_MCP_MAX_LIMIT。需要能連線至 Odoo 實例的網路;部分工具需安裝對應的 Odoo 應用程式。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Odoo Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
OdooClaw MCP
Standalone MCP (Model Context Protocol) server for Odoo 18 over stdio.
MCP name: io.github.nicolasramos/odooclaw-mcp
PyPI package: odooclaw-mcp
Official CLI: odooclaw-mcp
Backward-compatible aliases are also installed:
odoo-mcpodoo-mcp-serverodoo-18-mcp-server
Quick Start
1) Install
From source:
2) Configure environment
Required:
Optional:
3) Validate and run
Alternative:
MCP Client Configuration (stdio)
Tool call payload contract
When calling tools through the MCP protocol, arguments must be wrapped in a
top-level payload object.
Valid shape:
If payload is omitted, validation fails with an error equivalent to
Field required: payload.
Scope
- 129 MCP tools for Odoo operations (CRUD + business actions + migration workflows)
- Pydantic validation for all tool payloads
- Odoo 18 compatibility helpers (customer_rank / supplier_rank / payment_state)
- Security guards (model allowlist, denylisted fields, action guard, unlink blocked)
- Structured logging and audit actions
Available Tools
The server currently exposes 129 MCP tools.
Note: the grouped tables below focus on common/high-value tools. Use MCP
list_toolsto inspect the full live tool catalog for your installed version.
Core record operations
Partners, sales, and CRM
Accounting, purchasing, and payments
Projects, activities, and chatter
Support, contracts, stock, and instance capabilities
Introspection
Available Resources
The server also exposes 5 MCP resources for discovery and context:
Guardrails and Runtime Behavior
- Uses standard Odoo JSON-RPC endpoints; it does not depend on OdooClaw delegation.
- Tool payloads are validated with Pydantic before execution.
- Model access is restricted by an allowlist defined in the server configuration.
- Sensitive write fields are denylisted and
unlinkis blocked. - Search-style tools use default and maximum limits (
ODOO_MCP_DEFAULT_LIMIT,ODOO_MCP_MAX_LIMIT). sender_idis treated as audit/context metadata; execution runs as the authenticated Odoo session user.- Some tools require the corresponding Odoo apps/modules to be installed (CRM, Helpdesk, Projects, Contracts, Inventory, etc.).
Security Model
The server uses standard Odoo JSON-RPC endpoints and executes operations as the configured Odoo session user.
For production, use a dedicated least-privilege Odoo account.
Production Notes
- This is a
stdioMCP server, not an HTTP API service. - Docker/Compose support is mainly for packaging or controlled runtime scenarios.
- In normal usage, your MCP client launches the server process directly.
- Keep Odoo credentials in environment variables or a secrets manager.
Known Limitations
- One Odoo credential context per MCP process.
ODOO_DBis currently required by the authentication flow.- Some tools require specific Odoo apps/modules (CRM, Helpdesk, Project, etc.).
- Designed for Odoo 18 field semantics.
Development
Docs
License
MIT - see LICENSE.
來源:README.md,提交 828344a
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分