# odoo-mcp-connector [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/management-cmyk/odoo-mcp-connector  
**GitHub Stars:** 0  
**npm Downloads (last month):** 168  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/odoo-mcp-connector

## Description
Query, report on, and optionally modify any Odoo ERP from Claude. Read-only by default.

## Tools
Capabilities this server exposes over MCP:

- **odoo_search_read** — Search and read records from any Odoo model in one call. Returns matching records with the requested fields.
- **odoo_read** — Read specific records by their IDs.
- **odoo_count** — Count records matching a domain.
- **odoo_fields** — Introspect a model's fields — names, types, labels, relations. Useful before querying an unfamiliar model.
- **odoo_list_models** — List available Odoo models, optionally filtered by a substring of the technical name.
- **odoo_overdue_invoices** — List unpaid customer invoices past their due date — an instant accounts-receivable / cash-flow view.
- **odoo_sales_summary** — Total revenue and order count over a date range, from sales orders (default) or POS orders.
- **odoo_low_stock** — List storable products at or below a quantity threshold — restock alerts.
- **odoo_top_customers** — Top customers ranked by invoiced revenue over a date range.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "odoo-mcp-connector": {
    "command": "npx",
    "args": ["-y","odoo-mcp-connector"],
    "env": {
      "ODOO_URL": "",
      "ODOO_DB": "",
      "ODOO_USERNAME": "",
      "ODOO_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `ODOO_URL`, `ODOO_DB`, `ODOO_USERNAME`, `ODOO_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What odoo-mcp-connector does

odoo-mcp-connector exposes an Odoo ERP to MCP-compatible clients, allowing an agent to work with the models and records available to the configured Odoo user. Its generic data access covers searching and reading records, counting records that match a domain, listing models, and inspecting model fields such as their names, types, and labels.

The server also includes focused reporting tools for common operational questions. It can identify unpaid customer invoices that are past due, summarize revenue and order counts across a date range, find products at or below a quantity threshold, and rank customers by invoiced revenue.

Read operations are available by default. Create, update, delete, and arbitrary model-method operations are separate capabilities that become available only when writes are enabled.

## How it works

The MCP client launches the package with `npx`, then supplies Odoo connection details as environment variables. Requests are sent to the configured Odoo instance using the credentials for the selected user. Credentials and configuration remain on the machine running the server; the server is intended to communicate with the user’s own Odoo instance.

Odoo permissions still apply to operations performed through the connection. Enabling write access allows an agent to create records, modify records by ID, delete records by ID, or call an arbitrary method on an Odoo model. Deletion through `odoo_unlink` is irreversible, so write access should be enabled only when those actions are acceptable.

## Setup and configuration

Add an MCP server entry that runs the package through `npx`:

```json
{
  "mcpServers": {
    "odoo": {
      "command": "npx",
      "args": ["-y", "odoo-mcp-connector"],
      "env": {
        "ODOO_URL": "https://your-company.odoo.com",
        "ODOO_DB": "your-database",
        "ODOO_USERNAME": "you@example.com",
        "ODOO_API_KEY": "your-odoo-api-key"
      }
    }
  }
}
```

`ODOO_URL`, `ODOO_DB`, `ODOO_USERNAME`, and `ODOO_API_KEY` are required. The API-key value can be an Odoo API key or a password; an API key can be revoked from Odoo’s user security settings. Set `ODOO_ENABLE_WRITES` to `true` to expose mutating tools; its default is `false`. `ODOO_TIMEOUT_MS` controls the per-request timeout and defaults to 30,000 milliseconds.

## Tools and capabilities

Read-only tools include:

- `odoo_search_read` for searching and retrieving records from any model
- `odoo_read` for retrieving records by ID
- `odoo_count` for counting records matching a domain
- `odoo_fields` for inspecting model field metadata
- `odoo_list_models` for discovering available models
- `odoo_overdue_invoices` for past-due unpaid customer invoices
- `odoo_sales_summary` for revenue and order counts over a date range
- `odoo_low_stock` for products at or below a selected quantity
- `odoo_top_customers` for customers ranked by invoiced revenue

With writes enabled, the server additionally exposes `odoo_create`, `odoo_write`, `odoo_unlink`, and `odoo_call`. These respectively create records, update records by ID, delete records by ID, and invoke an arbitrary model method.

## Limitations and notes

Write operations are not available unless explicitly enabled. When enabled, their effect is governed by the connected Odoo user’s permissions, and deletion cannot be undone through `odoo_unlink`. The server is configured through environment variables and communicates with the configured Odoo instance rather than storing or forwarding the credentials elsewhere. The project uses mocked tests for development, so its test command does not require a live Odoo connection.

The package is released under the MIT license.

_Full upstream README: https://allmcps.com/mcp/odoo-mcp-connector/readme_

