Odoo

v0.2.1
io.github.pipeworx-io/odoo Checked 2 days ago Published 1 month ago

Odoo 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".

ParameterTypeDescription
_apiKey *stringOdoo API key (Settings → Account Security → API Keys) or account password.
db *stringOdoo database name.
url *stringOdoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted.
username *stringOdoo login email.
emailstringCase-insensitive substring match on email (ilike).
is_companybooleanFilter to companies (true) or individuals (false). Omit for both.
limitnumberMax records (default 20).
namestringCase-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".

ParameterTypeDescription
_apiKey *stringOdoo API key (Settings → Account Security → API Keys) or account password.
db *stringOdoo database name.
url *stringOdoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted.
username *stringOdoo login email.
limitnumberMax records (default 20).
statestringFilter 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".

ParameterTypeDescription
_apiKey *stringOdoo API key (Settings → Account Security → API Keys) or account password.
db *stringOdoo database name.
url *stringOdoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted.
username *stringOdoo login email.
limitnumberMax records (default 20).
typestringFilter 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".

ParameterTypeDescription
_apiKey *stringOdoo API key (Settings → Account Security → API Keys) or account password.
db *stringOdoo database name.
url *stringOdoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted.
username *stringOdoo login email.
limitnumberMax records (default 20).
statestringFilter 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.

ParameterTypeDescription
_apiKey *stringOdoo API key (Settings → Account Security → API Keys) or account password.
db *stringOdoo database name.
model *stringOdoo model name, e.g. "product.template", "stock.picking", "hr.employee".
url *stringOdoo instance base URL, e.g. https://mycompany.odoo.com (trailing slash optional). Works for Odoo Online and self-hosted.
username *stringOdoo login email.
domainarrayOdoo search domain — a list of triples [field, operator, value], e.g. [["active","=",true],["name","ilike","acme"]]. Empty array [] matches all.
fieldsarrayField names to return, e.g. ["name","create_date"]. Omit to let Odoo return its default field set.
limitnumberMax records (default 20).
offsetnumberNumber of records to skip (pagination).
orderstringSort spec, e.g. "create_date desc".