Connect Claude, Cursor, Codex, and Automation Clients
Connect Claude with OAuth, configure Cursor through mcp.json, and use scoped API keys for Codex, n8n, scripts, and other MCP clients.
All compatible clients use the same Odoo MCP endpoint. Use OAuth for interactive users and a dedicated scoped API key for services or automations.
Connect Claude
- Open Claude Settings and go to Connectors.
- Choose Add custom connector.
- Enter the MCP URL: https://your-odoo-domain.com/mcp
- Choose Connect and complete the Odoo OAuth login and consent flow.
- Enable the required tools and test with a read-only request such as odoo_whoami.
Connect Cursor
Create an MCP configuration for the project or user profile. Add a server named niyu-odoo with this URL:
https://your-odoo-domain.com/mcpFor OAuth-capable setups, save the configuration, refresh MCP servers, and complete the browser login when prompted.
For API-key authentication, add this request header in the client configuration:
Authorization: Bearer niyu_mcp_REPLACE_WITH_SECRETKeep the key outside source control. Use a dedicated Odoo execution user, the minimum required scopes, an expiry date, and an IP allowlist where practical.
Connect Codex, n8n, LangChain, crewAI, scripts, and other clients
Use Streamable HTTP with the same MCP URL. Choose OAuth when the client supports it. Otherwise, send a dedicated scoped API key in the Authorization Bearer header.
Create a separate API key for every client or automation. This makes each connection independently revocable and auditable.
Optional local bridge
For development or localhost workflows, run the included mcp_bridge.py as a local STDIO server. Configure ODOO_URL and ODOO_API_KEY in the local process environment. Keep mutations and deletes disabled until the workflow has been tested safely.
Connect ChatGPT to Odoo
Add the Odoo MCP endpoint as a custom ChatGPT app, complete OAuth, scan tools, test read access, and publish it safely for a workspace.
MCP Tools, Prompts, Resources, and Example Requests
Understand the tool categories exposed to AI, built-in prompts and resources, and safe example requests for common Odoo workflows.
