by tuanle96
MCP Server for Odoo
# Add to your Claude Code skills
git clone https://github.com/tuanle96/mcp-odooAn MCP server implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.
execute_method
model (string): The model name (e.g., 'res.partner')method (string): Method name to executeargs (optional array): Positional argumentskwargs (optional object): Keyword argumentssearch_employee
name (string): The name (or part of the name) to search forlimit (optional number): The maximum number of results to return (default 20)search_holidays
start_date (string): Start date in YYYY-MM-DD formatend_date (string): End date in YYYY-MM-DD formatemployee_id (optional number): Optional employee ID to filter holidaysodoo://models
odoo://model/{model_name}
odoo://model/res.partnerodoo://record/{model_name}/{record_id}
odoo://record/res.partner/1odoo://search/{model_name}/{domain}
odoo://search/res.partner/[["is_company","=",true]]odoo_config.json:{
"url": "https://your-odoo-instance.com",
"db": "your-database-name",
"username": "your-username",
"password": "your-password-or-api-key"
}
ODOO_URL: Your Odoo server URLODOO_DB: Database nameODOO_USERNAME: Login usernameODOO_PASSWORD: Password or API keyODOO_TIMEOUT: Connection timeout in seconds (default: ...