Skip to main content
Glama
bemade

odoo-mcp

by bemade

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ODOO_DBNoDatabase name (only needed for multi-database setups)
ODOO_URLYesURL of the Odoo instance (e.g., https://your-odoo-instance.com or http://localhost:8069)
ODOO_API_KEYNoAPI key for bearer authentication (recommended for production)
ODOO_PASSWORDNoPassword for session authentication
ODOO_USERNAMENoUsername for session authentication (convenient for local dev)
ODOO_INSTANCE_LABELNoLabel shown in the MCP server name (default: "odoo")

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_recordsA

Search for records in any Odoo model.

Args:
    model: The Odoo model name (e.g. "res.partner", "sale.order").
    domain: Odoo domain filter (e.g. [["is_company", "=", true]]).
        Defaults to [] (all records).
    fields: List of field names to return. Defaults to all fields.
    limit: Maximum number of records to return. Defaults to 80.
    offset: Number of records to skip (for pagination).
    order: Sort order (e.g. "name asc, id desc").
read_recordA

Read specific Odoo records by their IDs.

Args:
    model: The Odoo model name (e.g. "res.partner").
    ids: List of record IDs to read.
    fields: List of field names to return. Defaults to all fields.
list_modelsA

List installed Odoo models.

Args:
    domain: Optional domain filter on ir.model
        (e.g. [["model", "like", "sale"]]).
    limit: Maximum number of models to return. Defaults to 80.
    offset: Number of records to skip (for pagination).
get_model_fieldsA

Get field definitions for an Odoo model.

Returns a dict mapping field names to their metadata (type, string,
required, relation, etc.).

Args:
    model: The Odoo model name (e.g. "res.partner").
    attributes: List of field attributes to return
        (e.g. ["string", "type", "required"]). Defaults to all.
create_recordA

Create a new record in an Odoo model.

Args:
    model: The Odoo model name (e.g. "res.partner").
    values: Dict of field names to values (e.g. {"name": "Acme"}).

Returns:
    The ID of the newly created record.
update_recordsA

Update existing records in an Odoo model.

Args:
    model: The Odoo model name (e.g. "res.partner").
    ids: List of record IDs to update.
    values: Dict of field names to new values.

Returns:
    True if the update succeeded.
delete_recordsA

Delete records from an Odoo model.

Args:
    model: The Odoo model name (e.g. "res.partner").
    ids: List of record IDs to delete.

Returns:
    True if the deletion succeeded.
get_model_docA

Get API documentation for an Odoo model.

Without a method name, returns a compact summary: each method's name and
call signature.  With a method name, returns that method's full
documentation (parameters, types, defaults, docstring, return type).

Use this before call_method to discover exact parameter names and types.
Requires the API key user to be in the api_doc.group_allow_doc group.

Args:
    model: The Odoo model name (e.g. "res.partner").
    method: Optional method name. If provided, returns full docs for that
        method only. If omitted, returns a summary of all methods.
call_methodA

Call any public method on an Odoo model.

Use get_model_doc first to discover the correct parameter names and types.

Args:
    model: The Odoo model name (e.g. "sale.order").
    method: The method name (e.g. "action_confirm").
    ids: Optional list of record IDs to operate on.
    params: Optional dict of keyword arguments passed to the method.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/bemade/odoo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server