tjgurwara99

Odoo MCP Connector

Community tjgurwara99
Updated

Odoo MCP Connector

Production-grade Odoo add-ons that expose Odoo business functionality toClaude (and other MCP-compliant clients) as a remote Model Context Protocol(MCP) connector over HTTP, with OAuth 2.1 auth, per-user Odoo permissionenforcement, write-confirmation safety, and full audit logging.

See PLAN.md for the full architecture and delivery plan.

Modules

  • addons/mcp_server — core: MCP protocol engine, OAuth 2.1 provider,generic model access engine, confirmation-token workflow, audit log.
  • addons/mcp_server_sales — Sales orders/quotations tools.
  • addons/mcp_server_accounting — Invoicing/Accounting tools.
  • addons/mcp_server_inventory — Inventory/Stock tools.
  • addons/mcp_server_contacts — Contacts/Partners tools.

Status

Core module mcp_server implemented (PLAN.md Phases 1–4):

  • MCP Streamable HTTP transport (JSON-RPC 2.0) at POST /mcp, DELETE /mcpsession teardown, pinned protocol version 2025-06-18 (no batching).
  • Two error channels: protocol errors as JSON-RPC error; tool errors assuccessful results with isError: true.
  • OAuth 2.1 AS + Resource Server: DCR, Authorization Code + PKCE (S256),refresh-token rotation, RFC 8707 resource-indicator binding, RFC 7009 revoke,.well-known metadata. Secrets hashed at rest.
  • Import-time tool/resource registry for domain add-ons.
  • Generic model engine (odoo.*) gated by the mcp.model.access allowlist plusreal Odoo ACL/record rules.
  • Propose → confirm workflow for all writes (single-use, user-bound tokens).
  • Full audit log with pivot/graph views and sensitive-action alerting.
  • Admin UI (Settings + dedicated MCP app menu) and cron GC jobs.
  • Test suite (addons/mcp_server/tests/) covering JSON-RPC, schema, protocolerror channels, confirmation flow, generic engine, OAuth/PKCE, and audit.

Run tests:

odoo -d <db> -i mcp_server --test-enable --stop-after-init

Domain add-ons (mcp_server_sales, _inventory, _contacts) follow the sametemplate; mcp_server_accounting is implemented (PLAN.md Phase 5).

MCP Server · Populars

MCP Server · New

    agent-room-alkl

    Agent Room

    Multi-agent collaboration rooms for Claude Code, Cursor, Codex & Gemini — distributed dev, code review, PR handoff, FE↔BE integration. MCP-native, self-hostable.

    Community agent-room-alkl
    Last-emo-boy

    Rikune

    MCP Server

    Community Last-emo-boy
    koul777

    PR MCP Builder

    PR MCP Builder - 공공기관 규정 MCP 빌더

    Community koul777
    TrueClicks

    Google Ads MCP (Node.js) - by TrueClicks

    The easiest to use Google Ads MCP. Connect Google Ads with Claude's AI in seconds and let it analyze your campaigns. You'll be surprised how well the AI knows PPC! This is the only Google Ads MCP where you won't need to create developer tokens or OAuth credentials.

    Community TrueClicks
    whuanle

    EasyTouch

    一个跨平台的系统自动化操作工具,支持鼠标、键盘、屏幕、窗口、系统资源等多种操作。支持 CLI 和 MCP 两种使用方式。

    Community whuanle