Logo odoo-mcp-pro

odoo-mcp-pro

Tổ chức
pantalytics

AI connector for Odoo ERP | Connect Claude, ChatGPT, Cursor and other AI tools to Odoo via MCP

Nhà phát hànhpantalytics
Kho mãodoo-mcp-pro
Ngôn ngữPython
Bản fork
40
Sao
79
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    odoo-mcp-pro cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    79 sao và 40 bản fork từ kho mã được liên kết.

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 →


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.

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
# Install
pip 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
search_recordsSearch any model with domain filters, sorting, pagination
get_recordFetch a specific record by ID with smart field selection
list_modelsDiscover available Odoo models
list_resource_templatesDiscover available resource URI templates
create_record / create_recordsCreate one or multiple records
update_record / update_recordsUpdate one or multiple records
delete_record / delete_recordsDelete one or multiple records
import_recordsIdempotent upsert via external IDs (same as Odoo CSV import)
server_infoServer version, connection status

Supports Odoo 14-19+ -- 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.

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.10
source .venv/bin/activate
uv pip install -e ".[dev]"
pytest tests/ -q
ruff 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-19+. 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 rutger@pantalytics.com 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.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "pantalytics-odoo-mcp-pro": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP odoo-mcp-pro với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối odoo-mcp-pro, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm odoo-mcp-pro làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của odoo-mcp-pro.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "pantalytics-odoo-mcp-pro": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-odoo"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của odoo-mcp-pro, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của odoo-mcp-pro.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng odoo-mcp-pro giúp tôi làm việc này không?
odoo-mcp-pro
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng odoo-mcp-pro.

Câu hỏi thường gặp

Máy chủ MCP odoo-mcp-pro dùng để làm gì?

odoo-mcp-pro là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP odoo-mcp-pro với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng odoo-mcp-pro với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP odoo-mcp-pro với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối odoo-mcp-pro, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP odoo-mcp-pro với TypingMind?

odoo-mcp-pro hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP odoo-mcp-pro cung cấp những công cụ nào trong TypingMind?

odoo-mcp-pro cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP odoo-mcp-pro không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu odoo-mcp-pro yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇