Skip to main content
Glama
Odoo Expense Auditor MCP Server

Odoo Expense Auditor MCP Server

by ernestoh0183

Odoo Expense Auditor (AI System 1 + Local Gemma 4 + MCP)

An enterprise-ready, privacy-preserving automated expense auditing system integrating:

  1. System 1 Triage (Gemini Decision 1 & Jev): 0 output tokens, sub-100ms risk scoring and policy validation.

  2. On-Premise Local AI (Gemma 4): 100% data confidentiality for sensitive receipts and employee payroll data.

  3. Model Context Protocol (MCP): Zero-Trust guardrails over Odoo ERP 18 (hr.expense).

Architecture Overview

[ Incoming Receipt in Odoo ]
            │
            ▼
┌───────────────────────────────┐
│  Phase 1: System 1 Triage     │
│   Gemini Decision 1 / Jev     │
│   (0 tokens, <100ms latency)  │
└───────────────┬───────────────┘
                │
        ┌───────┴───────┐
        ▼               ▼
[ Clean & Routine ]    [ Risk / Policy Breach ]
(choice: Travel)       (score: 8/10, noul: False)
(score: 1/10)                   │
        │                       ▼
        │              ┌──────────────────────────────┐
        │              │  Phase 2: Local AI Skill     │
        │              │   Gemma 4 (On-Premise)       │
        │              │   Structured Audit Report    │
        │              └──────────────┬───────────────┘
        │                             │
        └───────────────┬─────────────┘
                        │
                        ▼
┌───────────────────────────────────────────────┐
│  Phase 3: Odoo 18 MCP Server (Zero-Trust)     │
│  odoo_approve_expense()                       │
│  odoo_flag_for_review()                       │
└───────────────────────────────────────────────┘

Related MCP server: MCP Server for Odoo

Quickstart

python -m unittest discover -s tests -p "test_*.py"
python examples/run_expense_audit_demo.py

Author & License

  • Author: Rodrigo Ernesto Hernández Buitrago (4Ruy.com)

  • License: MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to fully control and manage Odoo 18 ERP instances through 79 tools, including configuration, data operations, reporting, and code generation, with built-in domain knowledge and specialist agents.
      5
      AGPL 3.0
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to securely access and perform CRUD operations on Odoo data through natural language, with granular permissions and dual REST/XML-RPC support.
      -
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to interact with an Odoo ERP through tool calls that are allowlist-policy-checked, risk-scored and throttled before touching the ERP, covering record reads, writes, deletes and method execution. Every request and decision is recorded to a hash-chained, tamper-evident audit log with optional HMAC keys and anchor exports.
      19
      MIT