Odoo XML-RPC MCP Server
Provides tools to interact with Odoo ERP via XML-RPC, enabling search, read, create, update, delete operations on Odoo models.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Odoo XML-RPC MCP Serversearch for partners with email containing '@odoo.com'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: MCP Server for Odoo
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 installBuild the project:
npm run buildCreate
.claude.jsonin 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_envConfiguration
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_passwordEnvironment Variables (Priority)
Set these environment variables (they take priority over config files):
ODOO_URLODOO_DATABASEODOO_USERNAMEODOO_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 stagingBuilding
npm run buildTesting Connection
npm run dev -- --project idp --environment stagingLicense
MIT License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI assistants to interact with Odoo ERP systems through XML-RPC communication. Provides access to Odoo models, records, methods, and data structures for comprehensive ERP integration.Last updated2MIT
- -license-quality-maintenanceEnables AI assistants to interact with Odoo ERP systems through natural language to search records, create entries, update data, and manage business operations. Supports secure authentication and configurable access controls for production environments.Last updated
- Alicense-qualityBmaintenanceEnables AI assistants to interact with Odoo ERP systems through natural language, allowing users to search, create, update, and manage business records like customers, products, and invoices across any Odoo instance.Last updated1Mozilla Public 2.0
- Alicense-qualityDmaintenanceEnables AI assistants to interact with Odoo databases via XML-RPC and JSON-RPC for performing CRUD operations and managing modules. It supports advanced features like domain-based searching, field metadata inspection, and administrative task execution.Last updated27MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Manage projects, tasks, time tracking, and team collaboration through natural language.
Streamline your Attio workflows using natural language to search, create, update, and organize com…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/odoo-dgoo2308/xml-rpc-odoo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server