DEV Community

JiangGuangFeng
JiangGuangFeng

Posted on

Foggy Odoo Bridge: Governed MCP Access to Odoo Data with Permission Preservation

I just open-sourced Foggy Odoo Bridge.

It is an Odoo addon that gives AI clients governed MCP access to Odoo data while preserving Odoo permission rules.

What it does

Most "AI + ERP" demos stop at connectivity. Foggy Odoo Bridge focuses on governed access instead — it keeps authentication, model visibility, and row-level rules inside Odoo before the query reaches the engine.

Highlights

  • API-key auth from Odoo
  • ir.model.access based model visibility
  • ir.rule conversion into query filters before execution
  • Multi-company isolation
  • Built-in semantic models for common Odoo objects
  • Built-in AI Chat inside Odoo
  • Support for embedded Python engine or external Foggy Python / Java services

Deployment Options

  • Embedded Python engine inside Odoo
  • External Foggy Python service
  • External Foggy Java service

Dependency Notes

If you only use it as a standalone MCP service, you do not need openai or anthropic in the Odoo environment. Those SDKs are only optional dependencies for the built-in AI Chat feature.

Repo: https://github.com/foggy-projects/foggy-odoo-bridge

Top comments (0)