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
  1. Where the key is
  2. Servers
  3. eCommerce tools
  4. Odoo Agent tools
  5. Cursor
  6. Claude Desktop
  7. Rotate or revoke

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

ServerURLWho it acts as
eCommercehttps://<YOUR_HOST>/mcp/commerceThe workspace’s connected store
Odoo Agenthttps://<YOUR_HOST>/mcp/erpThe 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.

ToolWhat it does
search_productsSearch published in-stock products by name, SKU, or keywords
get_product_detailsFull product details by Odoo product.product id
check_inventoryReal-time stock for a product
list_product_variantsSize or color variants for a product template
list_categoriesShop categories from Odoo
recommend_productsProduct recommendations for a shopping intent
find_compatible_productsAccessories or related products for an item
fetch_order_statusPayment and delivery status for a sale order
list_my_ordersA customer’s past orders. Requires customer_phone
list_available_toolsLists 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.

ToolWhat it does
search_recordsSearch records that user can see
count_recordsExact count for a domain
aggregate_recordsGrouped aggregation (read_group)
read_recordRead one record by id
describe_modelModel fields, excluding secrets
read_messagesChatter on a record
list_pdf_reportsPrintable PDF reports for a model
generate_pdf_reportOfficial PDF printouts
generate_insight_pdfOne PDF built from live rows (stock, unpaid invoices, rankings)
create_recordCreate a record that login may create
write_recordUpdate records that login may write
unlink_recordDelete records that login may delete
execute_methodRun a button or method that login can click
execute_wizardCreate and run a standard Odoo wizard
list_available_toolsLists 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-mcp
  • POST /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?