odoo-mcp
Allows AI agents to interact with Odoo 17 ERP, providing tools for product search, stock level checking, customer management, and sales order creation through the Odoo XML-RPC API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Odoo 17 – MCP-Server (Proof of Concept)
Ein schlanker MCP-Server, der ausgewählte Odoo-17-Geschäftsprozesse als Tools kapselt. Ein LLM-Agent (z.B. OpenClaw) kann diese Tools auswählen und ausführen, ohne Odoo selbst zu verändern. Die Anbindung erfolgt entkoppelt über die externe Odoo-API (XML-RPC)
Tools
Bereich | Tool | Zweck |
Read |
| Flexibles Lesen beliebiger Odoo-Modelle |
Inventory |
| Verkaufsfähige Produkte suchen (inkl. Bestand) |
Inventory |
| Verfügbaren Lagerbestand eines Produkts prüfen |
Sales |
| Kunden über E-Mail finden oder neu anlegen |
Sales |
| Verkaufsauftrag (Angebot) anlegen |
Sales |
| Angebot bestätigen → Verkaufsauftrag |
Related MCP server: MCP Server for Odoo
1. Odoo lokal starten
docker compose up -dDann http://localhost:8069 öffnen und beim ersten Start eine Datenbank
namens odoo mit Demodaten anlegen (liefert Beispielprodukte/-kunden).
Das Master-Passwort wird in config/odoo.conf gesetzt; dazu die Vorlage
kopieren und ein eigenes Passwort eintragen:
cp config/odoo.conf.example config/odoo.conf # admin_passwd anpassen
config/odoo.confist bewusst per.gitignoreausgeschlossen und darf nicht mit echtem Passwort/Hash veröffentlicht werden.
2. MCP-Server einrichten
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
cp .env.example .env # ggf. Zugangsdaten anpassen3. Server testen
.venv/bin/python main.py # startet den MCP-Server über stdioDer Server kommuniziert über stdio (JSON-RPC) und wird normalerweise vom MCP-Client/Agenten gestartet, nicht direkt im Terminal bedient.
4. In einem MCP-Client registrieren
Beispielkonfiguration (z.B. für OpenClaw / kompatible Clients):
{
"mcpServers": {
"odoo": {
"command": "/ABSOLUTER/PFAD/zu/odoo-mcp/.venv/bin/python",
"args": ["/ABSOLUTER/PFAD/zu/odoo-mcp/main.py"]
}
}
}Pfade an den eigenen Projektordner anpassen (absolute Pfade zum venv-Python und zu
main.py).
Beispiel-Ablauf (typische Tool-Kette eines Agenten)
search_products("Desk")→ Produkt-ID ermittelncheck_stock_level(product_id)→ Bestand prüfenfind_or_create_customer("Muster GmbH", "info@muster.de")→ Kunden-IDcreate_sale_order(customer_id, [{"product_id": 42, "quantity": 2}])→ Angebotconfirm_sale_order(order_id)→ bestätigter Verkaufsauftrag
Konfiguration
Über Umgebungsvariablen bzw. .env:
Variable | Default | Bedeutung |
|
| Basis-URL der Instanz |
|
| Datenbankname |
|
| Benutzer |
|
| Passwort / API-Key |
Governance-Schicht
Kontrolle | Umsetzung | Policy-Schlüssel |
Capability-Scoping | Nur freigegebene Tools werden registriert (für den Agenten unsichtbar) |
|
Eingabevalidierung | Generisches Read-Tool nur auf erlaubte Modelle beschränkbar |
|
Audit-Log | Jeder Tool-Aufruf als JSON-Zeile (Agent, Parameter, Ergebnis-/Fehler-Referenz, Dauer) |
|
Ein leerer/fehlender allowed_*-Eintrag bedeutet „keine Einschränkung". Den
Policy-Pfad kann man über die Umgebungsvariable ODOO_MCP_POLICY überschreiben.
Beispielzeile aus dem Audit-Log:
{"ts": "2026-06-22T12:55:52Z", "agent_id": "openclaw-poc", "tool": "create_sale_order",
"params": {"customer_id": 7, "order_lines": [{"product_id": 42, "quantity": 2}]},
"status": "ok", "result_ref": 15, "duration_ms": 38.4}This server cannot be deployed
Maintenance
Related MCP Connectors
Malaysian SME accounting, e-Invoice and payroll for your AI. 77 tools; writes are approved drafts.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
77 public tools: agent runs, handoffs, one-time secrets, semantic search, queues and webhooks.
70+ pay-per-call tools for AI agents: web search, email verify, KYC, stocks, crypto, news, data
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Odoo ERP systems through 17+ business tools covering sales, purchasing, inventory, and accounting operations. Supports both Claude Desktop integration and web deployment with dual transport modes.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with Odoo ERP systems through natural language, allowing users to search, create, update, and manage business records like customers, products, and invoices across any Odoo instance.21 PyPI1Mozilla Public 2.0
- AlicenseAqualityAmaintenanceEnables AI agents to interact with Odoo ERP as the authenticated user, with tools for discovery, planning, and mutations bounded by user permissions.3650 npm2Apache 2.0

ERPipeofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with Odoo ERP through natural language, providing tools and prompts for data operations and record management.MIT