peltierpro-mcp
Claude–Odoo 19 OAuth Read-Only MCP Connector
OAuth-fähige Version des schreibgeschützten Odoo 19 MCP Connectors.
Claude
-> OAuth 2.1 access token
-> Python MCP Resource Server
-> Odoo JSON-2 APIWichtige Architektur
Der Python-Dienst fungiert als OAuth-Ressourcenserver. Er validiert Bearer-Token, die von einem externen OAuth/OIDC-Autorisierungsserver wie Microsoft Entra ID, Auth0, Okta oder einem anderen kompatiblen Identitätsanbieter ausgestellt wurden.
Der Odoo-API-Schlüssel verbleibt ausschließlich auf dem Python-Connector-Server.
Related MCP server: MCP Server for Odoo
Odoo-Werkzeuge
test_odoo_connection
search_crm_opportunities
get_crm_opportunity
search_sales_orders
get_sales_order
search_products
get_stock_by_location
search_inventory_transfers
Es sind keine Odoo-Werkzeuge zum Erstellen/Aktualisieren/Löschen/Bestätigen/Validieren/Stornieren enthalten.
Installation unter Windows
py -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt
Copy-Item .env.example .envErster lokaler Test
Behalten:
AUTH_ENABLED=false
TRANSPORT=streamable-http
HOST=0.0.0.0
PORT=8000Ausführen:
python test_connection.py
python -m unittest discover -s tests
python -m app.serverDann testen Sie http://127.0.0.1:8000/mcp mit dem MCP Inspector.
OAuth-Konfiguration
Registrieren Sie eine API/Ressource und einen OAuth-Client beim Identitätsanbieter des Clients. Der Anbieter muss JWT-Zugriffstoken ausstellen, die Folgendes enthalten:
iss– muss AUTH_ISSUER_URL entsprechenaud– muss AUTH_AUDIENCE entsprechenexperforderlicher Bereich, standardmäßig
odoo.read
Konfigurieren Sie dann:
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=RS256Neustart:
python -m app.serverDas MCP SDK veröffentlicht Metadaten der geschützten Ressource, die von Claude für die OAuth-Erkennung verwendet werden. Der Autorisierungsserver selbst bleibt extern.
Claude
Hinzufügen:
https://YOUR_PUBLIC_HOST/mcpWenn der Identitätsanbieter keine dynamische Client-Registrierung unterstützt, fügen Sie die OAuth-Client-ID und das OAuth-Client-Geheimnis in den erweiterten Einstellungen des Claude Connectors hinzu.
Jeder autorisierte Claude-Benutzer klickt dann auf „Verbinden“ und meldet sich über den konfigurierten Identitätsanbieter an.
Dev Tunnel
Ein öffentlicher VS Code Dev Tunnel kann vorübergehend für das Staging verwendet werden. Wenn sich seine URL ändert, aktualisieren Sie AUTH_RESOURCE_SERVER_URL und in der Regel auch AUTH_AUDIENCE.
Lassen Sie AUTH_ENABLED=false nicht auf einer öffentlich zugänglichen, dauerhaften MCP-Bereitstellung.
peltierpro-mcp
This server cannot be deployed
Maintenance
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.
- odooOAuthcom.odooconsole
Odoo ERP for AI agents: hosted OAuth endpoint, gated writes, one endpoint for every instance.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis 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/).2MIT
- AlicenseNot gradedqualityAmaintenanceAn 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,543 PyPI397Mozilla Public 2.0
- AlicenseBqualityDmaintenanceAn 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.2513 npm1ISC
- AlicenseNot gradedqualityDmaintenanceA 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.97 PyPI1Mozilla Public 2.0