MCP Server (Claude Desktop)¶
Vodoo includes an MCP server. It gives Claude Desktop (and other MCP clients such as Claude Code or Cursor) direct tools for your Odoo: projects and tasks, helpdesk, CRM, knowledge, documents, accounting (invoices, bills, journal entries, payments), activities, timers, chatter, attachments, and any other model.
At startup the server checks which Odoo apps are installed and hides the tools of
missing apps (for example Helpdesk, Knowledge, and Documents on Community). The
odoo_info tool lists the hidden tools.
The server runs locally over stdio and uses your normal Vodoo configuration, instance profiles, and keyring secrets. It works with Odoo 17, 18, and 19.
Install as a Claude Desktop extension (one click)¶
The extension bundle (vodoo-<version>.mcpb) needs no Python, uv, or JSON editing.
Claude Desktop installs Python and the dependencies itself.
- Download
vodoo.mcpbfrom the latest GitHub release. Each release also has a versioned copy (vodoo-<version>.mcpb). - Double-click the file (or drag it into Settings → Extensions).
- Fill in the settings form:
- Odoo URL, Database, Username, API key (stored in the system keychain).
Leave them empty to use your Vodoo configuration (
~/.config/vodoo), or enter a Vodoo profile name. - Allow changes / Allow deleting: off by default (read-only).
- Optional: the folders Claude may attach files from, and the download folder.
- Odoo URL, Database, Username, API key (stored in the system keychain).
Leave them empty to use your Vodoo configuration (
- Turn the extension on.
To update, install the file from a newer release. Build the bundle from a checkout (needs uv and npx):
The bundle contains the vodoo wheel built from the checkout, so it matches the source.
Install in Claude Desktop (manual config)¶
- Configure Vodoo once (see Configuration) and
check that it works:
uvx vodoo config test. - In Claude Desktop, open Settings → Developer → Edit Config. This opens
claude_desktop_config.json(macOS:~/Library/Application Support/Claude/claude_desktop_config.json). -
Add the server:
-
Restart Claude Desktop. The Odoo tools appear in the tools menu.
Use the full path to uvx
Claude Desktop does not use your shell's PATH. Run which uvx and put that path
in command (often /opt/homebrew/bin/uvx or ~/.local/bin/uvx).
Options¶
| Argument | Effect |
|---|---|
| (none) | Read-only: search, read, accounting reports, chatter, attachments, timesheets. |
--allow-write |
Adds tools that create or change data (see below). |
--allow-delete |
Adds delete_records (permanent deletion). |
--instance NAME, -i NAME |
Use a named instance profile. |
--download-dir PATH |
The only folder downloads may go to (default ~/Downloads/vodoo). |
--upload-dir PATH |
Folder whose files may be attached; repeat for more (default ~/Downloads, ~/Desktop, ~/Documents). |
To use several Odoo instances, add one entry per instance:
{
"mcpServers": {
"odoo-prod": {
"command": "/opt/homebrew/bin/uvx",
"args": ["--from", "vodoo[mcp]", "vodoo", "mcp", "-i", "prod", "--allow-write"]
},
"odoo-test": {
"command": "/opt/homebrew/bin/uvx",
"args": ["--from", "vodoo[mcp]", "vodoo", "mcp", "-i", "test", "--allow-write", "--allow-delete"]
}
}
}
You can also pass credentials as environment variables instead of a config file
("env": {"ODOO_URL": "...", "ODOO_DATABASE": "...", ...}), but a config file or
keyring reference (ODOO_PASSWORD_REF) keeps the secret out of the Claude config.
Other MCP clients¶
Any MCP client that starts stdio servers works the same way. For Claude Code:
Tools¶
Read (always available)¶
| Tool | Purpose |
|---|---|
odoo_info |
Connected instance, user, API, and enabled modes. |
search_records |
Search any model with a domain; paged, with total count. |
count_records |
Count records matching a domain. |
read_records |
Read records by id (curated detail fields, or all non-binary). |
get_fields |
Field metadata: type, label, relation, selection values. |
name_search |
Find ids by name (partners, products, accounts, taxes, journals). |
get_record_url |
Odoo web URL for a record. |
list_messages |
Chatter messages and notes (as Markdown). |
list_attachments / download_attachment |
Files on a record; download into the download folder. |
list_account_moves |
Invoices, bills, refunds, entries; filter by type, state, payment state, partner, dates, overdue. |
get_account_move |
One move with totals, status, and lines. |
list_timesheets / timer_status |
Your timesheets and running timers. |
list_tasks |
Tasks by project, stage, assignee (or mine), tag, milestone, parent, deadline; open only by default. |
get_task_context |
One task with project, stage, people, tags, subtasks, dependencies, milestone, chatter, attachments. |
list_projects / list_project_stages |
Projects; task stages (columns). |
list_milestones / list_milestone_tasks |
A project's milestones; the tasks of a milestone. |
list_tickets |
Helpdesk tickets by stage, team, customer, assignee, text; open only by default. |
list_leads / list_crm_stages |
CRM leads and opportunities; pipeline stages. |
crm_pipeline |
Deals and (weighted) revenue per stage, with health flags. |
list_articles |
Knowledge articles by title, parent, category, or body text. |
list_documents / list_document_folders / download_document |
Odoo Documents. |
list_activities |
Scheduled activities by record, user (or mine), type, overdue. |
list_tags |
Tags of tasks, tickets, or leads. |
Write (--allow-write)¶
| Tool | Purpose |
|---|---|
create_record / update_records |
Create or update records in any model. |
call_method |
Call a public model method (buttons/actions such as action_confirm). |
post_message |
Internal note (default) or public comment in the chatter. |
attach_file |
Upload a local file (from an allowed folder) to a record. |
create_account_move |
Draft invoice, bill, refund, or journal entry with lines (optionally post). |
post_account_moves |
Post (validate) moves. |
reset_account_moves_to_draft / cancel_account_moves |
Reset to draft / cancel. |
register_payment |
Odoo's Register Payment for posted invoices/bills (full or partial). |
mark_activity_done |
Mark an activity as done. |
timer_start / timer_stop |
Timers on tasks, tickets, or timesheets. |
create_task |
Task or subtask (project by id or name, assignees, tags, stage, deadline, blockers). |
set_task_milestone / set_task_dependencies / schedule_task |
Milestone; "blocked by" tasks; Gantt dates (Enterprise). |
create_milestone / reach_milestone |
Project milestones. |
create_ticket |
Helpdesk ticket. |
create_lead |
CRM lead or opportunity. |
create_article |
Knowledge article, workspace or private (Markdown body). |
upload_document |
Upload a local file (from an allowed folder) to Odoo Documents. |
create_tag / add_tag |
Tags for tasks, tickets, or leads. |
schedule_activity |
To-do, call, or other activity on any record. |
Moving a task or ticket to another stage, changing assignees, and other field changes
use update_records (find ids with list_project_stages, list_crm_stages, or
name_search). Chatter, attachments, and URLs use the generic tools for every model.
The CLI's security commands (create users, set passwords, groups) are not exposed:
they are admin operations that an assistant should not run.
Delete (--allow-delete)¶
| Tool | Purpose |
|---|---|
delete_records |
Permanently delete records. |
Without --allow-delete, the write tools also refuse to delete: call_method rejects
unlink methods, and values with the x2many delete command [2, id, 0] are refused.
Note that Odoo itself deletes one2many lines (for example invoice lines) that you remove
from a record you may edit.
Safety¶
- The server is read-only unless you pass
--allow-write. Deletion needs its own flag. - All actions run as the configured Odoo user, with that user's access rights. Use a dedicated user or service account with only the rights you need.
- Tools carry MCP hints (read-only / destructive) so clients can ask for confirmation. In Claude Desktop, you approve each tool call, or allow a tool permanently.
- Posting assigns a final sequence number. Payments are real accounting entries.
The server tells the model to confirm these with you first, but keep approvals on
for
post_account_moves,register_payment,cancel_account_moves, andcall_method. - Local files: downloads go only into the download folder (subfolders allowed), never
overwrite an existing file, and never follow symlinks out of the folder.
attach_filereads only from the upload folders and refuses hidden files and folders (such as~/.sshor.env). This limits what a prompt injection in Odoo data could make the model read or write. - Errors from Odoo reach the model (so it can fix its call), with your password, API key, and configured HTTP header values redacted. Unexpected errors return a generic message.
register_paymentrefuses moves that are not posted or have nothing left to pay. (Odoo 18's payment wizard would otherwise create a payment for a cancelled invoice.)
Example prompts¶
What are my open tasks in the "Website" project, by deadline?
Create a task "Migrate DNS" in Website, assign it to me, due Friday, blocked by task 412.
Which opportunities are stale? Schedule a call activity for each salesperson.
Which customer invoices are overdue? Group them by customer with the open amounts.
Create a draft bill from Hetzner for 49.90 EUR, dated today, on account 6810,
attach ~/Downloads/hetzner-invoice.pdf, and show it to me before posting.
Register a payment for INV/2026/00042 on 2026-11-18 via the Bank journal.
Post a note on BILL/2026/0012: "Checked against the contract."