odoo-readonly
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ODOO_DB | No | Odoo database name for single-server (legacy) mode. | |
| ODOO_URL | No | Odoo server URL for single-server (legacy) mode, e.g. https://... or http://host.docker.internal:8069. | |
| ODOO_USER | No | Odoo username for single-server (legacy) mode. | |
| MCPO_ODOO_DEFAULT_PROFILE | No | Optional default profile in .env, e.g. "staging". |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only access to one or more Odoo servers via JSON-RPC. Pass 'profile' on each tool to select a server (see odoo_list_profiles). Only whitelisted ORM methods are allowed. JSON-RPC is stable across Odoo versions; server_version is returned per profile.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| odoo_list_profilesA | List configured Odoo server profiles (URLs, DB names; no secrets). |
| odoo_session_infoA | Connectivity check: user, database, Odoo server version for the given profile. |
| odoo_search_readC | Odoo search_read: list records matching domain.
|
| odoo_readC | Odoo read by ids (JSON list), e.g. [1, 2, 3]. |
| odoo_searchC | Return record ids only (search). |
| odoo_search_countC | Count records matching domain. |
| odoo_name_searchD | Odoo name_search (label search for many2one, etc.). |
| odoo_fields_getC | Field metadata for a model on the selected Odoo server. |
| odoo_read_groupC | Odoo read_group (aggregations). |
| odoo_call_readonlyC | Generic read-only ORM call (whitelist only) on the selected profile. |
| odoo_list_installed_modulesC | List installed modules on the selected Odoo instance. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
The search/read/name_search/search_read/read_group cluster mirrors standard Odoo ORM semantics, so an agent familiar with Odoo can distinguish them (ids-only vs. full records vs. labels vs. aggregations). The main soft spot is odoo_call_readonly, a generic catch-all that can reach the same data as search_read/read, leaving ambiguity about when to use the specific tools versus the generic one.
All tools share the odoo_ prefix and snake_case, giving a strongly predictable family. Minor deviation in verb/noun ordering (list_profiles, search_count vs. fields_get, read_group, name_search), but these follow Odoo's own ORM method names so it stays readable and intentional.
Eleven tools is well within the ideal 3-15 range and each maps to a meaningful operation on the readonly surface (profiles, session, search variants, read, fields, groups, modules, generic call). Nothing feels redundant enough to drop except arguably the generic call.
For a read-only server, the surface is comprehensive: profile discovery, connectivity check, domain search, counting, record retrieval, label search, field metadata, aggregation, module listing, plus a generic escape hatch for whitelisted readonly ORM calls. No write paths are needed by design, so there are no dead ends.