O1

Odoo 14-18 (JSON-RPC)

Odoo ERP 14 to 18 over the classic JSON-RPC endpoint: search, read, create and update any model, plus partners, sales orders, invoices and products. For Odoo Online, Odoo.sh and self-hosted Odoo older than 19 (works on 19 too). API key + user id.

7-day free trial · No credit card · EU-hosted

Ask Odoo anything

Try a real prompt against Odoo 14-18 (JSON-RPC) via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.

Install Odoo on Cloud
Odoo 14-18 (JSON-RPC) · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Setup in 2 minutes

  1. 1Start a free trial on cloud.anythingmcp.com.
  2. 2Click Odoo 14-18 (JSON-RPC) in the connector store. Paste credentials when prompted.
  3. 3Mint an MCP API key and point your AI client at the generated MCP URL.
Install Odoo 14-18 (JSON-RPC) now

Guides for Odoo

Step-by-step setup for the most popular AI clients.

Setting up Odoo 14-18 (JSON-RPC)

From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.

Which Odoo connector? This one is for Odoo 14 to 18 (and works on 19 too). It talks to Odoo's classic JSON-RPC endpoint /jsonrpc. For Odoo 19 and newer, the "Odoo" connector (JSON-2 API) is the simpler choice: it needs no user id. Your version is shown at the bottom of Settings.

What you need (four values)

  1. ODOO_URL: the address of your Odoo, scheme and host only, e.g. https://erp.example.com or https://mycompany.odoo.com. Not the address of a page inside Odoo: nothing after the host, no /web, no ?db= or #action=.
  2. ODOO_DB: the database name. On Odoo Online it is usually the subdomain. On your own server it is the name shown on the database selector, or the value after ?db= in the address bar.
  3. ODOO_API_KEY: in Odoo open your user menu → Preferences (Odoo 14/15: My Profile) → Account Security → New API Key. On Odoo 18 and later the dialog also asks for a Duration: choose Persistent Key (offered to administrators) or the longest duration offered (up to 3 Months for other users). It preselects 1 Day, and such a key stops working the next day with Access Denied. Odoo shows the key once. If the Account Security tab or the API key button is missing, turn on developer mode (Settings → Activate the developer mode). The key replaces your password for API calls; your login password itself also works but is not recommended.
  4. ODOO_UID: the numeric id of the Odoo user the key belongs to. Open Settings → Users & Companies → Users, open that user, and read the number after id= in the address bar (e.g. ...#id=7&model=res.users → 7).

The key, the user id and the database must belong together: a key of user 7 with ODOO_UID=2 is refused.

Errors: Odoo answers JSON-RPC errors inside an HTTP 200 with an error object. AnythingMCP raises them as errors carrying Odoo's own message: Access Denied (wrong or expired key, user id or database), Invalid field 'x' on model 'y' (field names differ between versions), Record does not exist.

Domains are Odoo's query language. A domain is a list of triples: [["state","=","sale"],["amount_total",">",1000]], implicitly AND-ed. | and ! prefix operators express OR and NOT.

Always pass fields to odoo_search_read and odoo_read: Odoo models have hundreds of columns. Start with odoo_fields_get to see what exists; field names differ between Odoo versions (e.g. mobile on res.partner is gone in 19).

Permissions follow the user. The key inherits its owner's access rights and record rules. A restricted user sees fewer rows, not an error.

Self-hosted: on AnythingMCP Cloud the instance must be reachable from the public internet with a valid TLS certificate. On an internal host, self-host AnythingMCP on the same network and add the host to SSRF_ALLOWED_HOSTS.

Writes: odoo_create, odoo_write and odoo_call_method change the live database, and Odoo's automations fire as if a person had done it.

Your AI is two clicks away from Odoo 14-18 (JSON-RPC).

Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.