Why connect Cursor to Odoo?
Developers building Odoo integrations, modules, or automation scripts constantly need to look things up: which field stores the invoice state? What domain filter returns only confirmed sale orders? What is the exact model name for purchase order lines?
Cursor's native MCP support changes this entirely. When you connect Cursor to your live Odoo instance via the KSROlabs MCP Server, Cursor can query real Odoo models, real field names, and real records — right alongside your code. No tab switching, no copy-pasting from Odoo documentation, no manual data exports.
Ask Cursor to "describe the sale.order model" and it will return actual field metadata from your Odoo instance. Ask it to "find all unpaid invoices over £5,000" and it will run the query against live data and show you the results in-editor.
What developers can do with Cursor + Odoo MCP
Once connected, Cursor becomes a significantly more capable Odoo development assistant:
Query live Odoo schema while building integrations
Ask Cursor to describe any Odoo model and it will return the actual field list, types, and relations from your live instance — not from potentially outdated documentation.
Test Odoo domain filters and get real data back
Write a domain filter in your code, ask Cursor to test it against Odoo, and see the real matching records immediately. Debug filter logic without deploying and running scripts manually.
Write Python automation scripts with live field names
Cursor uses the real field names from your Odoo instance when generating scripts — no more typos in model names or stale field references that cause runtime errors in production.
Debug Odoo data issues without leaving the editor
Investigate data inconsistencies, missing values, or unexpected record states by asking Cursor to fetch the relevant Odoo records inline — then fix the code in the same editor window.
Step-by-step setup guide
Follow these 5 steps to connect Cursor to your live Odoo instance in under 20 minutes.
Get the MCP Server module from the Odoo App Store
Purchase the KSROlabs MCP Server for Odoo from the Odoo App Store. Download the module for your Odoo version (16.0, 17.0, or 18.0) and install it via Apps → Upload Module, or directly through the App Store if your instance has internet access.
Create a scoped API key in Odoo Settings → MCP Server
Go to Settings → Technical → MCP Server. Enable the MCP endpoint, then create a new API key named "Cursor". Select the Odoo models this key may access — for example sale.order, res.partner, product.product. Copy the bearer token; it is only shown once.
Open Cursor → Settings → MCP Servers → Add server with Odoo URL and bearer token
In Cursor, open the Command Palette and navigate to Settings → MCP Servers. Click "Add MCP Server". Set the server URL to your Odoo MCP endpoint (e.g. https://your-odoo.com/mcp/v1) and set the Authorization header to "Bearer <your-token>". Save and reload Cursor.
Test with a prompt: "List the 5 most recent sales orders in Odoo"
Open a new Cursor chat (Cmd/Ctrl+L) and type: "List the 5 most recent sales orders in Odoo." Cursor will invoke the search_records MCP tool against your live Odoo instance and display the results inline. If you see real Odoo data, the integration is working.
Use Cursor to write automation scripts against live Odoo data
Now that Cursor has live context about your Odoo schema and data, you can ask it to write Python scripts, Odoo modules, or shell automations that reference real field names, real IDs, and real records — no more guessing at model structures or copy-pasting from documentation.
Frequently asked questions
Does Cursor support MCP natively?
Yes — Cursor has built-in MCP support. You can add any MCP-compatible server directly in Cursor Settings → MCP Servers. Once configured, Cursor can call MCP tools automatically when it determines they are relevant to your prompt, without any additional plugins or extensions.
Can Cursor write to Odoo or only read?
Both reads and writes are supported. The KSROlabs MCP Server exposes create_record and update_record tools in addition to search_records. You control write permissions per API key — you can make the Cursor key read-only for sensitive models, or allow writes only for specific ones like sale.order or crm.lead.
Is Cursor MCP the same as Claude MCP?
The MCP protocol is identical — MCP (Model Context Protocol) is an open standard, not specific to any AI product. The KSROlabs MCP Server works the same way whether you connect from Cursor, Claude Desktop, Claude API, or any other MCP-compatible client. You can even share the same Odoo MCP Server between multiple AI tools using separate API keys.
What Odoo models can Cursor access?
Cursor can access any Odoo model that is included in the API key's scope. You define the allowed models when creating the key in Odoo Settings → MCP Server. Common choices include sale.order, res.partner, account.move, product.product, stock.quant, and mrp.production — but any installed Odoo model can be exposed.
Do I need Cursor Pro to use MCP?
MCP support in Cursor is available on all paid plans. The free tier has limited MCP usage. A Cursor Pro subscription is recommended for regular development use as it provides higher request limits and access to the most capable underlying models. Check the Cursor pricing page for the latest plan details.