Before you start
This guide is for the hosted Odoo Online MCP Gateway. It is the right path for*.odoo.com databases where custom Odoo modules cannot be installed. If you run self-hosted Odoo, Odoo.sh, or on-premise Odoo, use the native MCP Server documentation instead.
Confirm your Odoo plan first.The gateway uses Odoo's External API. Odoo documents supported External API access on the Custom plan; One App Free and Standard do not include supported access. Seeing an API-key field is not proof that the subscription includes API access.
- A verified KSRO account and a workspace.
- Access to your Odoo administrator or a dedicated integration user.
- The Odoo Online root URL, database name, integration-user login, and API key.
- A recent Claude, ChatGPT, or Gemini CLI account that can use remote MCP connectors.
Use a dedicated Odoo integration user with the least privilege required for the job. KSRO inherits that user's Odoo groups, ACLs, and record rules. It does not elevate the user to Super Administrator.
1. Complete the shared KSRO setup
These steps are identical regardless of which AI client you use. Finish them before opening Claude, ChatGPT, or Gemini.
1Create and verify a KSRO workspaceRegister with a work email, verify it, and create a workspace at app.ksrolabs.com.
2Connect and validate Odoo OnlineEnter the Odoo root URL, database name, integration-user login, and API key. KSRO runs live authentication, metadata, and sample-read checks before client authorization.
3Add the remote MCP endpointAdd https://app.ksrolabs.com/mcp to Claude, ChatGPT, Gemini CLI, or another compatible MCP client. Do not use a KSRO login URL or paste an Odoo API key into the client.
Use this endpoint exactlyhttps://app.ksrolabs.com/mcp
Do not use the KSRO login URL, setup-guide URL, an Odoo URL, a local URL, or a URL copied from an OAuth redirect.
How to create the Odoo API key
- Sign in to Odoo Online as the integration user.
- Open the user preferences or account security area.
- Create an API key and copy it immediately into your password manager.
- Paste it only into the authenticated KSRO Odoo setup screen.
- Save and validate, then wait for every live check to pass.
KSRO does not ask for the Odoo password. If the API key is lost or exposed, revoke it in Odoo and create a replacement, then run validation again in KSRO.
2. Connect Claude
Claude web and Claude Desktop use the remote connector flow. The OAuth callback is handled automatically by Claude and KSRO.
1Open Claude settingsOpen Settings and choose Connectors or Custom connectors.
2Add a custom connectorChoose Add custom connector and enter the KSRO endpoint.
3Complete OAuthChoose Connect, sign in to KSRO with the verified workspace email, and approve read-only access.
4Enable the connectorReturn to Claude, enable the connector for your conversation, and confirm that the read tools are visible.
https://app.ksrolabs.com/mcp
Organization approvalClaude Team and Enterprise workspaces may require an organization owner or administrator to approve a custom connector. That is a Claude workspace policy, not an Odoo validation failure.
3. Connect ChatGPT
ChatGPT custom MCP availability depends on the current account, plan, workspace permissions, and product rollout.
1Open the tools or connectors areaIn ChatGPT, look for Apps, Connectors, Plugins, or Add custom MCP server. The label varies by product surface.
2Add the remote serverEnter the KSRO endpoint exactly and save or install the connector.
3Authorize KSROChoose Connect, sign in with the verified KSRO workspace email, and approve the read-only consent request.
4Refresh the tool catalogueStart a new conversation or refresh tools if the connector is not visible immediately.
https://app.ksrolabs.com/mcp
No custom MCP option?Check the ChatGPT plan and workspace-admin settings. The feature is not exposed in every account or interface. Do not add the Odoo API key to a Custom GPT instruction and do not keep retrying OAuth with the wrong ChatGPT surface.
4. Connect Gemini CLI
Gemini CLI is the documented Gemini path for a remote HTTP MCP server. Gemini web or mobile may not expose arbitrary custom MCP URLs in every account.
Option A: add the server from the command line
gemini mcp add --scope user --transport http ksro-odoo https://app.ksrolabs.com/mcp
gemini mcp auth ksro-odoo
gemini mcp list
Complete the browser OAuth flow when it opens. In a running Gemini CLI session, use /mcp to inspect the connection and /mcp reload after changing the file.
Option B: add a user-level settings entry
Put the following in ~/.gemini/settings.json:
{
"mcpServers": {
"ksro-odoo": {
"httpUrl": "https://app.ksrolabs.com/mcp"
}
}
}
gemini mcp auth ksro-odoo
Gemini CLI versions can change command flags. If a command is not recognized, use gemini --help and keep the server property as httpUrl. Never put an Odoo API key or KSRO bearer token in the settings file.
Gemini web is different from Gemini CLIIf Gemini web or mobile does not show an Add custom MCP option, that product surface is not enabled for the account. Use Gemini CLI or contact KSRO; changing the Odoo connection will not make a missing client feature appear.
5. Understand access, writes, and sessions
A successful OAuth connection is not the same thing as unrestricted Odoo access. Each layer remains deliberate.
KSRO access layers| Layer | What it controls | Default |
|---|
| Odoo user | Groups, ACLs, record rules, companies, and source permissions | Chosen by the customer |
| KSRO validation | Whether the connection is live and safe to authorize | Required before OAuth |
| OAuth session | Which verified KSRO workspace may use the MCP endpoint | Short-lived access with refresh |
| Write policy | Exact models and create/update operations | Disabled |
| Usage policy | Trial, billing status, and MCP call limits | Enforced per workspace |
Read-only first
Read tools are intended for sales, accounting, inventory, purchasing, CRM, product, and performance analysis. Start with a small query and confirm that the returned records match what the Odoo integration user is allowed to see.
Write access is explicit
Create and update tools are not enabled merely because an Odoo user is an administrator. A paid workspace needs KSRO admin approval for exact models and operations, the Odoo user must allow the action, and the tool uses a prepare-and-confirm flow with an audit record. KSRO does not promise unrestricted delete or Super Administrator behavior.
Sessions do not require daily re-entry
After OAuth, the client stores the connector and refreshes access automatically. The default KSRO refresh window is 30 days. Reauthorization can be required after that window, revocation, workspace blocking or expiry, an Odoo credential change, or deletion of the client's saved connector credentials.
6. Troubleshooting
Odoo validation failed
Read the named blocker in the KSRO workspace. Check the Odoo plan, root URL, database name, login/API-key pair, and integration-user permissions. Fix the source issue and run validation again.
OAuth says the client is unknown or redirects to an error
Use https://app.ksrolabs.com/mcp exactly. Remove an old connector entry and add it again so the client discovers current OAuth metadata. Do not paste an OAuth callback URL into the MCP server field.
OAuth succeeds but no tools appear
Confirm the workspace is validated and the connector is tied to the same KSRO account. Refresh the tool list or reconnect the client. In Gemini CLI, run gemini mcp list and /mcp.
The screen says write access needs admin approval
That message means writes are disabled, not that read access is unavailable. Reconnect through the read-only path. If the validated workspace still shows the write message during normal read authorization, send KSRO the exact screen and approximate time.
The trial or call limit blocks the request
Check workspace billing and usage status. Do not create duplicate workspaces to bypass a limit. Contact KSRO to activate the appropriate quarterly, six-month, or annual plan.
7. Security checklist
- Never send an Odoo password, API key, KSRO token, OAuth code, or client secret by email, chat, or screenshot.
- Enter the Odoo API key only in the authenticated KSRO setup screen.
- Use a dedicated, least-privilege Odoo integration user.
- Leave writes disabled until the exact model and operation have been tested.
- Rotate the Odoo API key in Odoo if exposure is suspected, then validate again.
- Review KSRO activity logs after testing and report unexpected calls.
- Remember that data returned into an AI conversation is subject to the selected provider's own plan and retention policy.
What to send supportSend the client and surface, client version/plan, workspace email, exact endpoint, exact error text, approximate time, screenshot with secrets hidden, and any KSRO request ID. Never send a password or API key.
8. Frequently asked questions
Can I connect Claude, ChatGPT, and Gemini to the same Odoo Online workspace?
Yes. Use the same hosted MCP endpoint in each client and complete OAuth separately in each client. The workspace and Odoo integration user remain the same, while each client receives its own authorization session.
Do I enter my Odoo password or API key into Claude, ChatGPT, or Gemini?
No. Enter the Odoo API key only in the authenticated KSRO Odoo setup form. The AI client receives an OAuth authorization for KSRO and never receives the Odoo password or raw API key.
Why does the connector say write access needs admin approval when I only need read access?
Read and write are separate policies. A validated workspace is read-ready by default, while write tools require paid KSRO admin approval for exact Odoo models and operations. Reconnect through the normal read-only path and contact support if the read-only consent still shows the write message.
Will I have to sign in every time I open Claude or ChatGPT?
Normally no. The client stores the authorized connector and refreshes its access token. KSRO uses a short-lived access token and a default 30-day refresh window; reauthorization is expected after expiry, revocation, client credential deletion, or a workspace or Odoo connection change.
Does the Gemini web app support custom MCP servers?
Availability depends on the Gemini product, account, and rollout. Gemini CLI is the documented path for a remote HTTP MCP server. If Gemini web or mobile does not show a custom MCP option, use Gemini CLI or contact KSRO rather than changing Odoo credentials.
Does KSRO copy my entire Odoo database into the server?
No. The hosted gateway makes live, permission-checked Odoo API calls when an MCP tool is used. It does not pre-load a full database into the AI client. Records returned in a conversation are then handled by the selected AI provider according to that provider’s own plan and retention policy.