Skip to main content
Glama
aljon-zb

peltierpro-mcp

by aljon-zb

Claude–Odoo 19 OAuth Read-Only MCP Connector

OAuth-enabled version of the read-only Odoo 19 MCP connector.

Claude
  -> OAuth 2.1 access token
  -> Python MCP Resource Server
  -> Odoo JSON-2 API

Important architecture

The Python service is an OAuth Resource Server. It validates bearer tokens issued by an external OAuth/OIDC Authorization Server such as Microsoft Entra ID, Auth0, Okta, or another compatible identity provider.

The Odoo API key stays only on the Python connector server.

Related MCP server: MCP Server for Odoo

Odoo tools

  • test_odoo_connection

  • search_crm_opportunities

  • get_crm_opportunity

  • search_sales_orders

  • get_sales_order

  • search_products

  • get_stock_by_location

  • search_inventory_transfers

No Odoo create/update/delete/confirm/validate/cancel tools are included.

Install on Windows

py -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt
Copy-Item .env.example .env

First local test

Keep:

AUTH_ENABLED=false
TRANSPORT=streamable-http
HOST=0.0.0.0
PORT=8000

Run:

python test_connection.py
python -m unittest discover -s tests
python -m app.server

Then test http://127.0.0.1:8000/mcp with MCP Inspector.

OAuth configuration

Register an API/resource and OAuth client with the client's identity provider. The provider must issue JWT access tokens containing:

  • iss matching AUTH_ISSUER_URL

  • aud matching AUTH_AUDIENCE

  • exp

  • required scope, default odoo.read

Then configure:

AUTH_ENABLED=true
AUTH_ISSUER_URL=https://auth.example.com
AUTH_RESOURCE_SERVER_URL=https://YOUR_PUBLIC_HOST/mcp
AUTH_JWKS_URL=https://auth.example.com/.well-known/jwks.json
AUTH_AUDIENCE=https://YOUR_PUBLIC_HOST/mcp
AUTH_REQUIRED_SCOPES=odoo.read
AUTH_ALGORITHMS=RS256

Restart:

python -m app.server

The MCP SDK will publish protected-resource metadata used by Claude for OAuth discovery. The Authorization Server itself remains external.

Claude

Add:

https://YOUR_PUBLIC_HOST/mcp

If the identity provider does not support dynamic client registration, add the OAuth Client ID and Client Secret in Claude connector Advanced settings.

Each authorized Claude user then clicks Connect and signs in through the configured identity provider.

Dev Tunnel

A public VS Code Dev Tunnel can be used temporarily for staging. If its URL changes, update AUTH_RESOURCE_SERVER_URL and usually AUTH_AUDIENCE as well.

Do not leave AUTH_ENABLED=false on a publicly accessible persistent MCP deployment.

peltierpro-mcp

Related MCP Connectors

  • The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.

  • MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.

  • Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.

  • Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    This read-only MCP Server allows you to connect to Odoo data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).
    2
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server that enables AI assistants like Claude to interact with Odoo ERP systems through natural language, allowing users to search, create, update, and manage business data in their Odoo instance.
    1,571 PyPI
    384
    Mozilla Public 2.0
  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that enables AI assistants to interact with Odoo ERP apps like Inventory, CRM, Sales, and Manufacturing. It allows users to read, create, and manage Odoo records and workflows using natural language commands.
    25
    11 npm
    1
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    A read-only MCP server that enables AI assistants to query Odoo instances via XML-RPC, supporting search, read, count, and field inspection without requiring custom modules.
    1
    Mozilla Public 2.0