odoo-mcp MCP Server
MCP server for Odoo 18 with 38 business tools
odoo-mcp scores 40 (Fair), with no SPDX license recorded. It installs as a local process. It declares 39 tools. Filed under Uncategorized. Package registries report about 24 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
40 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade B
84/100 for listing completeness. Lost points: 1 of 39 tools barely described, short summary, no docs link.
How quality is graded
Where the 40 comes from
22 + 5 + 0 + 0 + 10 + 3 = 40. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
{ "mcpServers": { "nicolasramos-odoo-mcp": { "command": "python", "args": [ "odoo-18-mcp-server" ], "env": { "ODOO_URL": "", "ODOO_DB": "", "ODOO_USERNAME": "", "ODOO_PASSWORD": "YOUR_ODOO_PASSWORD", "ODOO_MCP_DEFAULT_LIMIT": "", "ODOO_MCP_MAX_LIMIT": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ODOO_URL | Required | URL of your Odoo instance (e.g., https://yourcompany.odoo.com) |
ODOO_DB | Required | Name of your Odoo database |
ODOO_USERNAME | Required | Odoo username for authentication |
ODOO_PASSWORDSecret | Required | Odoo password for authentication |
ODOO_MCP_DEFAULT_LIMIT | Optional | Default limit for search results (default: 50) |
ODOO_MCP_MAX_LIMIT | Optional | Maximum limit for search results (default: 80) |
Tools39Tool docs quality grade C
All capabilitiesClose an activity and record the reason.
Close a contract line with a reason and close date.
Confirm a quotation into a sale order.
odoo_createtoolCreate a new record in an allowed model.
Schedule an activity on a record.
Create a summary-style activity for follow-up.
Create a meeting or appointment with attendees.
Add a line to a contract.
Create a helpdesk ticket directly.
Create a helpdesk ticket linked to a partner.
odoo_create_leadtoolCreate a CRM lead / opportunity.
Create a purchase order from partner and line data.
About
OdooClaw MCP
Standalone MCP (Model Context Protocol) server for Odoo 18 over stdio.
MCP name: io.github.nicolasramos/odooclaw-mcp
PyPI package: odooclaw-mcp
Official CLI: odooclaw-mcp
Backward-compatible aliases are also installed:
odoo-mcpodoo-mcp-serverodoo-18-mcp-server
Quick Start
1) Install
pip install odooclaw-mcp
From source:
git clone https://github.com/nicolasramos/odooclaw-mcp.git
cd odooclaw-mcp
pip install -e .
2) Configure environment
cp .env.example .env
Required:
ODOO_URL=https://yourcompany.odoo.com
ODOO_DB=your_database
ODOO_USERNAME=your_username
ODOO_PASSWORD=your_password
Optional:
ODOO_MCP_DEFAULT_LIMIT=50
ODOO_MCP_MAX_LIMIT=80
LOG_LEVEL=INFO
3) Validate and run
odooclaw-mcp --check-config
odooclaw-mcp
Alternative:
python -m odoo_mcp
MCP Client Configuration (stdio)
{
"mcpServers": {
"odoo": {
"command": "odooclaw-mcp",
"env": {
"ODOO_URL": "https://yourcompany.odoo.com",
"ODOO_DB": "your_database",
"ODOO_USERNAME": "your_username",
"ODOO_PASSWORD": "your_password",
"ODOO_MCP_DEFAULT_LIMIT": "50",
"ODOO_MCP_MAX_LIMIT": "80"
}
}
}
}
Tool call payload contract
When calling tools through the MCP protocol, arguments must be wrapped in a
top-level payload object.
Valid shape:
{
"name": "odoo_search",
"arguments": {
"payload": {
"model": "res.partner",
"domain": [["customer_rank", ">", 0]],
"limit": 3
}
}
}
If payload is omitted, validation fails with an error equivalent to
Field required: payload.
Scope
- 129 MCP tools for Odoo operations (CRUD + business actions + migration workflows)
- Pydantic validation for all tool payloads
- Odoo 18 compatibility helpers (customer_rank / supplier_rank / payment_state)
- Security guards (model allowlist, denylisted fields, action guard, unlink blocked)
- Structured logging and audit actions
Available Tools
The server currently exposes 129 MCP tools.
Note: the grouped tables below focus on common/high-value tools. Use MCP
list_toolsto inspect the full live tool catalog for your installed version.
Core record operations
| Tool | Purpose |
|---|---|
odoo_search | Search records in an allowed model using Odoo domain syntax. |
odoo_read | Read selected fields from specific record IDs. |
odoo_search_read | Combined search + read for efficient retrieval. |
odoo_create | Create a new record in an allowed model. |
odoo_write | Update existing records in an allowed model. |
odoo_invoke_action | Invoke an Odoo model method such as action_* or button_*. |
odoo_get_record_summary | Return a compact, human-friendly summary for a record. |
Partners, sales, and CRM
| Tool | Purpose |
|---|---|
odoo_find_partner | Find a customer or vendor by name, VAT, or email. |
odoo_get_partner_summary | Get a partner overview with useful business context. |
odoo_find_sale_order | Search sale orders by name, partner, or state. |
odoo_get_sale_order_summary | Retrieve a sale order summary including lines. |
odoo_create_sale_order | Create a quotation / sale order with product lines. |
odoo_confirm_sale_order | Confirm a quotation into a sale order. |
odoo_create_lead | Create a CRM lead / opportunity. |
Accounting, purchasing, and payments
| Tool | Purpose |
|---|---|
odoo_create_purchase_order | Create a purchase order from partner and line data. |
odoo_create_vendor_invoice | Create a vendor bill. |
odoo_find_pending_invoices | Find posted invoices or bills pending payment using Odoo 18 semantics. |
odoo_get_invoice_summary | Get a detailed summary of an invoice or bill. |
odoo_register_payment | Register a payment for a specific invoice. |
Projects, activities, and chatter
| Tool | Purpose |
|---|---|
odoo_find_task | Search project tasks by name, project, or stage. |
odoo_create_task | Create a new project task. |
odoo_update_task | Update task stage, assignee, or deadline. |
odoo_create_activity | Schedule an activity on a record. |
odoo_list_pending_activities | List pending activities, optionally filtered by model or assignee. |
odoo_mark_activity_done | Mark an activity as completed. |
odoo_post_chatter_message | Post a chatter message on a record. |
odoo_create_activity_summary | Create a summary-style activity for follow-up. |
odoo_close_activity_with_reason | Close an activity and record the reason. |
odoo_log_timesheet | Log a timesheet entry for a project or task. |
Support, contracts, stock, and instance capabilities
| Tool | Purpose |
|---|---|
odoo_get_capabilities | Report which modules and capabilities are available in the connected instance. |
odoo_create_helpdesk_ticket | Create a helpdesk ticket directly. |
odoo_create_helpdesk_ticket_from_partner | Create a helpdesk ticket linked to a partner. |
odoo_draft_ticket_email | Prepare a draft support email from a ticket context. |
odoo_create_contract_line | Add a line to a contract. |
odoo_replace_contract_line | Replace an existing contract line with a new one. |
odoo_close_contract_line | Close a contract line with a reason and close date. |
odoo_get_product_stock | Inspect stock quantities for a product. |
odoo_create_calendar_event | Create a meeting or appointment with attendees. |
Introspection
| Tool | Purpose |
|---|---|
odoo_get_model_schema | Inspect the fields and schema of a model such as res.partner or account.move. |
Available Resources
The server also exposes 5 MCP resources for discovery and context:
| Resource | Purpose |
|---|---|
odoo://context/odoo18-fields-reference | Odoo 18 field reference for common model/domain pitfalls such as customer_rank, supplier_rank, and payment_state. |
odoo://models | JSON list of models currently allowed by the security policy. |
odoo://model/{model_name}/schema | Technical schema for a specific Odoo model. |
odoo://record/{model}/{id}/summary | JSON summary of a specific record. |
odoo://record/{model}/{id}/chatter_summary | Summary of the chatter history for a specific record. |
Guardrails and Runtime Behavior
- Uses standard Odoo JSON-RPC endpoints; it does not depend on OdooClaw delegation.
- Tool payloads are validated with Pydantic before execution.
- Model access is restricted by an allowlist defined in the server configuration.
- Sensitive write fields are denylisted and
unlinkis blocked. - Search-style tools use default and maximum limits (
ODOO_MCP_DEFAULT_LIMIT,ODOO_MCP_MAX_LIMIT). sender_idis treated as audit/context metadata; execution runs as the authenticated Odoo session user.- Some tools require the corresponding Odoo apps/modules to be installed (CRM, Helpdesk, Projects, Contracts, Inventory, etc.).
Security Model
The server uses standard Odoo JSON-RPC endpoints and executes operations as the configured Odoo session user.
For production, use a dedicated least-privilege Odoo account.
Production Notes
- This is a
stdioMCP server, not an HTTP API service. - Docker/Compose support is mainly for packaging or controlled runtime scenarios.
- In normal usage, your MCP client launches the server process directly.
- Keep Odoo credentials in environment variables or a secrets manager.
Known Limitations
- One Odoo credential context per MCP process.
ODOO_DBis currently required by the authentication flow.- Some tools require specific Odoo apps/modules (CRM, Helpdesk, Project, etc.).
- Designed for Odoo 18 field semantics.
Development
pip install -e .[dev]
ruff check src tests
black --check src tests
mypy src --ignore-missing-imports
pytest tests -v
python -m build
twine check dist/*
Docs
License
MIT - see LICENSE.
Frequently asked questions
What is odoo-mcp MCP Server?
MCP server for Odoo 18 with 38 business tools
How do I install odoo-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. odoo-mcp MCP Server is published as the PyPI package odoo-18-mcp-server.
Does odoo-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for odoo-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does odoo-mcp MCP Server provide?
odoo-mcp MCP Server provides 39 tools, including odoo_close_activity_with_reason, odoo_close_contract_line, odoo_confirm_sale_order, and odoo_create. See the full tool list for descriptions and parameters.
How is odoo-mcp MCP Server's trust score calculated?
odoo-mcp MCP Server scores 40 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.