Odoo
v0.2.1Odoo MCP Pack — ERP/CRM via Odoo's external JSON-RPC API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
odoo_search_partners
Search Odoo contacts & companies (res.partner) by name, email, or company flag. Returns id, name, email, phone, and company/customer flags. Use for "find the contact/customer named X" or "list companies".
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Odoo API key (Settings → Account Security → API Keys) or account password. |
db * | string | Odoo database name. |
url * | string | Odoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted. |
username * | string | Odoo login email. |
email | string | Case-insensitive substring match on email (ilike). |
is_company | boolean | Filter to companies (true) or individuals (false). Omit for both. |
limit | number | Max records (default 20). |
name | string | Case-insensitive substring match on partner name (ilike). |
odoo_list_sale_orders
List Odoo sales orders / quotations (sale.order). Returns name, customer (partner_id), amount_total, state (draft/sent/sale/done/cancel), and date_order. Optionally filter by state. Use for "recent sales orders" or "open quotations".
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Odoo API key (Settings → Account Security → API Keys) or account password. |
db * | string | Odoo database name. |
url * | string | Odoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted. |
username * | string | Odoo login email. |
limit | number | Max records (default 20). |
state | string | Filter by order state: draft, sent, sale, done, or cancel. Omit for all. |
odoo_list_crm_leads
List Odoo CRM leads & opportunities (crm.lead). Returns name, contact, email_from, expected_revenue, probability, stage_id, and type (lead/opportunity). Use for "open opportunities" or "sales pipeline".
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Odoo API key (Settings → Account Security → API Keys) or account password. |
db * | string | Odoo database name. |
url * | string | Odoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted. |
username * | string | Odoo login email. |
limit | number | Max records (default 20). |
type | string | Filter by record type: "lead" or "opportunity". Omit for both. |
odoo_list_invoices
List Odoo customer invoices (account.move where move_type=out_invoice). Returns name, partner_id, amount_total, amount_residual, state (draft/posted/cancel), payment_state, and invoice_date. Use for "unpaid invoices" or "recent customer invoices".
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Odoo API key (Settings → Account Security → API Keys) or account password. |
db * | string | Odoo database name. |
url * | string | Odoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted. |
username * | string | Odoo login email. |
limit | number | Max records (default 20). |
state | string | Filter by invoice state: draft, posted, or cancel. Omit for all. |
odoo_query_model
Power-user generic query: run search_read on ANY Odoo model. Provide model (e.g. "product.template"), domain (Odoo list-of-triples, e.g. [["list_price",">",100]]), fields, and limit. Use when no specific tool above fits.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Odoo API key (Settings → Account Security → API Keys) or account password. |
db * | string | Odoo database name. |
model * | string | Odoo model name, e.g. "product.template", "stock.picking", "hr.employee". |
url * | string | Odoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted. |
username * | string | Odoo login email. |
domain | array | Odoo search domain — a list of triples [field, operator, value], e.g. [["active","=",true],["name","ilike","acme"]]. Empty array [] matches all. |
fields | array | Field names to return, e.g. ["name","create_date"]. Omit to let Odoo return its default field set. |
limit | number | Max records (default 20). |
offset | number | Number of records to skip (pagination). |
order | string | Sort spec, e.g. "create_date desc". |