
Odoo Surface Mcp
io.github.solutionsunityPublished by GitHub account solutionsunityv0.6.1Updated Oct 24, 2026
Full Odoo access for AI agents via MCP: CRUD, website, translations, attachments, workflows.
Overview
Local MCP server that gives an AI assistant user-level access to an Odoo instance for records, website pages, translations, attachments and workflows.
- What you can do
- Discover models, fields, actions and available actions for the authenticated user, and consult built-in skills and workflows before multi-step operations. Read and search records, group data, inspect fields, defaults and filters, and list pages, snippets and attachments. Create, update, archive and execute actions on records, post messages and schedule activities. Manage website pages and snippets, set page architecture and visibility, and upload or download binary files. Read, update and audit translations. Debug mode adds ping, echo, view/action/field inspection and cache tools.
- When to use it
- Useful when an assistant should work inside an existing Odoo ERP or website — looking up and editing business records, maintaining web pages, handling translations or attachments — with the same permissions the logged-in user has in the browser.
- Requirements
- Runs locally via npx, so Node.js 18+ is needed. Requires a reachable Odoo instance (15.0+, CE or EE) and an MCP-compatible client. Set ODOO_URL, ODOO_DB, ODOO_USERNAME and ODOO_PASSWORD (an Odoo API key is recommended) either in the client env block or a .env file; multi-instance setups need per-entry env blocks.
Installation
In SourceWeft
- Open Odoo Surface Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
[Image] OdooSurface MCP
[npm version] [Node] [Odoo] [License: Apache 2.0] [Downloads]
User-equivalent Odoo access for AI agents — what the authenticated user can do in their browser, nothing more.
Prerequisites
- Node.js 18+ (ships with
npx— no extra install needed) - A running Odoo instance (15.0+, CE or EE) — per-version behaviour of every call: docs/compatibility.md
- An MCP-compatible client (VS Code, Claude Desktop, Claude Code, Cursor, …)
Configure your MCP client
Add this to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
Restart your MCP client after saving. npx downloads and runs the package automatically — no further install steps.
Authentication
Option A — .env file (keep credentials out of MCP config)
Instead of putting credentials in your MCP client JSON, create a .env file in the directory where you run the MCP:
Remove the env block from the MCP client config — the .env file is loaded automatically.
Option B — API Key (recommended, no password stored)
Since Odoo 14+, users can generate personal API keys that act as a password replacement. Each user generates their own key from their own account — there is no admin-side menu for this.
- Log in as the user the MCP will authenticate as
- Click the user avatar (top-right) → Preferences
- Go to the Account Security tab
- Under API Keys → click New API Key
- Enter your password when prompted, give the key a name, copy the generated key
- Use it as
ODOO_PASSWORD— the actual account password is never stored
API keys can be revoked individually from the same screen without changing the account password.
Advanced Configuration
Multiple Odoo instances
Technical users commonly work with more than one Odoo instance (local dev, staging, production). Each instance gets its own named entry in the MCP config — they run as independent processes with fully isolated credentials. The AI client exposes them as separate tool namespaces.
Note: The
.envfile approach (Option A) does not work for multi-instance setups — both processes share the same working directory and would load the same file. Use theenvblock per entry instead.
Debug mode
Registers additional tools: ping, echo, inspect_view, inspect_action, inspect_fields, dump_cache, clear_cache, restart_mcp.
Tools
Architecture
Core Contract
The agent may only do what the authenticated user can do in their browser. Scope is bounded by the user's menus, views, and ACL — nothing more. Tool verbs express functional intent (publish, confirm) rather than raw ORM operations. Discovery is lazy: the agent resolves only what the current prompt requires.
Layered Tool Surface
Planning Loop
Skills and workflows are authored in skills/ and workflows/ as markdown with YAML
frontmatter; they are exposed as Layer 0 tools at runtime.
Source: README.md at commit 51902ef
Tools
0Version history
2- v0.6.1LatestOct 3, 2026
- v0.4.6Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts