GitHits
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Security-first MCP gateway for Odoo 17/18/19 — YAML-driven security, 27 tools
作者提供的原文
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 8/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 3/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 11/100 |
质量: 基础检查通过 2/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Odoo MCP Gateway。按照 https://mcp.popnx.com/i/parth-unjiya-odoo-mcp-gateway.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 2/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月20日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Odoo MCP Gateway,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "odoo-gateway": { "command": "uvx", "args": [ "odoo-mcp-gateway" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Odoo MCP Gateway 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"odoo-gateway": {
"command": "uvx",
"args": [
"odoo-mcp-gateway"
]
}
}
}用 Odoo MCP Gateway 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Odoo MCP Gateway,或回答中出现 Odoo MCP Gateway 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Odoo MCP Gateway
Odoo MCP Gateway 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Odoo MCP Gateway 的应用
B · 网络安全 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Odoo MCP Gateway,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user odoo-gateway -- uvx odoo-mcp-gateway 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Odoo MCP Gateway 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user odoo-gateway -- uvx odoo-mcp-gateway应能看到 Odoo MCP Gateway 在列表中并显示已连接
用 Odoo MCP Gateway 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Odoo MCP Gateway,或回答中出现 Odoo MCP Gateway 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Odoo MCP Gateway,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "odoo-gateway": { "command": "uvx", "args": [ "odoo-mcp-gateway" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Odoo MCP Gateway 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
用 Odoo MCP Gateway 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Odoo MCP Gateway,或回答中出现 Odoo MCP Gateway 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Odoo MCP Gateway,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "odoo-gateway": { "type": "stdio", "command": "uvx", "args": [ "odoo-mcp-gateway" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Odoo MCP Gateway 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
用 Odoo MCP Gateway 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Odoo MCP Gateway,或回答中出现 Odoo MCP Gateway 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user odoo-gateway -- uvx odoo-mcp-gatewayClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"odoo-gateway": {
"command": "uvx",
"args": [
"odoo-mcp-gateway"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"odoo-gateway": {
"command": "uvx",
"args": [
"odoo-mcp-gateway"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"odoo-gateway": {
"type": "stdio",
"command": "uvx",
"args": [
"odoo-mcp-gateway"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月21日
注册名称已通过 GitHub 账户 parth-unjiya 验证,该账户拥有此仓库
代码最后更新于6个月前,已超过 6 个月
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 odoo-mcp-gateway@0.1.1 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月16日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/parth-unjiya-odoo-mcp-gateway)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于6个月前,最新版本(0.1.1)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Sonatype component intelligence: versions, security analysis, and Trust Score recommendations
Easily find and fix security issues in your applications leveraging Snyk platform capabilities.
Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.
Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.
| 本项 Odoo MCP Gateway | GitHits | Dependency Management MCP Server | Snyk MCP | TokenSafe | Draugr | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 云端或安装在电脑上都可以 | 在云端运行,无需安装 | 需要安装在电脑上 | 云端或安装在电脑上都可以 | 需要安装在电脑上 |
| 需要密钥 | 否 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 2/3 | 5/5 | 3/4 | 3/3 | 5/5 | 3/3 |
| 许可证 | MIT | Apache-2.0 | – | Apache-2.0 | MIT | Apache-2.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Security-first, version-agnostic MCP gateway for Odoo 17/18/19. Works with stock and custom modules via YAML configuration. Zero Odoo-side code required.
pip install odoo-mcp-gateway
Add to Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": { "odoo": { "command": "python", "args": ["-m", "odoo_mcp_gateway"], "env": { "ODOO_URL": "http://localhost:8069", "ODOO_DB": "your_database" } } } }
Restart Claude Desktop. In any conversation:
login with method "password", username "admin", credential "your_password"
You're connected. Ask Claude to query, create, or update Odoo records — every call is rate-limited, audit-logged, and runs through two layers of security checks before reaching Odoo.
No Odoo addon required. No Python code to write. Just YAML config for fine-grained access control (optional — secure defaults work out of the box).
create_record, update_record, delete_record, execute_method — validate without executingget_defaults (preview Odoo defaults), get_onchange (preview field side effects)read_group: create_date:month, date:quarter, etc.has_group('base.group_system') (was trusted from auth response)repr()/tracebackOdooSessionExpiredError (was retrying on every auth error)See CHANGELOG.md for the full list of 21 security fixes.
Existing Odoo MCP servers share common problems: hardcoded model lists that miss custom modules, security as an afterthought, mandatory custom Odoo addons, and single-version targets. This gateway solves all of them:
ir.model, add YAML config and it workspip install + YAML config = done. No custom addon requiredMCP Client (Claude Desktop / Claude Code / HTTP)
| User calls login tool with Odoo credentials v MCP Server (FastMCP) | |-- security_gate() --> Rate limit + RBAC tool access + audit logging |-- restrictions --> Model/method/field block lists (YAML + hardcoded) |-- rbac --> Field-level filtering + write sanitization | |-- tools/ --> 31 MCP tools (auth + schema + CRUD + workflow + plugins) |-- resources/ --> 6 MCP resources (odoo:// URIs) |-- prompts/ --> 12 reusable prompt templates |-- plugins/ --> Entry-point plugin system (HR, Sales, Project, Helpdesk) | | JSON-RPC / XML-RPC as authenticated user v Odoo 17/18/19 (security enforced per user via ir.model.access + ir.rule)
Every tool and resource call passes through this pipeline:
Request --> Rate Limit --> Authentication Check --> RBAC Tool Access
--> Model Restriction --> Method Restriction --> Field Validation --> Handler Execution --> RBAC Field Filtering --> Audit Log --> Response
Hardcoded safety guardrails that cannot be overridden by YAML:
__repr__/__str__, cleared on closehas_group('base.group_system') overrides auth-response is_adminpip install odoo-mcp-gateway
cp config/restrictions.yaml.example config/restrictions.yaml cp config/model_access.yaml.example config/model_access.yaml cp config/rbac.yaml.example config/rbac.yaml
export ODOO_URL=http://localhost:8069 export ODOO_DB=mydb
python -m odoo_mcp_gateway
MCP_TRANSPORT=streamable-http python -m odoo_mcp_gateway
Add to claude_desktop_config.json:
{
"mcpServers": { "odoo": { "command": "python", "args": ["-m", "odoo_mcp_gateway"], "env": { "ODOO_URL": "http://localhost:8069", "ODOO_DB": "mydb" } } } }
# Add as MCP server
claude mcp add odoo -- python -m odoo_mcp_gateway
| Variable | Default | Description |
|---|---|---|
ODOO_URL | http://localhost:8069 | Odoo server URL |
ODOO_DB | *(required)* | Odoo database name |
MCP_TRANSPORT | stdio | Transport mode (stdio or streamable-http) |
MCP_HOST | 127.0.0.1 | HTTP host (streamable-http mode) |
MCP_PORT | 8080 | HTTP port (streamable-http mode) |
MCP_LOG_LEVEL | INFO | Logging level |
CONFIG_DIR | . | Directory for YAML config files |
SESSION_TIMEOUT_SECONDS | 1800 | Session inactivity timeout |
MAX_CONCURRENT_SESSIONS | 100 | Maximum concurrent sessions |
RATE_LIMIT_GLOBAL | 60 | Requests per minute (global) |
RATE_LIMIT_WRITE | 20 | Write operations per minute |
ir.model.access and ir.rule| Tier | Effect | Example |
|---|---|---|
always_blocked | Nobody can access, including admins | ir.config_parameter, res.users.apikeys |
admin_only | Only admin users | ir.model, ir.model.fields |
admin_write_only | Read OK for all, write needs admin | res.company, res.currency |
These cannot be overridden by YAML configuration:
Blocked models (32): ir.config_parameter, res.users, res.users.apikeys, res.users.log, ir.cron, ir.module.module, ir.model.access, ir.rule, ir.mail_server, ir.ui.view, ir.actions.server, ir.logging, ir.attachment, ir.exports, ir.exports.line, iap.account, auth.totp.wizard, auth.totp.device, payment.token, payment.provider, base.automation, digest.digest, res.config.settings, change.password.wizard, change.password.user, base.module.update, base.module.upgrade, base.module.uninstall, fetchmail.server, bus.bus, mail.mail, mail.template
Read-only models (8): mail.message, mail.followers, mail.activity, discuss.channel, mail.notification, mail.compose.message, mail.alias, discuss.channel.member (reads allowed, writes blocked for everyone)
Blocked write fields (10): password, password_crypt, groups_id, totp_secret, signup_token, signup_type, signup_expiration, api_key, share, active
Blocked methods (29): sudo, with_user, with_company, with_context, with_env, with_prefetch, _auto_init, _sql, _register_hook, _write, _create, _read, _setup_base, _setup_fields, _setup_complete, init, _table_query, _read_group_raw, name_create, load, import_data, export_data, flush_recordset, invalidate_recordset, _search_panel_select_range, _search_panel_select_multi_range, _search_panel_domain_image, _search, _read_progress_bar
Credential class with leak-safe __repr__/__str__, explicit .reveal() for use, and .clear() on closeis_admin is re-verified via has_group('base.group_system') after authentication, defending against tampered auth responses_compute_*, _inverse_*, etc.) blocked for everyone including admin unless explicitly whitelistedreturn_dropped=TruedefusedxmlOdooSessionExpiredError, not generic auth errors (no double round-trips on access denials)Three stock Odoo auth methods — no custom addon needed:
| Method | Protocol | Use Case |
|---|---|---|
api_key | XML-RPC | Server-to-server, CI/CD pipelines |
password | JSON-RPC | Interactive users, Claude Desktop |
session | JSON-RPC | Reuse existing browser session (development) |
# Example: login via the MCP tool
login(method="password", username="admin", credential="admin", database="mydb")
| Tool | Description |
|---|---|
login | Authenticate with Odoo (api_key / password / session) |
| `list_mode