Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-singleflo-odoo-assistant": {
"command": "uvx",
"args": [
"odoo-assistant"
],
"env": {
"ODOO_BASE_URL": "<VALUE>",
"ODOO_DB": "<VALUE>",
"ODOO_USER": "<VALUE>",
"ODOO_API_KEY": "<YOUR_VALUE>",
"ODOO_MCP_ALLOW": "<VALUE>",
"ODOO_MCP_DENY": "<VALUE>",
"ODOO_MCP_ALLOW_UNLINK": "<VALUE>",
"ODOO_MCP_MAX_LEVEL": "3",
"ODOO_ALLOW_PROD_WRITE": "<VALUE>",
"ODOO_MCP_PROTECTED_HOSTS": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-singleflo-odoo-assistant": {
"command": "uvx",
"args": [
"odoo-assistant"
],
"env": {
"ODOO_BASE_URL": "<VALUE>",
"ODOO_DB": "<VALUE>",
"ODOO_USER": "<VALUE>",
"ODOO_API_KEY": "<YOUR_VALUE>",
"ODOO_MCP_ALLOW": "<VALUE>",
"ODOO_MCP_DENY": "<VALUE>",
"ODOO_MCP_ALLOW_UNLINK": "<VALUE>",
"ODOO_MCP_MAX_LEVEL": "3",
"ODOO_ALLOW_PROD_WRITE": "<VALUE>",
"ODOO_MCP_PROTECTED_HOSTS": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-singleflo-odoo-assistant": {
"command": "uvx",
"args": [
"odoo-assistant"
],
"env": {
"ODOO_BASE_URL": "<VALUE>",
"ODOO_DB": "<VALUE>",
"ODOO_USER": "<VALUE>",
"ODOO_API_KEY": "<YOUR_VALUE>",
"ODOO_MCP_ALLOW": "<VALUE>",
"ODOO_MCP_DENY": "<VALUE>",
"ODOO_MCP_ALLOW_UNLINK": "<VALUE>",
"ODOO_MCP_MAX_LEVEL": "3",
"ODOO_ALLOW_PROD_WRITE": "<VALUE>",
"ODOO_MCP_PROTECTED_HOSTS": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-singleflo-odoo-assistant": {
"command": "uvx",
"args": [
"odoo-assistant"
],
"env": {
"ODOO_BASE_URL": "<VALUE>",
"ODOO_DB": "<VALUE>",
"ODOO_USER": "<VALUE>",
"ODOO_API_KEY": "<YOUR_VALUE>",
"ODOO_MCP_ALLOW": "<VALUE>",
"ODOO_MCP_DENY": "<VALUE>",
"ODOO_MCP_ALLOW_UNLINK": "<VALUE>",
"ODOO_MCP_MAX_LEVEL": "3",
"ODOO_ALLOW_PROD_WRITE": "<VALUE>",
"ODOO_MCP_PROTECTED_HOSTS": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-singleflo-odoo-assistant": {
"command": "uvx",
"args": [
"odoo-assistant"
],
"env": {
"ODOO_BASE_URL": "<VALUE>",
"ODOO_DB": "<VALUE>",
"ODOO_USER": "<VALUE>",
"ODOO_API_KEY": "<YOUR_VALUE>",
"ODOO_MCP_ALLOW": "<VALUE>",
"ODOO_MCP_DENY": "<VALUE>",
"ODOO_MCP_ALLOW_UNLINK": "<VALUE>",
"ODOO_MCP_MAX_LEVEL": "3",
"ODOO_ALLOW_PROD_WRITE": "<VALUE>",
"ODOO_MCP_PROTECTED_HOSTS": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-singleflo-odoo-assistant": {
"command": "uvx",
"args": [
"odoo-assistant"
],
"env": {
"ODOO_BASE_URL": "<VALUE>",
"ODOO_DB": "<VALUE>",
"ODOO_USER": "<VALUE>",
"ODOO_API_KEY": "<YOUR_VALUE>",
"ODOO_MCP_ALLOW": "<VALUE>",
"ODOO_MCP_DENY": "<VALUE>",
"ODOO_MCP_ALLOW_UNLINK": "<VALUE>",
"ODOO_MCP_MAX_LEVEL": "3",
"ODOO_ALLOW_PROD_WRITE": "<VALUE>",
"ODOO_MCP_PROTECTED_HOSTS": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| ODOO_BASE_URL | Yes | Mandatory. The base URL of your Odoo instance, with no trailing slash (e.g., https://mycompany.odoo.com). |
| ODOO_DB | No | Optional unless on Odoo Online (SaaS, *.odoo.com), where it is mandatory. The database name. Discovered automatically when the instance serves exactly one database, and required when it serves several. |
| ODOO_USER | No | Optional. The login (e.g., jane@mycompany.com). Setting it avoids the uid probe; a wrong value makes Odoo's authenticate() return False which reads like a permission error. |
| ODOO_API_KEY secret | Yes | Mandatory. The Odoo API key (Odoo 14+, generate under Settings > Users > API Keys > New). An account password is not accepted. |
| ODOO_MCP_ALLOW | No | Methods the agent may call. `*` (default) allows every method not denied; `none` makes the server read-only; or a comma-separated list of `method` or `model:method` entries. |
| ODOO_MCP_DENY | No | Methods the agent may never call. A value set here REPLACES the default list, which is unlink,archive,action_cancel,button_cancel,action_reverse,action_draft,mailing.mailing:action_send. |
| ODOO_MCP_ALLOW_UNLINK | No | Deletion is the one action that cannot be undone: `yes` lets `unlink` through; nothing else can. |
| ODOO_MCP_MAX_LEVEL | No | Optional. The highest safety level this server may execute, from 0 to 4. A value of 0 makes the server refuse every write. 5 is accepted but identical to 4. An invalid value refuses startup. Default: 3 |
| ODOO_ALLOW_PROD_WRITE | No | Optional. Set to 'yes' to allow writes to hosts listed in ODOO_MCP_PROTECTED_HOSTS. Deliberate override for production safety. |
| ODOO_MCP_PROTECTED_HOSTS | No | Optional. Comma-separated hosts this server refuses to write to. Empty by default. A listed host still allows reads; writing to it needs ODOO_ALLOW_PROD_WRITE=yes. |