Start Here

Niyu MCP Server for Odoo: Overview

Understand what the MCP server does, how AI clients connect to Odoo, where security is enforced, and which Odoo menus customers use.

Niyu MCP Server turns an Odoo 19 database into a governed MCP endpoint that ChatGPT, Claude, Cursor, Codex, automation tools, and other compatible clients can use to read or act on live ERP data.

Note: No separate middleware is required The main Streamable HTTP MCP server runs inside Odoo at /mcp. A local Python bridge is optional for development and localhost workflows.

Note: Documentation version This guide matches module version 19.0.7.0.0 for Odoo 19. Client interfaces may change while the Odoo setup and security model remain the same.

What MCP means

Model Context Protocol (MCP) is a standard way for an AI client to discover tools, prompts, and resources from another system. Here, Odoo is the system providing those capabilities.

How a request works

  1. An AI client connects to the public Odoo MCP URL, normally https://your-odoo-domain.com/mcp.
  2. The client authenticates with OAuth or a scoped API key.
  3. The request runs as a specific internal Odoo user.
  4. Odoo ACLs and record rules are applied.
  5. MCP access bundles, model permissions, field rules, forced domains, limits, and tool blocks are applied as additional restrictions.
  6. The approved ORM operation runs and the result is audited.

Main capabilities

  • Discover exposed models, fields, business terms, instance guidance, prompts, and resources.
  • Search, read, count, aggregate, create, update, delete, and use chatter when every permission layer allows it.
  • Run grouped, pivot, time-series, top-N, funnel, and cohort analysis.
  • Export governed datasets as CSV, JSON, or XLSX and queue larger read/export jobs.
  • Create governed dashboards and reusable prompt templates.
  • Build safe data-only Odoo modules containing custom x_ models, fields, views, menus, and access records.

Where to find the module in Odoo

AreaOdoo locationPurpose
SettingsSettings > MCP ServerEnable the endpoint, set the public URL, choose authentication and data-access mode, and configure monitoring or advanced controls.
ConnectionsMCP Server > ConnectionsSee connected users and clients; disable or re-enable a connection.
Access BundlesMCP Server > Access BundlesChoose exact Odoo models and define MCP-only permissions and governance.
API KeysMCP Server > API Keys / Generate API KeyCreate, rotate, expire, and revoke user-bound scoped keys.
Async JobsMCP Server > Async JobsReview queued counts and exports.
DashboardsMCP Server > DashboardsCreate and share governed dashboards.
Prompt TemplatesMCP Server > Prompt TemplatesCreate reusable prompts visible to selected MCP users.
Safe Module BuilderMCP Server > Safe Module BuilderBuild and install data-only modules; administrator only.
Audit LogsMCP Server > Audit LogsReview MCP requests, decisions, failures, and timing.
Built-in HelpMCP Server > DocumentationOpen the server-generated capability page at /mcp/docs.

Start with OAuth, bundle enforcement, one read-only access bundle, a small list of business models, and a non-administrator test user. Validate read requests before enabling create, update, export, chatter, or delete capabilities.