Guide · MCP · Claude Code · Odoo

How do you connect Claude Code and Claude to Odoo through MCP?

Connecting Claude to Odoo through MCP no longer has a single answer. Since saas~19.4 and version 20, Odoo ships its own MCP server; Community and versions 10 to 19 still need an external server. The right route depends on two facts: your Odoo version and where you will use Claude. Here we answer the three questions people ask most about it, with steps, requirements and sources.

Short answer. If your Odoo is Online on saas~19.4 or version 20 with the Custom plan, or Enterprise 20, connect Claude to the MCP server Odoo already ships at https://your-db.odoo.com/mcp: in Claude Code with claude mcp add --transport http odoo https://your-db.odoo.com/mcp and an OAuth sign-in; in Claude chat or Cowork, as a custom connector. If your Odoo is Community or any version from 10 to 19, use an open-source external MCP server such as Transgenia's MCP-Odoo-Tools (MIT license, version 1.6.4, 28 tools), which runs in Claude Code with the API key of a dedicated user. On both routes: a least-privilege user, read-only first and tests on a copy. Verified on November 23, 2026.

Which route fits your Odoo and where you use Claude?

Your Odoo version decides the server; where you use Claude decides how it connects. Odoo documents its MCP server from saas~19.4 (Odoo Online) and version 20 onward, inside its AI app. Claude chat and Cowork connect to remote servers over https; Claude Code accepts both remote and local servers.

Your OdooWhere you use ClaudeRouteWhat you need
Online saas~19.4 or 20, Custom planClaude CodeOdoo MCP server over HTTPAI app installed and the client approved in Settings
Online saas~19.4 or 20, Custom planClaude chat or CoworkCustom connector to https://your-db.odoo.com/mcpA Claude account with custom connectors
Enterprise 20 on your own server or Odoo.shClaude Code, chat or CoworkOdoo MCP serverFor chat and Cowork, a public https URL on port 443
Community, Enterprise or Online from 10 to 19Claude CodeMCP-Odoo-Tools or another external serverAn API key from 14 on (a password from 10 to 13); on Online, a plan with the external API
Community 20Claude CodeAn external server that declares version 20Check its compatibility: MCP-Odoo-Tools declares 10 to 19

Two facts before you choose. Odoo has deprecated XML-RPC and JSON-RPC: their data services are removed in Odoo 22 (fall 2028) and Online 21.1 (winter 2027), and the JSON-2 API replaces them; an external server that does not speak JSON-2 has an expiry date. Also, MCP-Odoo-Tools runs only in Claude Code: in chat and Cowork its Odoo tools do not start, because those apps do not prompt for its connection options.

How do you connect Claude Code to Odoo through MCP?

With two commands: claude mcp add registers the server and claude mcp list confirms the connection. The exact command depends on the route. Claude Code runs in the terminal, in VS Code, in JetBrains and in the Code tab of Claude Desktop.

Route A: the Odoo MCP server (saas~19.4 and 20)

  1. In Odoo, go to Settings, Integrations, MCP OAuth and approve the client: add its metadata URL (CIMD) or tick Allow Dynamic Client Registration (DCR). Odoo warns that DCR lets any application register.
  2. In the terminal, register the server: claude mcp add --transport http odoo https://your-db.odoo.com/mcp.
  3. Open Claude Code, type /mcp, choose odoo and sign in to Odoo. On the access page, choose how long the permission lasts and confirm.
  4. Check the connection with claude mcp list: the server should show as connected.
  5. By default, Odoo exposes five tools: get fields, get models, initial context, search and read group. To expose another one, turn on developer mode, go to Settings, Technical, Server Actions and tick Available in MCP on the Usage tab.

If you prefer an API key, create it in My Preferences, Security, Create API Key with the MCP scope and an expiry date. Odoo documents that variant with the mcp-remote bridge, which needs Node.js: claude mcp add --transport stdio odoo -- npx -y mcp-remote https://your-db.odoo.com/mcp --header "Authorization: Bearer YOUR_KEY". Odoo recommends OAuth because it avoids copying and pasting keys.

Route B: MCP-Odoo-Tools (Odoo 10 to 19)

  1. Gather the requirements: Claude Code on your computer, Python 3.9 or later available as python3, and a dedicated Odoo user. From Odoo 14 on, create its API key in Preferences, Account Security, New API Key; from 10 to 13 you use the password. On Windows the command must be named python3: the Microsoft Store Python provides it and the python.org installer does not.
  2. Install the plugin inside Claude Code: /plugin install odoo-tools --marketplace Transgenia/MCP-Odoo-Tools-CE-EE-and-online (Claude Code 2.1.275 or later; on earlier versions, first /plugin marketplace add Transgenia/MCP-Odoo-Tools-CE-EE-and-online and then /plugin install odoo-tools).
  3. Run /odoo-tools:odoo-setup-mcp. It asks for the URL, database, login and credential; the API key and the password are stored in the operating system's secure credential store, and the connection is verified with odoo_version.
  4. Choose the permission profile: readonly lists 19 tools, standard (the default) lists 25, and builder or full list all 28.
  5. Ask a first read-only question, for example how many customer invoices are still in draft.

For other MCP clients there is the odoo-mcp-tools package on PyPI: pip install odoo-mcp-tools installs the odoo-mcp command, which reads the connection from the ODOO_URL, ODOO_DB, ODOO_LOGIN and ODOO_API_KEY variables.

What do you need to connect Odoo Online to Claude through MCP?

Five things: the Custom plan, a database on saas~19.4 or 20 (or an external server if it is older), a dedicated user, an access method and a Claude client that accepts the server. Odoo states that the external API is not available on the One App Free or Standard plans, and that installing the AI app on Standard moves the database to the Custom plan.

  1. Custom plan. According to the Odoo pricing page, it includes the external API and agentic AI.
  2. A version with an MCP server. Odoo documents its MCP server on saas~19.4 and 20; the 19.0 documentation has no such page. If your database is older, use an external server such as MCP-Odoo-Tools, which talks to the Odoo external API from your computer.
  3. A dedicated user, not an administrator. Every request is authenticated with that user's identity and permissions: Claude can do what that user can do.
  4. An access method. OAuth, which Odoo recommends and which only internal users can use, or an API key with the MCP scope and an expiry date; portal users must use an API key.
  5. A Claude client. In Claude Code, the commands in the previous section. In chat or Cowork, a custom connector under Customize, Connectors, Add custom connector, with the URL https://your-db.odoo.com/mcp. On Team and Enterprise plans an Owner adds it first under Organization settings, Connectors and then each member connects it. Custom connectors are available on the Free (one), Pro, Max, Ultra, Team and Enterprise plans.

A requirement you do not see: Claude reaches remote connectors from Anthropic's cloud, not from your device. The URL must be public and answer on port 443; Odoo Online meets both conditions. A self-hosted Odoo behind a VPN or a firewall will not connect from chat even if you can reach it yourself.

Which open-source MCP server connects Odoo Community or Enterprise to AI agents?

There are several, and none fits every case. Transgenia's MCP-Odoo-Tools (MIT) is the only one in this comparison that reaches back to Odoo 10, and it ships a layer that translates the models and fields Odoo renamed between versions. For Community 20, pick one that declares that version. The native Odoo server is not a separate project: it lives in the AI app, which is not part of the Odoo Community 20.0 code.

ServerLicenseOdoo it declaresHow it runsDistinctive trait
MCP-Odoo-Tools (Transgenia)MIT10 to 19: Community, Enterprise and OnlineLocally in Claude Code; odoo-mcp-tools package on PyPI28 tools, permission profiles and a local audit log; JSON-2 with JSON-RPC and XML-RPC fallback
mcp-odoo (ERPipe)MIT16 and later: XML-RPC by default, JSON-2 optional on 19Local, Docker or CIGated writes and multiple instances
mcp-server-odoo (ivnvxd)MPL-2.016 and later with the MCP module installed in Odoo; any version in its testing modeLocal, over stdio or HTTPPer-model permissions from the Odoo module
odoo-mcp-pro (Pantalytics)Elastic License 2.0 and MPL-2.014 to 20Self-hosted or as a hosted serviceJSON-2 from 19 and XML-RPC on earlier versions
Odoo MCP serverPart of the Odoo AI appsaas~19.4 and 20Remote, at /mcp on your databaseIts tools are server actions you expose

Four questions to choose: which versions it declares; whether it speaks JSON-2; whether it runs locally (Claude Code only) or remotely (chat and Cowork too); and which controls it has for writes: read-only mode, profiles, gates or an audit log.

What should you secure before Claude writes to Odoo?

That the AI reads first and writes later, and that a person signs what matters. These are the five rules we apply on every connection:

Where Transgenia stands

If your Odoo already ships an MCP server, use it: it is the route with the fewest parts to maintain. We published MCP-Odoo-Tools under the MIT license for what that server does not cover: Community and versions 10 to 19, where no company should migrate just to connect an AI, and teams that want permission profiles and an audit log on their own machine. The connection is the easy part. The hard part is deciding what the AI may write and who signs; that is why we start every project in read-only mode.

Sources

  1. AI MCP server, Odoo 20.0 (Odoo, read on November 23, 2026): the /mcp endpoint, OAuth, API keys with the MCP scope, Claude Code commands, default tools and revocation.
  2. AI MCP server, Odoo saas-19.4 (Odoo, read on November 23, 2026): the MCP server on Odoo Online saas~19.4.
  3. AI, Odoo 20.0 (Odoo, read on November 23, 2026): installing the AI app on the Standard plan moves the database to Custom.
  4. External RPC API, Odoo 20.0 (Odoo, read on November 23, 2026): removal of XML-RPC and JSON-RPC in Odoo 22 and Online 21.1.
  5. External JSON-2 API, Odoo 19.0 (Odoo, read on November 23, 2026): the external API is not on One App Free or Standard.
  6. Odoo plans and pricing (Odoo, read on November 23, 2026): the Custom plan includes the external API and agentic AI.
  7. Odoo Community code, branch 20.0 (GitHub, checked on November 23, 2026): it does not include the AI app.
  8. Connect Claude Code to tools via MCP (Anthropic, read on November 23, 2026): claude mcp add, transports, scopes and claude mcp list.
  9. Get started with custom connectors using remote MCP (Anthropic, read on November 23, 2026): plans, port 443 and connections from Anthropic's cloud.
  10. Plugin platform support (Anthropic, read on November 23, 2026): which parts of a plugin load in Claude Code, Cowork and chat.
  11. MCP-Odoo-Tools on GitHub (Transgenia, version 1.6.4 of November 14, 2026): installation, requirements, 28 tools and permission profiles.
  12. odoo-mcp-tools on PyPI (read on November 23, 2026): version 1.6.4, MIT license and Python 3.9 or later.
  13. MCP-Odoo-Tools manual (Transgenia, read on November 23, 2026).
  14. Repositories of mcp-odoo, mcp-server-odoo and odoo-mcp-pro (GitHub, read on November 23, 2026): the license and versions each one declares.
  15. Model Context Protocol (open specification, read on November 23, 2026).

Frequently asked questions

Does Odoo Community 19 ship its own MCP server?

No. Odoo documents its MCP server from saas~19.4 and version 20 onward, inside its AI app, which is not part of the Odoo Community code. On Community from 10 to 19 you use an external server such as MCP-Odoo-Tools, which runs in Claude Code.

Can I use MCP-Odoo-Tools from Claude chat or Cowork?

Not for the Odoo tools. MCP-Odoo-Tools runs as a local server in Claude Code: the terminal, VS Code, JetBrains or a local session of the Code tab in Claude Desktop. Chat and Cowork do not prompt for its connection options, so they do not start it.

Do I need Node.js to connect Claude Code to Odoo?

Only if you connect the Odoo MCP server with an API key, because Odoo documents that variant with the mcp-remote bridge, which runs through npx. With OAuth you do not need it. MCP-Odoo-Tools uses Python 3.9 or later, with no third-party dependencies.

Can Claude delete records in my Odoo?

It can do what the Odoo user it connects with is allowed to do, through the tools the server exposes. In MCP-Odoo-Tools, the standard profile does not list the delete tool and the readonly profile allows reads only. The Odoo server exposes five read tools by default; the rest are enabled by hand.

How much does it cost to connect Claude to Odoo through MCP?

MCP-Odoo-Tools is free, under the MIT license. You pay for your Odoo plan (on Odoo Online, the Custom plan to use the external API or the AI app) and your Claude plan; the Claude Free plan allows one custom connector.

Does Transgenia receive data from my Odoo when I use MCP-Odoo-Tools?

No. The server runs on your computer and talks directly to your Odoo; Transgenia receives and retains no data, credentials or prompts. The results do travel to your Claude client and to the model provider, as with any tool.

Next step

Transgenia offers a free 15-minute QuickLook. We review your Odoo version, your plan and where you use Claude, and tell you which route fits before any agent gets access. Book a QuickLook.

About the author and Transgenia

Efraín Carreón Ortiz is Director General (Chief Executive Officer) of Centrum Transgenia, a Mexican technology boutique. He holds the official Claude Code badge (Claude Partner Badge) issued by Anthropic, verifiable on Credly.

Transgenia is an OpenAI Select Partner within the OpenAI Partner Network and a registered partner in Anthropic's Claude Partner Network. Team: Víctor Estrada Bello, Chief PMO; Danild Johan Zambrana López, Chief Technology Officer; Jaime Lozano Castañeda, Chief Marketing Officer; Efraín Carreón Ortiz, Director General (Chief Executive Officer).

Let us talk: contacto@transgenia.org, WhatsApp +52 55 8034 0405, 15-minute call or the contact page.

Keep reading

Hashtags: #Odoo #ClaudeCode #MCP #ModelContextProtocol #Odoo20 #AIAgents #ERP #OpenSource

← Back to Blog
Transgenia, Verified IT agency on Vai.me