Odoo Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Odoo Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A professional Model Context Protocol (MCP) server for seamless Odoo ERP integration. Supports both HTTP and STDIO transports for maximum flexibility.
npm install -g @mweinheimer/odoo-mcp-servergit clone https://github.com/heimerle/odoo-mcp-server.git
cd odoo-mcp-server
npm install
npm run buildCreate a .env.local file or set these environment variables:
# Odoo Connection (Required)
ODOO_URL=http://your-odoo-instance:8069
ODOO_DB=your_database # or ODOO_DATABASE
ODOO_USERNAME=your_username
ODOO_PASSWORD=your_password
# Transport Mode
MCP_TRANSPORT=stdio # 'http' or 'stdio' (default: http)
# Odoo Protocol
ODOO_TRANSPORT=jsonrpc # 'jsonrpc' or 'xmlrpc' (default: jsonrpc)
# HTTP Mode Settings (only for MCP_TRANSPORT=http)
MCP_HTTP_PORT=3001 # HTTP server port (default: 3001)Add to your claude_desktop_config.json:
{
"mcpServers": {
"odoo": {
"command": "node",
"args": [
"/path/to/odoo-mcp-server/dist/stdio-server.js"
],
"env": {
"ODOO_URL": "http://your-odoo:8069",
"ODOO_DB": "your_database",
"ODOO_USERNAME": "your_username",
"ODOO_PASSWORD": "your_password"
}
}
}
}Or use the global installation:
{
"mcpServers": {
"odoo": {
"command": "odoo-mcp-server",
"args": ["--stdio"],
"env": {
"ODOO_URL": "http://your-odoo:8069",
"ODOO_DB": "your_database",
"ODOO_USERNAME": "your_username",
"ODOO_PASSWORD": "your_password",
"MCP_TRANSPORT": "stdio"
}
}
}
}# Using environment variables
ODOO_URL=http://localhost:8069 \
ODOO_DB=mydb \
ODOO_USERNAME=admin \
ODOO_PASSWORD=admin \
MCP_TRANSPORT=http \
node dist/http-mcp-server.js
# Server starts on http://localhost:3001# Using the dedicated STDIO entry point
ODOO_URL=http://localhost:8069 \
ODOO_DB=mydb \
ODOO_USERNAME=admin \
ODOO_PASSWORD=admin \
node dist/stdio-server.jsThe server provides 13 MCP tools for Odoo interaction:
curl -X POST http://localhost:3001/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "odoo_search_read",
"arguments": {
"model": "res.partner",
"domain": [["is_company", "=", true]],
"fields": ["name", "email", "phone"],
"limit": 10
}
},
"id": 1
}'Simply ask Claude:
"Create a new contact in Odoo with name 'John Doe', email '[email protected]'"
Claude will use the odoo_create tool automatically.
curl -X POST http://localhost:3001/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "odoo_write",
"arguments": {
"model": "res.partner",
"ids": [42],
"values": {
"phone": "+1234567890"
}
}
},
"id": 1
}'git clone https://github.com/heimerle/odoo-mcp-server.git
cd odoo-mcp-server
npm install
npm run buildnpm run dev # Watch mode with auto-recompile
npm run lint # Run ESLint
npm run test # Run testssrc/
├── http-mcp-server.ts # Main HTTP/STDIO server
├── stdio-server.ts # Dedicated STDIO entry point
├── models/
│ ├── odoo-client.ts # Odoo API client
│ └── odoo-tools.ts # MCP tool definitions
├── utils/
│ └── odoo-sanitizer.ts # Response sanitization
└── types/
└── index.ts # TypeScript type definitionsMake sure you're using the correct environment variable names:
ODOO_DB or ODOO_DATABASE (both work)# Check what's using port 3001
lsof -i :3001
# Kill the process
pkill -f "node.*http-mcp-server"
# Or use a different port
MCP_HTTP_PORT=3002 node dist/http-mcp-server.jsCheck that your Odoo instance is accessible:
curl http://your-odoo-instance:8069/web/database/selectorContributions are welcome! Please:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT License - see LICENSE file for details.
Made with ❤️ for the Odoo and AI community
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.