Help center
MCP
The MCP servers, the bearer key, Cursor and Claude Desktop config, and how rotation works.
Updated 22 November 2026
On this page
Connect Cursor or Claude. The player loads from youtube-nocookie.com when you press play. All how-to videos
MCP is how Cursor, Claude Desktop, and other clients call doomcp tools over HTTP. Commerce MCP is a paid eCommerce feature. Free can still search in the website widget. The Odoo Agent MCP server exists in the API. The product UI still marks that agent coming soon.
Where the key is
The workspace has one MCP API key. On the eCommerce Agent page it is labeled Copy API key. The same value is shown on the Odoo Agent and Lead Agent pages. /dashboard/keys redirects to /dashboard/commerce.
The key is a bearer token. It is not the widget key.
Never put the MCP key in a web page, a tag manager, or a mobile app. The website snippet uses <WIDGET_KEY> only. See Install on your website.Servers
| Server | URL | Who it acts as |
|---|---|---|
| eCommerce | https://<YOUR_HOST>/mcp/commerce | The workspace’s connected store |
| Odoo Agent | https://<YOUR_HOST>/mcp/erp | The Odoo user in the extra headers |
<YOUR_HOST> is the doomcp origin. Send Authorization: Bearer <MCP_API_KEY> on both.
eCommerce tools
These are the tools registered on the commerce MCP server. Prices, stock, and order status are read live from Odoo. For customer-specific tools, pass customer_phone in E.164. Logged-in apps should use partner_id through the Mobile Chat session API instead of this server.
| Tool | What it does |
|---|---|
search_products | Search published in-stock products by name, SKU, or keywords |
get_product_details | Full product details by Odoo product.product id |
check_inventory | Real-time stock for a product |
list_product_variants | Size or color variants for a product template |
list_categories | Shop categories from Odoo |
recommend_products | Product recommendations for a shopping intent |
find_compatible_products | Accessories or related products for an item |
fetch_order_status | Payment and delivery status for a sale order |
list_my_orders | A customer’s past orders. Requires customer_phone |
list_available_tools | Lists the read-only commerce tools on this server |
list_available_tools notes that cart and checkout session tools are not on this server. They go through Mobile Chat and WhatsApp. fetch_order_status and list_my_orders need a paid eCommerce plan.
Odoo Agent tools
Calls run as the Odoo employee you name. Send X-Odoo-User-Login and X-Odoo-User-Token with the MCP bearer. Access matches that user’s rights in Odoo, including writes.
| Tool | What it does |
|---|---|
search_records | Search records that user can see |
count_records | Exact count for a domain |
aggregate_records | Grouped aggregation (read_group) |
read_record | Read one record by id |
describe_model | Model fields, excluding secrets |
read_messages | Chatter on a record |
list_pdf_reports | Printable PDF reports for a model |
generate_pdf_report | Official PDF printouts |
generate_insight_pdf | One PDF built from live rows (stock, unpaid invoices, rankings) |
create_record | Create a record that login may create |
write_record | Update records that login may write |
unlink_record | Delete records that login may delete |
execute_method | Run a button or method that login can click |
execute_wizard | Create and run a standard Odoo wizard |
list_available_tools | Lists the Odoo Agent tools on this server |
Cursor
The dashboard labels this snippet cursor-mcp.json. Paste it into Cursor’s MCP server config. The homepage architecture sample is illustrative and uses a different shape. Use this one.
{
"mcpServers": {
"doo-mcp-commerce": {
"url": "https://<YOUR_HOST>/mcp/commerce",
"headers": {
"Authorization": "Bearer <MCP_API_KEY>"
}
}
}
}Add the Odoo Agent server in the same mcpServers object when you need it:
{
"mcpServers": {
"doo-mcp-erp": {
"url": "https://<YOUR_HOST>/mcp/erp",
"headers": {
"Authorization": "Bearer <MCP_API_KEY>",
"X-Odoo-User-Login": "your.odoo.login",
"X-Odoo-User-Token": "<ODOO_API_KEY>"
}
}
}
}Claude Desktop
Claude Desktop reads claude_desktop_config.json. Use the same mcpServers object as Cursor. Restart Claude Desktop after you save the file.
Rotate or revoke
Rotating replaces the key. The previous key stops working immediately. There is no second control that revokes the key and leaves the workspace without one.
The owner-only endpoints are:
POST /api/v1/keys/rotate-mcpPOST /api/v1/keys/rotate-widget
Both require the owner’s dashboard session, not the MCP key itself. The dashboard does not show a Rotate button yet.
The dashboard does not show a Rotate or Revoke button yet. That control still needs to be added, with a confirm step before the widget key changes.
Rotating the MCP key emails an in-app security notice that connected clients need the new key. Rotating the widget key updates the default chatbot’s widget key as well. Every installed snippet that used the old widget key must be replaced. See Install on your website.
Was this helpful?