MCP ScannerCustom audit
All servers

ivnvxd/mcp-server-odoo

Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.

Packagemcp-server-odoo
Version0.9.0 in pyproject.toml
Publisherivnvxd community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 416Forks 190Last push 2026-11-15
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposurepartly tracedPrompts10.0Supply chain2.5Secrets10.0Transparency10.0
Analysis confidence91%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposurepartly traced—

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain2.5/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.

  • In 52 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there

Top risks in plain words

  • CRITICAL7 production dependencies have known vulnerabilities (worst: critical).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Update its vulnerable packages

    Use anyio 4.14.2 or later, certifi 2026.10.18 or later, cryptography 50.0.0 or later, opentelemetry-api 1.45.2 or later and 3 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 17 tools, 6 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

None of the tools reaches any of these in the code the scanner could trace.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (23: 17 tools, 6 resources)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

count_recordsresource Count all records in an Odoo model
Count all records in an Odoo model
get_attachmentresource Fetch an ir.attachment by ID
Fetch an ir.attachment by ID
get_binary_fieldresource Fetch a binary/image field from an Odoo record (e.g. an image or stored document) instead of inlining base64
Fetch a binary/image field from an Odoo record (e.g. an image or stored document) instead of inlining base64
get_fieldsresource Get field definitions and metadata for an Odoo model
Get field definitions and metadata for an Odoo model
get_recordresource Retrieve a specific record from an Odoo model by ID
Retrieve a specific record from an Odoo model by ID
search_recordsresource Search records with default settings (the first ODOO_MCP_DEFAULT_LIMIT records, 25 by default)
Search records with default settings (the first ODOO_MCP_DEFAULT_LIMIT records, 25 by default)
aggregate_recordstool Aggregate records server-side via Odoo's grouping methods.
Aggregate records server-side via Odoo's grouping methods.

            Use this tool whenever the question is "totals/counts/groupings",
            not "list of records". It pushes the aggregation down to Odoo
            instead of pulling raw records and reducing client-side.

            Dispatches by Odoo version: ``formatted_read_group`` on 19+
            (the new dedicated method), falls back to ``read_group`` on
            older versions with response-shape normalization. Callers see
            the same response shape on every supported version.

            Args:
                model: Odoo model name (e.g. 'sale.order')
                groupby: Group expressions. Field names, optionally
                    with a granularity suffix for date/datetime fields:
                    ``["date_order:month"]``, ``["partner_id"]``,
                    ``["partner_id", "date_order:year"]``. Omit (or pass
                    ``[]``) for a single overall-aggregate row — e.g. a
                    filtered count via the default ``__count`` aggregate.
                aggregates: Aggregate expressions of the form ``"field:operator"``
                    (sum, avg, min, max, count, count_distinct, array_agg, ...).
                    Examples: ``["amount_total:sum"]``, ``["__count"]``.
                    ``["id:count"]`` works on Odoo 17+ only — use
                    ``__count`` for a row count on every version.
                    Before Odoo 19, only one aggregate per field (not both
                    ``amount_total:sum`` and ``amount_total:avg``).
                    If omitted or empty, defaults to ``["__count"]`` so each
                    group carries a count. Pass ``["__count", "amount_total:sum"]``
                    to get both.
                domain: Odoo domain filter, a list, or None for every record.
                    The 'any' and 'not any' sub-domain operators need Odoo 17+.
                order: Sort expression over groupby keys / aggregates,
                    e.g. ``"date_order:month"`` or ``"amount_total:sum desc"``.
                    Odoo 16 cannot order by ``__count``.
                limit: Maximum number of groups. Omitted or 0, it is
                    ``ODOO_MCP_DEFAULT_LIMIT``; capped at ``ODOO_MCP_MAX_LIMIT``.
                offset: Number of groups to skip (capped at 1000 pages of
                    ``limit``, min 10000).

            Drilldown: AND a group's ``__extra_domain`` with the ``domain``
                you passed — ``search_records(model, domain=[*your_domain,
                *group["__extra_domain"]])``. On Odoo 19 it is only the
                group's own condition; on older servers it is already the
                full domain (your filter included). Re-ANDing is idempotent,
                so the same call is correct on every version.

            Returns:
                ``AggregateResult`` with ``groups`` (list of dicts; each contains
                the groupby keys, ``__count``, and any requested aggregates),
                the echoed ``model``, ``groupby``, and ``aggregates``, plus
                ``has_more`` (more groups exist beyond this page) and
                ``next_hint`` (suggested follow-up call when ``has_more``).

            Examples:
                # Sales by month
                aggregate_records(
                    "sale.order",
                    groupby=["date_order:month"],
                    aggregates=["amount_total:sum"],
                    domain=[["state", "in", ["sale", "done"]]],
                )

                # Partner count by country
                aggregate_records("res.partner", groupby=["country_id"])

                # Filtered total (no grouping): one row with __count
                aggregate_records("res.partner", domain=[["is_company", "=", True]])
call_model_methodtool Call a public Odoo model method via XML-RPC execute_kw.
Call a public Odoo model method via XML-RPC execute_kw.

                Workflow escape hatch for actions not covered by CRUD: posting an
                invoice (``account.move.action_post``), confirming a sale order
                (``sale.order.action_confirm``), validating a picking, etc.

                Available ONLY when the server runs with full YOLO and
                ``ODOO_MCP_ENABLE_METHOD_CALLS=true``. Odoo still enforces record
                rules and model ACLs for the authenticated user.

                Guardrails: methods on ``ir.actions.*``/``ir.cron`` (their methods
                self-elevate past the user's ACLs), the ``web_*`` data-access
                family, and ORM CRUD/data-access primitives (``create``, ``read``,
                ``search_read``, ...) are refused — use the dedicated CRUD/search
                tools. List results are truncated to 100 items.

                Args:
                    model: Technical model name (e.g. ``account.move``).
                    method: Public Python identifier. Dotted, dashed, whitespace,
                        and ``_``-prefixed names are rejected.
                    arguments: Positional argument list for ``execute_kw``.
                        For recordset methods, the first
                        element is typically the list of ids: ``[[42]]`` runs on
                        id 42. Defaults to ``[]``. Over JSON-2 it can hold only
                        that id list; pass every other argument in
                        keyword_arguments, by parameter name.
                    keyword_arguments: Optional dict of
                        keyword arguments for ``execute_kw`` (e.g. ``{"context": {...}}``).

                Returns:
                    ``CallModelMethodResult`` with the raw method return value in
                    ``result`` (bool/dict/list/None depending on the method).

                Prefer ``create_record`` / ``update_record`` / ``delete_record``
                when sufficient.
create_recordtool Create a new record in an Odoo model.
Create a new record in an Odoo model.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                values: Field values for the new record

            Returns:
                Created record details with ID, URL, and confirmation.
create_recordstool Create several records of the same model in one call.
Create several records of the same model in one call.

            Use this instead of calling create_record in a loop: one RPC
            round-trip and one transaction, so either every record is created
            or none is. At most 100 records per call; split larger batches.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                records: Field values of each new record (max 100)

            Returns:
                id, display_name and url of each created record, in input order.
delete_recordtool Delete a record.
Delete a record.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                record_id: The record ID to delete

            Returns:
                Deletion confirmation with the deleted record's name and ID.
get_current_contexttool Return the current session context: the connected user, their
Return the current session context: the connected user, their
            timezone, the active company plus any other allowed companies, and
            UTC datetime-handling guidance. Call it when unsure which user or
            company a request runs as, or how to interpret datetimes.
            Spec-compliant clients also receive this via the initialize
            response.

            Returns:
                Structured user/company/timezone context plus the formatted
                text block.
get_fieldstool Describe a model's fields: type, label, required/readonly,
Describe a model's fields: type, label, required/readonly,
            relation target, and selection options. Use it to discover a
            model's schema before reading or writing records.

            Args:
                model: Technical model name (e.g. 'res.partner').
                field_names: Restrict the result to these field names, or
                    ["__all__"] for every field on the model. Omit for the
                    60 most relevant value fields (many2one included) plus
                    every one2many, many2many, file and HTML field, with
                    selection lists cut at 20 values;
                    an empty list [] is treated like omitting it.
                attributes: Which field attributes to return. Omit for the
                    curated default set (type, string, required, readonly,
                    relation, selection); an empty list [] is treated like
                    omitting it. An explicit list REPLACES the curated
                    default set — include the defaults in your list if you
                    still need them (e.g. ["type", "string", "help", "store"]).

            Returns:
                Field definitions sorted by name, with the total count.
get_recordtool Get a specific record by ID with smart field selection.
Get a specific record by ID with smart field selection.

            This tool supports selective field retrieval to optimize performance and response size.
            By default, returns a smart selection of commonly-used fields based on the model's field metadata.
            Binary fields (images, files) come back as odoo:// URIs; read one with read_attachment.
            To read several records, use search_records with [["id", "in", ids]] in one call.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                record_id: The record ID
                fields: Field selection options:
                    - None (default): Returns smart selection of common fields
                    - ["field1", "field2", ...]: Returns only specified fields
                    - An empty list []: Treated like None (smart defaults)
                    - ["__all__"]: Returns ALL fields (warning: can be very large)

            Workflow for field discovery:
            1. To see the fields of a model, call get_fields:
               get_fields("res.partner")
            2. Then request specific fields:
               get_record("res.partner", 1, fields=["name", "email", "phone"])

            Examples:
                # Get smart defaults (recommended)
                get_record("res.partner", 1)

                # Get specific fields only
                get_record("res.partner", 1, fields=["name", "email", "phone"])

                # Get ALL fields (use with caution)
                get_record("res.partner", 1, fields=["__all__"])

            Returns:
                Record data with requested fields. When using smart defaults,
                includes metadata with field statistics.
list_modelstool List all models enabled for MCP access with their allowed operations.
List all models enabled for MCP access with their allowed operations.

            In YOLO mode every model is listed; Odoo 19 and later leave out the
            abstract ones, earlier versions list mixins too. The allowed
            operations, the same for every model, are in yolo_mode.operations.

            Returns:
                List of models with their technical names, display names,
                and allowed operations (read, write, create, unlink).
list_record_attachmentstool List the files attached to a record, newest first.
List the files attached to a record, newest first.

            Each entry carries an odoo://attachment/{id} URI that serves the
            file. Files behind binary fields (e.g. image_1920) are not listed;
            get_record returns those as URIs.

            Args:
                model: The model of the record (e.g., 'res.partner')
                record_id: The record whose attachments to list

            Returns:
                id, name, mimetype, size, type, create_date and uri of each file.
list_resource_templatestool List available resource URI templates.
List available resource URI templates.

            Since MCP resources with parameters are registered as templates,
            they don't appear in the standard resource list. This tool provides
            information about available resource patterns you can use.

            Returns:
                Resource template definitions with examples and enabled models.
post_messagetool Post a message to an Odoo record's chatter (mail.thread).
Post a message to an Odoo record's chatter (mail.thread).

            ``subtype="note"`` (default) is an internal log; ``subtype="comment"``
            notifies followers. Set ``body_is_html=True`` for HTML markup;
            otherwise the body is plain text and its markup is escaped.

            Args:
                model: Odoo model name (e.g., 'res.partner')
                record_id: Record ID to post to
                body: Message body (plain text by default; HTML if body_is_html=True)
                subtype: 'note' (internal, default) or 'comment' (notifies followers)
                message_type: 'comment' (default) or 'notification'
                partner_ids: Optional list of res.partner IDs to additionally notify
                attachment_ids: Optional list of existing ir.attachment IDs to link
                body_is_html: Treat body as HTML rather than plain text
                subject: Optional message subject line

            Returns:
                Confirmation with the new mail.message ID.
read_attachmenttool Read a file: an attachment, or a binary field such as an image.
Read a file: an attachment, or a binary field such as an image.

            Pass exactly one of uri or attachment_id. The uri is an odoo://
            URI from a tool result: odoo://attachment/{id} or
            odoo://{model}/record/{id}/{field}. What comes back depends on
            the file:

            - text files up to 1 MB: their text, cut at 100,000 characters
            - PDF and Office files: the text Odoo extracted from them (only
              with Odoo's attachment_indexation module), else a download link
            - PNG, JPEG, GIF and WebP images up to 256 KB: the image itself
            - anything else: a download link for a person logged in to Odoo

            Args:
                uri: odoo:// URI of the file
                attachment_id: ID of an ir.attachment

            Returns:
                The file's text or image, or a download link.
search_recordstool Search for records in an Odoo model. This is the main read tool.
Search for records in an Odoo model. This is the main read tool.

            To read many known records, pass [["id", "in", ids]] as the domain in
            one call, not one get_record call per ID. Prefer one call with a
            larger limit over many small pages. For counts and per-group totals,
            use aggregate_records.

            Binary fields (images, files) come back as odoo:// URIs; read one with
            read_attachment.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                domain: Odoo domain filter - can be:
                    - A list: [['is_company', '=', True]]
                    - None: returns all records (default)
                    The 'any' and 'not any' sub-domain operators need Odoo 17+.
                fields: Field selection options - can be:
                    - None (default): Returns smart selection of common fields
                    - A list: ["field1", "field2", ...] - Returns only specified fields
                    - An empty list []: Treated like None (smart defaults)
                    - ["__all__"]: Returns ALL fields (warning: may be slow)
                limit: Maximum number of records to return. Omit it or pass 0
                    for the server-configured default (ODOO_MCP_DEFAULT_LIMIT). Capped
                    at ODOO_MCP_MAX_LIMIT.
                offset: Number of records to skip (capped at 1000 pages of
                    `limit`, min 10000 — narrow the domain or use `order`
                    instead of paging that deep)
                order: Sort order (e.g., 'name asc')

            Returns:
                Search results with records, total count, and pagination info
update_recordtool Update an existing record.
Update an existing record.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                record_id: The record ID to update
                values: Field values to update

            Returns:
                Updated record details with confirmation.
update_recordstool Update several existing records of the same model in one call.
Update several existing records of the same model in one call.

            Use this instead of calling update_record in a loop — one RPC
            round-trip instead of N. Use exactly one of the two forms:

            - record_ids + values: apply the same values to every record.
            - updates: [{"id": 7, "values": {...}}, ...] — different values per
              record, written in one transaction (Odoo 19 and later; in
              standard mode only if the Odoo MCP module allows it).

            Capped at 100 distinct records per call; for larger batches, split
            into multiple update_records calls. Archived records can be updated
            (e.g. values={"active": true}).

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                record_ids: The record IDs to update (max 100), with values
                values: Field values to apply to every record in record_ids
                updates: Per-record values, each {"id": <int>, "values": {...}}

            Returns:
                Updated record details (id, display_name) for every record,
                with confirmation.
upload_attachmenttool Attach a file to a record (an ir.attachment on it).
Attach a file to a record (an ir.attachment on it).

            The file must be plain base64 (no "data:..." prefix), at most about
            2.9 MB after decoding. Odoo detects the mimetype from the content
            when it is not given. To show the file in the record's chatter,
            pass the returned attachment_id to post_message(attachment_ids=...).

            Args:
                model: The model of the record (e.g., 'res.partner')
                record_id: The record to attach the file to
                name: File name, e.g. 'contract.pdf'
                data: File content, base64-encoded
                mimetype: Optional mimetype, e.g. 'application/pdf'

            Returns:
                The new attachment's id and its odoo://attachment/{id} URI.

Text the model reads (23)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

search_records tool
Search for records in an Odoo model. This is the main read tool.

            To read many known records, pass [["id", "in", ids]] as the domain in
            one call, not one get_record call per ID. Prefer one call with a
            larger limit over many small pages. For counts and per-group totals,
            use aggregate_records.

            Binary fields (images, files) come back as odoo:// URIs; read one with
            read_attachment.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                domain: Odoo domain filter - can be:
                    - A list: [['is_company', '=', True]]
                    - None: returns all records (default)
                    The 'any' and 'not any' sub-domain operators need Odoo 17+.
                fields: Field selection options - can be:
                    - None (default): Returns smart selection of common fields
                    - A list: ["field1", "field2", ...] - Returns only specified fields
                    - An empty list []: Treated like None (smart defaults)
                    - ["__all__"]: Returns ALL fields (warning: may be slow)
                limit: Maximum number of records to return. Omit it or pass 0
                    for the server-configured default (ODOO_MCP_DEFAULT_LIMIT). Capped
                    at ODOO_MCP_MAX_LIMIT.
                offset: Number of records to skip (capped at 1000 pages of
                    `limit`, min 10000 — narrow the domain or use `order`
                    instead of paging that deep)
                order: Sort order (e.g., 'name asc')

            Returns:
                Search results with records, total count, and pagination info
get_record tool
Get a specific record by ID with smart field selection.

            This tool supports selective field retrieval to optimize performance and response size.
            By default, returns a smart selection of commonly-used fields based on the model's field metadata.
            Binary fields (images, files) come back as odoo:// URIs; read one with read_attachment.
            To read several records, use search_records with [["id", "in", ids]] in one call.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                record_id: The record ID
                fields: Field selection options:
                    - None (default): Returns smart selection of common fields
                    - ["field1", "field2", ...]: Returns only specified fields
                    - An empty list []: Treated like None (smart defaults)
                    - ["__all__"]: Returns ALL fields (warning: can be very large)

            Workflow for field discovery:
            1. To see the fields of a model, call get_fields:
               get_fields("res.partner")
            2. Then request specific fields:
               get_record("res.partner", 1, fields=["name", "email", "phone"])

            Examples:
                # Get smart defaults (recommended)
                get_record("res.partner", 1)

                # Get specific fields only
                get_record("res.partner", 1, fields=["name", "email", "phone"])

                # Get ALL fields (use with caution)
                get_record("res.partner", 1, fields=["__all__"])

            Returns:
                Record data with requested fields. When using smart defaults,
                includes metadata with field statistics.
get_fields tool
Describe a model's fields: type, label, required/readonly,
            relation target, and selection options. Use it to discover a
            model's schema before reading or writing records.

            Args:
                model: Technical model name (e.g. 'res.partner').
                field_names: Restrict the result to these field names, or
                    ["__all__"] for every field on the model. Omit for the
                    60 most relevant value fields (many2one included) plus
                    every one2many, many2many, file and HTML field, with
                    selection lists cut at 20 values;
                    an empty list [] is treated like omitting it.
                attributes: Which field attributes to return. Omit for the
                    curated default set (type, string, required, readonly,
                    relation, selection); an empty list [] is treated like
                    omitting it. An explicit list REPLACES the curated
                    default set — include the defaults in your list if you
                    still need them (e.g. ["type", "string", "help", "store"]).

            Returns:
                Field definitions sorted by name, with the total count.
get_current_context tool
Return the current session context: the connected user, their
            timezone, the active company plus any other allowed companies, and
            UTC datetime-handling guidance. Call it when unsure which user or
            company a request runs as, or how to interpret datetimes.
            Spec-compliant clients also receive this via the initialize
            response.

            Returns:
                Structured user/company/timezone context plus the formatted
                text block.
list_models tool
List all models enabled for MCP access with their allowed operations.

            In YOLO mode every model is listed; Odoo 19 and later leave out the
            abstract ones, earlier versions list mixins too. The allowed
            operations, the same for every model, are in yolo_mode.operations.

            Returns:
                List of models with their technical names, display names,
                and allowed operations (read, write, create, unlink).
list_resource_templates tool
List available resource URI templates.

            Since MCP resources with parameters are registered as templates,
            they don't appear in the standard resource list. This tool provides
            information about available resource patterns you can use.

            Returns:
                Resource template definitions with examples and enabled models.
create_record tool
Create a new record in an Odoo model.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                values: Field values for the new record

            Returns:
                Created record details with ID, URL, and confirmation.
create_records tool
Create several records of the same model in one call.

            Use this instead of calling create_record in a loop: one RPC
            round-trip and one transaction, so either every record is created
            or none is. At most 100 records per call; split larger batches.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                records: Field values of each new record (max 100)

            Returns:
                id, display_name and url of each created record, in input order.
update_record tool
Update an existing record.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                record_id: The record ID to update
                values: Field values to update

            Returns:
                Updated record details with confirmation.
update_records tool
Update several existing records of the same model in one call.

            Use this instead of calling update_record in a loop — one RPC
            round-trip instead of N. Use exactly one of the two forms:

            - record_ids + values: apply the same values to every record.
            - updates: [{"id": 7, "values": {...}}, ...] — different values per
              record, written in one transaction (Odoo 19 and later; in
              standard mode only if the Odoo MCP module allows it).

            Capped at 100 distinct records per call; for larger batches, split
            into multiple update_records calls. Archived records can be updated
            (e.g. values={"active": true}).

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                record_ids: The record IDs to update (max 100), with values
                values: Field values to apply to every record in record_ids
                updates: Per-record values, each {"id": <int>, "values": {...}}

            Returns:
                Updated record details (id, display_name) for every record,
                with confirmation.
delete_record tool
Delete a record.

            Args:
                model: The Odoo model name (e.g., 'res.partner')
                record_id: The record ID to delete

            Returns:
                Deletion confirmation with the deleted record's name and ID.
post_message tool
Post a message to an Odoo record's chatter (mail.thread).

            ``subtype="note"`` (default) is an internal log; ``subtype="comment"``
            notifies followers. Set ``body_is_html=True`` for HTML markup;
            otherwise the body is plain text and its markup is escaped.

            Args:
                model: Odoo model name (e.g., 'res.partner')
                record_id: Record ID to post to
                body: Message body (plain text by default; HTML if body_is_html=True)
                subtype: 'note' (internal, default) or 'comment' (notifies followers)
                message_type: 'comment' (default) or 'notification'
                partner_ids: Optional list of res.partner IDs to additionally notify
                attachment_ids: Optional list of existing ir.attachment IDs to link
                body_is_html: Treat body as HTML rather than plain text
                subject: Optional message subject line

            Returns:
                Confirmation with the new mail.message ID.
read_attachment tool
Read a file: an attachment, or a binary field such as an image.

            Pass exactly one of uri or attachment_id. The uri is an odoo://
            URI from a tool result: odoo://attachment/{id} or
            odoo://{model}/record/{id}/{field}. What comes back depends on
            the file:

            - text files up to 1 MB: their text, cut at 100,000 characters
            - PDF and Office files: the text Odoo extracted from them (only
              with Odoo's attachment_indexation module), else a download link
            - PNG, JPEG, GIF and WebP images up to 256 KB: the image itself
            - anything else: a download link for a person logged in to Odoo

            Args:
                uri: odoo:// URI of the file
                attachment_id: ID of an ir.attachment

            Returns:
                The file's text or image, or a download link.
list_record_attachments tool
List the files attached to a record, newest first.

            Each entry carries an odoo://attachment/{id} URI that serves the
            file. Files behind binary fields (e.g. image_1920) are not listed;
            get_record returns those as URIs.

            Args:
                model: The model of the record (e.g., 'res.partner')
                record_id: The record whose attachments to list

            Returns:
                id, name, mimetype, size, type, create_date and uri of each file.
upload_attachment tool
Attach a file to a record (an ir.attachment on it).

            The file must be plain base64 (no "data:..." prefix), at most about
            2.9 MB after decoding. Odoo detects the mimetype from the content
            when it is not given. To show the file in the record's chatter,
            pass the returned attachment_id to post_message(attachment_ids=...).

            Args:
                model: The model of the record (e.g., 'res.partner')
                record_id: The record to attach the file to
                name: File name, e.g. 'contract.pdf'
                data: File content, base64-encoded
                mimetype: Optional mimetype, e.g. 'application/pdf'

            Returns:
                The new attachment's id and its odoo://attachment/{id} URI.
aggregate_records tool
Aggregate records server-side via Odoo's grouping methods.

            Use this tool whenever the question is "totals/counts/groupings",
            not "list of records". It pushes the aggregation down to Odoo
            instead of pulling raw records and reducing client-side.

            Dispatches by Odoo version: ``formatted_read_group`` on 19+
            (the new dedicated method), falls back to ``read_group`` on
            older versions with response-shape normalization. Callers see
            the same response shape on every supported version.

            Args:
                model: Odoo model name (e.g. 'sale.order')
                groupby: Group expressions. Field names, optionally
                    with a granularity suffix for date/datetime fields:
                    ``["date_order:month"]``, ``["partner_id"]``,
                    ``["partner_id", "date_order:year"]``. Omit (or pass
                    ``[]``) for a single overall-aggregate row — e.g. a
                    filtered count via the default ``__count`` aggregate.
                aggregates: Aggregate expressions of the form ``"field:operator"``
                    (sum, avg, min, max, count, count_distinct, array_agg, ...).
                    Examples: ``["amount_total:sum"]``, ``["__count"]``.
                    ``["id:count"]`` works on Odoo 17+ only — use
                    ``__count`` for a row count on every version.
                    Before Odoo 19, only one aggregate per field (not both
                    ``amount_total:sum`` and ``amount_total:avg``).
                    If omitted or empty, defaults to ``["__count"]`` so each
                    group carries a count. Pass ``["__count", "amount_total:sum"]``
                    to get both.
                domain: Odoo domain filter, a list, or None for every record.
                    The 'any' and 'not any' sub-domain operators need Odoo 17+.
                order: Sort expression over groupby keys / aggregates,
                    e.g. ``"date_order:month"`` or ``"amount_total:sum desc"``.
                    Odoo 16 cannot order by ``__count``.
                limit: Maximum number of groups. Omitted or 0, it is
                    ``ODOO_MCP_DEFAULT_LIMIT``; capped at ``ODOO_MCP_MAX_LIMIT``.
                offset: Number of groups to skip (capped at 1000 pages of
                    ``limit``, min 10000).

            Drilldown: AND a group's ``__extra_domain`` with the ``domain``
                you passed — ``search_records(model, domain=[*your_domain,
                *group["__extra_domain"]])``. On Odoo 19 it is only the
                group's own condition; on older servers it is already the
                full domain (your filter included). Re-ANDing is idempotent,
                so the same call is correct on every version.

            Returns:
                ``AggregateResult`` with ``groups`` (list of dicts; each contains
                the groupby keys, ``__count``, and any requested aggregates),
                the echoed ``model``, ``groupby``, and ``aggregates``, plus
                ``has_more`` (more groups exist beyond this page) and
                ``next_hint`` (suggested follow-up call when ``has_more``).

            Examples:
                # Sales by month
                aggregate_records(
                    "sale.order",
                    groupby=["date_order:month"],
                    aggregates=["amount_total:sum"],
                    domain=[["state", "in", ["sale", "done"]]],
                )

                # Partner count by country
                aggregate_records("res.partner", groupby=["country_id"])

                # Filtered total (no grouping): one row with __count
                aggregate_records("res.partner", domain=[["is_company", "=", True]])
call_model_method tool
Call a public Odoo model method via XML-RPC execute_kw.

                Workflow escape hatch for actions not covered by CRUD: posting an
                invoice (``account.move.action_post``), confirming a sale order
                (``sale.order.action_confirm``), validating a picking, etc.

                Available ONLY when the server runs with full YOLO and
                ``ODOO_MCP_ENABLE_METHOD_CALLS=true``. Odoo still enforces record
                rules and model ACLs for the authenticated user.

                Guardrails: methods on ``ir.actions.*``/``ir.cron`` (their methods
                self-elevate past the user's ACLs), the ``web_*`` data-access
                family, and ORM CRUD/data-access primitives (``create``, ``read``,
                ``search_read``, ...) are refused — use the dedicated CRUD/search
                tools. List results are truncated to 100 items.

                Args:
                    model: Technical model name (e.g. ``account.move``).
                    method: Public Python identifier. Dotted, dashed, whitespace,
                        and ``_``-prefixed names are rejected.
                    arguments: Positional argument list for ``execute_kw``.
                        For recordset methods, the first
                        element is typically the list of ids: ``[[42]]`` runs on
                        id 42. Defaults to ``[]``. Over JSON-2 it can hold only
                        that id list; pass every other argument in
                        keyword_arguments, by parameter name.
                    keyword_arguments: Optional dict of
                        keyword arguments for ``execute_kw`` (e.g. ``{"context": {...}}``).

                Returns:
                    ``CallModelMethodResult`` with the raw method return value in
                    ``result`` (bool/dict/list/None depending on the method).

                Prefer ``create_record`` / ``update_record`` / ``delete_record``
                when sufficient.
get_record resource
Retrieve a specific record from an Odoo model by ID
search_records resource
Search records with default settings (the first ODOO_MCP_DEFAULT_LIMIT records, 25 by default)
count_records resource
Count all records in an Odoo model
get_fields resource
Get field definitions and metadata for an Odoo model
get_binary_field resource
Fetch a binary/image field from an Odoo record (e.g. an image or stored document) instead of inlining base64
get_attachment resource
Fetch an ir.attachment by ID

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposurepartly traced
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 23 capabilities; 23 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 23 capabilities; 23 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 23 capabilities; 23 more call code the scanner could not follow, where it may happen
Where the code is: 23 handlers in 2 files at commit 64b52df7ae3b
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain2.5
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies CRITICAL
    7 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    mcp >=2.2,<3
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 23 capabilities; 23 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (7 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
pyjwtPyPI 2.13.0 CRITICAL 29 advisories 2.14.02.15.0
  • CRITICALGHSA-ffc3-869f-jxw9 CVE-2026-102268 PYSEC-2026-4145PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
  • HIGHGHSA-w2cx-738m-mc7w CVE-2026-102273 PYSEC-2026-4151PyJWT accepts public JWK containers as HMAC secrets
  • HIGHGHSA-9v7f-9g4p-ffgj CVE-2026-102267 PYSEC-2026-4144PyJWT: PyJWKClient follows redirects when fetching JWKS
  • HIGHGHSA-p4g4-x82p-q773 CVE-2026-102271 PYSEC-2026-4149PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
  • HIGHGHSA-9j54-fg26-wv3r CVE-2026-102266 PYSEC-2026-4143PyJWT: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
  • HIGHGHSA-pxh4-856f-4h89PyJWT: HS256/384/512 verify accepts empty HMAC key via oct JWK (PyJWK/PyJWKClient) enabling token forgery
  • HIGHGHSA-r6x4-923q-g947 CVE-2026-102272 PYSEC-2026-4150PyJWT BOM Bypass
  • MEDIUMPYSEC-2026-4151 CVE-2026-102273 GHSA-w2cx-738m-mc7wPyJWT accepts public JWK containers as HMAC secrets
  • MEDIUMGHSA-x33g-cr3x-6449 CVE-2026-102275 PYSEC-2026-4183PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
  • MEDIUMGHSA-gvp8-978c-rx2q CVE-2026-103001 PYSEC-2026-4146PyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
  • MEDIUMPYSEC-2026-4150 CVE-2026-102272 GHSA-r6x4-923q-g947PyJWT BOM Bypass
  • MEDIUMGHSA-hxm8-2xgr-2p9m CVE-2026-102269 PYSEC-2026-4147PyJWT: Non-canonical signature segments enable raw-token revocation bypass
  • MEDIUMGHSA-42vr-xj54-vc7v CVE-2026-101918 PYSEC-2026-4141PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
  • MEDIUMGHSA-w6j9-cwv2-h6wq CVE-2026-102274 PYSEC-2026-4152PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
  • MEDIUMPYSEC-2026-4144 CVE-2026-102267 GHSA-9v7f-9g4p-ffgjPyJWT: PyJWKClient follows redirects when fetching JWKS
  • MEDIUMPYSEC-2026-4152 CVE-2026-102274 GHSA-w6j9-cwv2-h6wqPyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
  • MEDIUMPYSEC-2026-4183 CVE-2026-102275 GHSA-x33g-cr3x-6449PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.
  • MEDIUMGHSA-jwrc-g2q2-pq5p CVE-2026-102270 PYSEC-2026-4148PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
  • MEDIUMPYSEC-2026-4147 CVE-2026-102269 GHSA-hxm8-2xgr-2p9mPyJWT: Non-canonical signature segments enable raw-token revocation bypass
  • MEDIUMPYSEC-2026-4143 CVE-2026-102266 GHSA-9j54-fg26-wv3rPyJWT: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
  • MEDIUMPYSEC-2026-4148 CVE-2026-102270 GHSA-jwrc-g2q2-pq5pPyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
  • MEDIUMPYSEC-2026-4146 CVE-2026-103001 GHSA-gvp8-978c-rx2qPyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
  • MEDIUMPYSEC-2026-4149 CVE-2026-102271 GHSA-p4g4-x82p-q773PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
  • MEDIUMGHSA-2gx3-rcp4-g85q CVE-2026-101917 PYSEC-2026-4140PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
  • MEDIUMPYSEC-2026-4142 CVE-2026-102265 GHSA-8wjv-2p76-3863PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header
  • MEDIUMPYSEC-2026-4140 CVE-2026-101917 GHSA-2gx3-rcp4-g85qPyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
  • MEDIUMPYSEC-2026-4141 CVE-2026-101918 GHSA-42vr-xj54-vc7vPyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
  • MEDIUMPYSEC-2026-4145 CVE-2026-102268 GHSA-ffc3-869f-jxw9PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
  • MEDIUMGHSA-8wjv-2p76-3863 CVE-2026-102265 PYSEC-2026-4142PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header
anyioPyPI 4.13.0 CRITICAL 4 advisories 4.14.2
  • CRITICALGHSA-82r6-8w77-94w6 CVE-2026-63374 PYSEC-2026-4025AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
  • MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
  • MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
  • MEDIUMGHSA-5p39-cfhj-2xmp CVE-2026-64847 PYSEC-2026-4024AnyIO process-pool workers can block indefinitely on undrained stderr
certifiPyPI 2026.5.20 CRITICAL 2 advisories 2026.10.18
  • CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
  • MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
cryptographyPyPI 48.0.1 HIGH 6 advisories 49.0.050.0.0
  • HIGHGHSA-jwv3-5hgf-82ww CVE-2026-69249 PYSEC-2026-3553python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • HIGHGHSA-g6cj-pr64-35w5 CVE-2026-69247 PYSEC-2026-3552cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • MEDIUMPYSEC-2026-3552 CVE-2026-69247 GHSA-g6cj-pr64-35w5cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • MEDIUMPYSEC-2026-3554 CVE-2026-69248 GHSA-m2h6-j472-rp4cpython-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • MEDIUMGHSA-m2h6-j472-rp4c CVE-2026-69248 PYSEC-2026-3554python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • MEDIUMPYSEC-2026-3553 CVE-2026-69249 GHSA-jwv3-5hgf-82wwpython-cryptography: Duplicate self-signed intermediates can cause exponential path-building
urllib3PyPI 2.7.0 HIGH 6 advisories 2.8.0
  • HIGHGHSA-8988-9cw3-xx77 CVE-2026-97687 PYSEC-2026-4175urllib3: HTTPS proxy TLS configuration may be ignored or overridden
  • HIGHGHSA-vxq7-64xx-v4gw CVE-2026-97689 PYSEC-2026-4177urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
  • MEDIUMGHSA-gh4c-6fx4-qh6g CVE-2026-97688 PYSEC-2026-4176urllib3: Chunked Deflate streaming can enter an infinite loop
  • MEDIUMPYSEC-2026-4177 CVE-2026-97689 GHSA-vxq7-64xx-v4gwurllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
  • MEDIUMPYSEC-2026-4176 CVE-2026-97688 GHSA-gh4c-6fx4-qh6gurllib3: Chunked Deflate streaming can enter an infinite loop
  • MEDIUMPYSEC-2026-4175 CVE-2026-97687 GHSA-8988-9cw3-xx77urllib3: HTTPS proxy TLS configuration may be ignored or overridden
starlettePyPI 1.3.0 HIGH 2 advisories 1.3.1
  • HIGHGHSA-82w8-qh3p-5jfq CVE-2026-54283 PYSEC-2026-249Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
  • MEDIUMPYSEC-2026-249 CVE-2026-54283 GHSA-82w8-qh3p-5jfqStarlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
opentelemetry-apiPyPI 1.45.0 MEDIUM 2 advisories 1.45.11.45.2
  • MEDIUMGHSA-mf5v-w3w3-f6cg CVE-2026-126360OpenTelemetry Python API: Denial of service through quadratic-time traceparent parsing
  • MEDIUMGHSA-xcq7-p3pf-p88h CVE-2026-114603OpenTelemetry Python: Unbounded tracestate parsing in opentelemetry-api

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, stdio
Sign-innot checked needs the live server
MCP SDKmcp >=2.2,<3
Servers in the code16 (odoo-mcp-server, test-app, batch-test, context-test, test-binary-e2e, test-e2e, test-odoo-mcp, schema-rules, typed-test, test-app-mcp)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-15
Signed releasesnot checked yet

Where it is published

Listed in6 catalogs (awesome_habitoai, awesome_wong2, github_search, glama, mcp_toplist, mcpservers_org)
LicenseMPL-2.0
Created2025-03-22
Topicsai erp llm mcp mcp-server mcp-servers model-context-protocol odoo odoo-mcp

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.