Odoo XML-RPC MCP Server
Interact with Odoo instances using the XML-RPC API. Requires configuration via environment variables or config files.
Odoo XML-RPC MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with Odoo via XML-RPC.
Features
- Connect to any Odoo instance via XML-RPC
- Configurable project and environment parameters
- Environment variable support with priority over config files
- Complete set of Odoo operations: search, read, create, write, delete
- Integration with Claude Desktop and Claude Code
Installation
Global Installation (Desktop MCP Server)
- Install globally using npm:
npm install -g .
- Add to your Claude Desktop configuration (
~/Library/Application Support/Claude/claude_desktop_config.json
):
{
"mcpServers": {
"odoo-xmlrpc": {
"command": "odoo-xmlrpc-mcp-server",
"args": ["--project", "your_project", "--environment", "your_env"],
"env": {
"ODOO_URL": "https://your-odoo.domain.com",
"ODOO_DATABASE": "your_database",
"ODOO_USERNAME": "your_username",
"ODOO_PASSWORD": "your_password"
}
}
}
}
Local Installation (Claude Code)
-
Clone or copy this repository to your project directory
-
Install dependencies:
npm install
- Build the project:
npm run build
- Create
.claude.json
in your project root:
{
"mcp": {
"servers": {
"odoo-xmlrpc": {
"command": "node",
"args": ["./dist/index.js", "--project", "your_project", "--environment", "your_env"],
"env": {
"ODOO_URL": "https://your-odoo.domain.com",
"ODOO_DATABASE": "your_database",
"ODOO_USERNAME": "your_username",
"ODOO_PASSWORD": "your_password"
}
}
}
}
}
Development
For development, you can run directly with tsx:
npm run dev -- --project your_project --environment your_env
Configuration
Config File Method
Create a configuration file at ~/.odoo_config/<project>_<environment>.conf
:
[odoo]
url = https://your-odoo.domain.com
database = your_database
username = your_username
password = your_password
Environment Variables (Priority)
Set these environment variables (they take priority over config files):
ODOO_URL
ODOO_DATABASE
ODOO_USERNAME
ODOO_PASSWORD
Usage
Available Tools
odoo_search
Search for records in an Odoo model.
{
"model": "res.partner",
"domain": [["is_company", "=", true]],
"limit": 10
}
odoo_read
Read specific records by ID.
{
"model": "res.partner",
"ids": [1, 2, 3],
"fields": ["name", "email", "phone"]
}
odoo_create
Create a new record.
{
"model": "res.partner",
"values": {
"name": "New Company",
"is_company": true,
"email": "info@newcompany.com"
}
}
odoo_write
Update existing records.
{
"model": "res.partner",
"ids": [123],
"values": {
"phone": "+1-555-0123"
}
}
odoo_unlink
Delete records.
{
"model": "res.partner",
"ids": [456]
}
odoo_search_count
Count records matching a domain.
{
"model": "res.partner",
"domain": [["is_company", "=", true]]
}
odoo_fields_get
Get field definitions for a model.
{
"model": "res.partner",
"fields": ["name", "email"]
}
odoo_search_read
Search and read in one operation.
{
"model": "res.partner",
"domain": [["is_company", "=", true]],
"fields": ["name", "email"],
"limit": 5
}
Development
Requirements
- Node.js 18+
- npm or yarn
Running Locally
npm run dev -- --project myproject --environment staging
Building
npm run build
Testing Connection
npm run dev -- --project idp --environment staging
License
MIT License
Related Servers
Testomat.io
Integrate Testomat.io API with AI assistants for test management.
ASKME-CLI
A command-line interface to prompt users for their next plan or confirmation.
AI Image Generation
Generate images using the Together AI API. Supports custom aspect ratios, save paths, and batch generation.
ndlovu-code-reviewer
Manual code reviews are time-consuming and often miss the opportunity to combine static analysis with contextual, human-friendly feedback. This project was created to experiment with MCP tooling that gives AI assistants access to a purpose-built reviewer. Uses the Gemini cli application to process the reviews at this time and linting only for typescript/javascript apps at the moment. Will add API based calls to LLM's in the future and expand linting abilities. It's also cheaper than using coderabbit ;)
FileForge
Transforms raw code into polished solutions with optimized performance and vector embeddings support.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, without authentication.
Baby-SkyNet
An autonomous memory management system for Claude AI, featuring multi-provider LLM integration and a persistent memory database.
MCP Chart Server
Generates TradingView chart visualizations using the Chart-IMG API.
Raspberry Pi MCP Servers Collection
A collection of production-ready MCP servers optimized for Raspberry Pi and AI workloads.
Package README Core MCP Server
Automatically detects package managers and routes requests to appropriate MCP servers for unified package documentation access.