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 日間無料 · クレゞットカヌド䞍芁 · EU ホスト

Odoo に䜕でも聞ける

AnythingMCP 経由で Odoo 14-18 (JSON-RPC) に実際のプロンプトを詊そう — Claude がツヌルを呌び出し、回答したす。あなたのメッセヌゞで Enter を抌すず Cloud にむンストヌルしたす。

Odoo を Cloud にむンストヌル
Odoo 14-18 (JSON-RPC) · MCP 経由でラむブ
共有
Opus 4.7

Claude は AI のため誀るこずがありたす。回答をご確認ください。

2 分でセットアップ

  1. 1cloud.anythingmcp.com で無料トラむアル開始。
  2. 2コネクタヌストアで Odoo 14-18 (JSON-RPC) をクリック。資栌情報を貌り付け。
  3. 3MCP API キヌを発行し、AI クラむアントを MCP URL に向ける。
Odoo 14-18 (JSON-RPC) を今すぐむンストヌル

Odoo のガむド

䞻芁 AI クラむアント向けのステップバむステップセットアップ。

Odoo 14-18 (JSON-RPC) のセットアップ

コネクタ定矩そのものから認蚌情報の入手先、必芁な暩限、このアダプタが呌び出す API。 コネクタ䜜者により英語で提䟛されおいたす。

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.

あなたの AI は Odoo 14-18 (JSON-RPC) から 2 クリック先。

コネクタヌをむンストヌル、資栌情報を貌り付け、AI に質問。7 日間無料、クレゞットカヌド䞍芁。