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 分

    请在仓库或注册中心条目中声明许可证。