OCL Context Layer
OfficialProvides structured, scoped business context for Odoo, with tools to retrieve context packs, resolve business nouns, and explain fields to AI agents.
OCL standard
OCL is an experimental open format for giving AI systems structured, scoped, and verifiable business meaning for Odoo.
An Odoo connector explains how to reach records. An OCL context pack explains what relevant records and fields mean, which tempting interpretations are wrong, what ambiguity must be resolved, and which safety boundaries still apply.
question -> OCL context -> AI reasoning + existing connector -> OdooUse OCL
Choose the surface that fits your product:
Route | Call | Benefit | Alpha availability |
MCP for AI agents |
| Put scoped Odoo meaning directly in an agent's tool loop | Public example or invitation runtime |
CLI |
| Inspect a context pack and its warnings immediately | Public examples now |
Python validator |
| Read and produce interoperable OCL documents | Available now |
TypeScript integration | Five production operation shapes | Connect a product to the verified hosted runtime | Source alpha and invitation runtime |
Clone and try the context behavior:
git clone https://github.com/Nantiai/ocl-standard.git
cd ocl-standard
python reference/python/ocl_examples.py get-context "What is revenue?"The result asks which revenue definition applies and returns the paired warning
against treating account.move.amount_total as universal revenue.
Add the example MCP to an agent
{
"mcpServers": {
"ocl-public-examples": {
"command": "python",
"args": [
"/absolute/path/to/ocl-standard/reference/python/ocl_examples.py",
"serve-mcp"
]
}
}
}This local server demonstrates the real OCL tool contract using ten public candidate examples. It is not the commercial Odoo 19 runtime.
See Using OCL for the integration flow, MCP calls, CLI commands, SDK examples, response handling, and current access boundary. Connector and MCP implementers should freeze against the connector runtime contract and its conformance fixture. Hosted runtime clients can follow the verified alpha call guide. Developers can first try one live verified decision, then start a scoped seven-day trial without GitHub, package installation, Odoo credentials, or customer data. The GitHub request and email paths remain available as fallbacks.
This repository contains the open interoperability layer:
JSON Schemas for semantic entries and request-scoped context packs;
a dependency-light Python validator and TypeScript client shape;
ten Odoo 19 candidate examples covering the major knowledge types;
an executable conformance suite;
an example-only resolver and MCP server;
public benchmark methodology.
It does not contain nanti.ai's commercial registry, production assembler, verification harness, source fingerprints, private benchmarks, tenant overlays, memory, or unreleased ontology candidates.
Related MCP server: MCP Server Boilerplate
Status
Version 0.1.0 is an experimental technical alpha. The format can change while
independent implementations test it. The examples demonstrate the format; they
are not the commercial verified registry and do not carry a lifetime guarantee.
Odoo 19 is the only current stock-version focus.
External developer alpha
Developers can now clone the standard, run conformance, integrate the example MCP server, and report an independent implementation. See the developer alpha guide.
The public alpha is an interoperability surface, not free bulk access to the
commercial verified registry. A bounded verified runtime is live at
https://api.context.nanti.ai; its native form immediately issues a scoped,
expiring evaluation key.
Core idea
meaning -> evidence -> rule -> assertion -> applicability -> confidenceFacts do not become verified because an LLM wrote plausible JSON. A conforming document describes evidence and assertions. A registry operator separately decides which verification policy is sufficient for a release claim.
Learn more
Independence
Odoo is a trademark of Odoo S.A. This project is independently developed and is not affiliated with or endorsed by Odoo S.A.
License
The open repository is licensed under the Apache License 2.0. The commercial OCL registry and services are separate and are not distributed by this repository.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Public, read-only MCP server for FarmNeural company facts, packages, and capabilities.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseBqualityAmaintenanceAn MCP server implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.41401MIT
- FlicenseDqualityDmaintenanceA ready-to-use starter implementation of the Model Context Protocol (MCP) server that enables applications to provide standardized context for LLMs with sample resources, tools, and prompts.281-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with Odoo ERP systems, providing comprehensive tools for searching, creating, updating, and managing Odoo records through a standardized interface.24GPL 3.0
- AlicenseNot gradedqualityDmaintenanceAn enterprise-grade MCP server for interacting with Odoo ERP through AI assistants, enabling guided workflows, native BI, and deep introspection.10MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nantiai/ocl-standard'
If you have feedback or need assistance with the MCP directory API, please join our Discord server