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 días gratis · sin tarjeta · hosting UE
Pregunta cualquier cosa a Odoo
Prueba un prompt real contra Odoo 14-18 (JSON-RPC) vía AnythingMCP — Claude llama a los tools y responde. Pulsa Enter en tu mensaje para instalar en Cloud.
Instalar Odoo en CloudClaude es IA y puede equivocarse. Verifica siempre las respuestas.
Setup en 2 minutos
- 1Inicia trial gratuita en cloud.anythingmcp.com.
- 2Click en Odoo 14-18 (JSON-RPC) en el connector store. Pega las credenciales.
- 3Genera MCP API key y apunta el cliente AI a la URL MCP.
Guías para Odoo
Setup paso a paso para los principales clientes AI.
Configurar Odoo 14-18 (JSON-RPC)
Directamente de la definición del conector: dónde encontrar las credenciales, qué permisos necesitan y con qué API habla este adaptador. Proporcionadas en inglés por el autor del conector.
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)
ODOO_URL: the address of your Odoo, scheme and host only, e.g.https://erp.example.comorhttps://mycompany.odoo.com. Not the address of a page inside Odoo: nothing after the host, no/web, no?db=or#action=.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.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.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 afterid=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.
Tu IA está a dos clicks de Odoo 14-18 (JSON-RPC).
Instala el conector, pega credenciales, pregunta a la IA. 7 días gratis, sin tarjeta.