mcp-odoo
v1.2.2Odoo MCP: gated writes, multi-instance.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
data_quality_report
Run read-only data-quality checks on one Odoo model: duplicates, missing required values, orphaned references, format anomalies
| Parameter | Type | Description |
|---|---|---|
model * | string | |
checks | ||
instance | ||
key_fields | ||
sample_limit | integer |
diagnose_odoo_call
Diagnose an Odoo model call without executing it
| Parameter | Type | Description |
|---|---|---|
method * | string | Odoo model method name to diagnose. |
model * | string | Technical Odoo model name to diagnose. |
args | Optional positional call arguments. | |
include_debug | boolean | Whether to include additional diagnostic details. |
kwargs | Optional keyword call arguments. | |
metadata | Optional model or method metadata used by the diagnosis. | |
observed_error | Optional error text or structured error to classify. | |
target_version | Optional target Odoo version for compatibility checks. | |
transport | string | Transport to assess, such as 'auto', 'xmlrpc', or 'json2'. |
use_live_metadata | boolean | Whether to request live metadata; this preview tool does not fetch it. |
generate_json2_payload
Build a JSON-2 request preview without network access
| Parameter | Type | Description |
|---|---|---|
method * | string | |
model * | string | |
args | ||
base_url | ||
database | ||
include_database_header | boolean | |
kwargs |
inspect_model_relationships
Inspect model relationships and required field metadata
| Parameter | Type | Description |
|---|---|---|
model * | string | |
fields_metadata | ||
include_computed | boolean | |
include_readonly | boolean | |
instance | ||
use_live_metadata | boolean |
diagnose_access
Diagnose ACL and record-rule visibility for an Odoo model
| Parameter | Type | Description |
|---|---|---|
model * | string | Technical Odoo model name to inspect. |
domain | Optional Odoo domain used for the visibility check. | |
expected_count | Optional expected visible record count for comparison. | |
include_rules | boolean | Whether to include matching record-rule metadata. |
instance | Optional configured Odoo instance name; uses the default if omitted. | |
limit | integer | Maximum metadata rows to inspect; capped at 500. |
observed_error | Optional error text or structured error to classify. | |
operation | string | Access operation to diagnose, such as read or write. |
record_ids | Optional record IDs to check directly. |
upgrade_risk_report
Report Odoo upgrade and JSON-2 migration risks
| Parameter | Type | Description |
|---|---|---|
include_debug | boolean | Whether to include additional diagnostic details. |
methods | Optional model method metadata to assess for compatibility. | |
modules | Optional module metadata to assess for upgrade risks. | |
observed_errors | Optional observed upgrade or migration errors to classify. | |
source_findings | Optional source-code findings to include in the risk report. | |
source_version | Optional current Odoo version. | |
target_version | Optional target Odoo version. | |
use_live_metadata | boolean | Whether to request live metadata; this preview tool does not fetch it. |
analyze_upgrade_log
Classify Odoo install/update log errors into a migration worklist (no_action / needs_review / needs_script) with fix suggestions
| Parameter | Type | Description |
|---|---|---|
log_text * | string | |
source_version | ||
target_version |
lookup_model_history
Look up Odoo model rename/removal history by old or new model name (e.g. account.invoice -> account.move)
| Parameter | Type | Description |
|---|---|---|
name * | string |
fit_gap_report
Classify Odoo requirements into fit/gap implementation buckets
| Parameter | Type | Description |
|---|---|---|
requirements * | array | |
available_fields | ||
available_models | ||
business_context | ||
installed_modules | ||
use_live_metadata | boolean |
scan_addons_source
Scan local Odoo addon source without importing addon code
| Parameter | Type | Description |
|---|---|---|
addons_paths | ||
max_file_bytes | integer | |
max_files | integer |
build_domain
Build a validated Odoo domain from structured conditions
| Parameter | Type | Description |
|---|---|---|
conditions * | array | |
fields_metadata | ||
logical_operator | string |
business_pack_report
Report expected modules, models, and safe discovery calls for a business pack
| Parameter | Type | Description |
|---|---|---|
pack * | string | Business pack to report, such as sales, crm, inventory, accounting, or hr. |
instance | Optional configured Odoo instance name; uses the default if omitted. | |
use_live_metadata | boolean | Whether to inspect live models and installed modules. |
get_odoo_profile
Read a bounded profile of the connected Odoo environment
| Parameter | Type | Description |
|---|---|---|
include_modules | boolean | Whether to include installed-module metadata. |
instance | Optional configured Odoo instance name; uses the default if omitted. | |
module_limit | integer | Maximum installed modules to include; capped at 500. |
schema_catalog
Build and cache a bounded Odoo model schema catalog
| Parameter | Type | Description |
|---|---|---|
include_fields | boolean | Whether to include field metadata for each model. |
instance | Optional configured Odoo instance name; uses the default if omitted. | |
limit | integer | Maximum catalog models to return; capped at 500. |
models | Optional technical model names to include in the catalog. | |
query | Optional text used to filter catalog models. | |
refresh | boolean | Whether to bypass and refresh the cached catalog. |
health_check
Report this MCP server's non-secret runtime safety posture
list_instances
List configured Odoo instance names without credentials
list_models
List Odoo models with optional name filtering
| Parameter | Type | Description |
|---|---|---|
instance | ||
limit | integer | |
query |
get_model_fields
Get field metadata for a specific Odoo model
| Parameter | Type | Description |
|---|---|---|
model * | string | |
field_names | ||
instance | ||
max_fields | integer | |
relevance |
search_records
Search Odoo records with read-only search_read; optional free-text `query` matches across name/ref/email-like fields
| Parameter | Type | Description |
|---|---|---|
model * | string | |
domain | ||
fields | ||
instance | ||
limit | integer | |
offset | integer | |
order | ||
query |
read_record
Read a single Odoo record by model and ID
| Parameter | Type | Description |
|---|---|---|
model * | string | |
record_id * | integer | |
fields | ||
instance |
read_attachment
Read an ir.attachment's metadata and size-capped base64 content
| Parameter | Type | Description |
|---|---|---|
attachment_id * | integer | |
include_data | boolean | |
instance |
aggregate_records
Aggregate Odoo records server-side using Postgres groupby/sum/count. Uses formatted_read_group on Odoo 19+ and read_group on earlier versions.
| Parameter | Type | Description |
|---|---|---|
group_by * | array | |
model * | string | |
domain | ||
instance | ||
lazy | boolean | |
limit | ||
measures | ||
offset | integer | |
order |
search_employee
Search for employees by name
| Parameter | Type | Description |
|---|---|---|
name * | string | |
instance | ||
limit | integer |
search_holidays
Search for holidays within a date range
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date in YYYY-MM-DD format. |
start_date * | string | Start date in YYYY-MM-DD format. |
employee_id | Optional employee ID used to filter holidays. | |
instance | Optional configured Odoo instance name; uses the default if omitted. |
preview_write
Preview create, write, or unlink without executing it
| Parameter | Type | Description |
|---|---|---|
model * | string | |
operation * | string | |
context | ||
instance | ||
record_ids | ||
values | ||
values_list |
validate_write
Validate a standard write payload against optional fields_get metadata
| Parameter | Type | Description |
|---|---|---|
model * | string | |
operation * | string | |
context | ||
fields_metadata | ||
instance | ||
record_ids | ||
use_live_metadata | boolean | |
values | ||
values_list |
execute_approved_write
Execute a previously previewed and confirmed standard write
| Parameter | Type | Description |
|---|---|---|
approval * | object | |
confirm | boolean |
chatter_post
Post a chatter message on a mail.thread record. Default mode requires an approval token returned from a preview call; set MCP_CHATTER_DIRECT=1 to bypass and post immediately.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
model * | string | |
record_id * | integer | |
approval | ||
attachment_ids | ||
confirm | boolean | |
instance | ||
message_type | string | |
partner_ids | ||
subtype_xmlid |
execute_method
Execute a custom method on an Odoo model
| Parameter | Type | Description |
|---|---|---|
method * | string | Odoo model method to call; direct create, write, and unlink are blocked. |
model * | string | Technical Odoo model name, for example 'res.partner'. |
args | Optional positional method arguments. | |
instance | Optional configured Odoo instance name; uses the default if omitted. | |
kwargs | Optional keyword method arguments. |
index_knowledge
Fetch a bounded slice of records and build a local BM25 knowledge index
| Parameter | Type | Description |
|---|---|---|
model * | string | |
domain | ||
fields | ||
instance | ||
limit | integer | |
replace | boolean |
search_knowledge
Relevance-ranked local BM25 search over previously indexed records
| Parameter | Type | Description |
|---|---|---|
model * | string | |
query * | string | |
instance | ||
limit | integer |
knowledge_stats
Report local knowledge index sizes and document budget
receivable_payable_aging
Aged receivable/payable report bucketed by days overdue
| Parameter | Type | Description |
|---|---|---|
as_of | Optional ISO date used as the aging reference date. | |
direction | string | Aging direction: 'receivable' or 'payable'. |
instance | Optional configured Odoo instance name; uses the default if omitted. | |
limit | integer | Maximum open-item lines to inspect. |
top_partners | integer | Maximum top partners to include; capped at 100. |
accounting_health_summary
Open receivable/payable item counts and draft invoice backlog
| Parameter | Type | Description |
|---|---|---|
instance |
search_across_instances
Read-only search fanned out across configured Odoo instances, merged and attributed
| Parameter | Type | Description |
|---|---|---|
model * | string | |
domain | ||
fields | ||
instances | ||
limit_per_instance | integer |
aggregate_across_instances
Read-only aggregate fanned out across instances with combined grand totals
| Parameter | Type | Description |
|---|---|---|
group_by * | array | |
model * | string | |
domain | ||
instances | ||
measures |
accounting_health_across_instances
AR/AP aging fanned out across instances — the partner-network sweep
| Parameter | Type | Description |
|---|---|---|
as_of | Optional ISO date used as the aging reference date. | |
direction | string | Aging direction: 'receivable' or 'payable'. |
instances | Optional instance selector; defaults to all eligible instances. | |
top_partners | integer | Maximum top partners to include in each aging report; capped at 100. |
submit_async_task
Run an allowlisted long-running read operation in the background
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
instance | ||
params |
get_async_task
Poll a background task's status and result
| Parameter | Type | Description |
|---|---|---|
task_id * | string |
cancel_async_task
Cancel a pending or running background task
| Parameter | Type | Description |
|---|---|---|
task_id * | string |
list_async_tasks
List recent background tasks newest-first