Browser Login (OAuth) — claude.ai, ChatGPT

The Browser login path is the simplest connection type for AI tools that natively support the Model Context Protocol with OAuth 2.1 dynamic registration. The AI tool registers itself, opens an Odoo login window for the user, and stores its own credentials internally.

When to use this

Pick Browser login when your AI tool is one of:

  • claude.ai (web)

  • ChatGPT (Connectors / Custom GPT)

  • Claude Desktop (when you add a remote MCP server)

  • Any other MCP-compliant client that lets you paste a single MCP Server URL and triggers a browser-based login.

End-to-end workflow

Step 1 — (Admin) Run the wizard

  1. Open MCP Server ‣ Configuration ‣ Connections and click Connect a New Tool.

  2. On Step 1 — Pick auth type, click the Browser login (OAuth, auto-setup) card.

  3. The wizard jumps straight to the Done step and displays the MCP Endpoint URL.

  4. Click Finish.

    Browser login Done step displaying the MCP Endpoint URL with copy-to-clipboard widget

Note

At this point no connection record is created yet. The record is created the first time an AI tool actually calls /oauth/register against your endpoint.

Step 2 — (End user) Paste the URL into the AI tool

In the AI tool’s interface, find the field labeled Add custom connector, MCP Server URL, Add MCP server, or similar, paste the URL, and confirm.

AI tool's "Add custom connector" / "MCP Server URL" dialog with the Odoo MCP endpoint URL pasted into the input field and the Connect / Add button visible

Step 3 — (End user) Log in via the browser

The AI tool opens a browser tab pointing at your Odoo. The OAuth Consent Screen asks for permission:

  • It shows the AI tool’s display name (e.g. claude.ai).

  • It lists the requested scope (typically Full Access (mcp:write)).

  • It shows your Odoo account name and the company it belongs to.

    OAuth Consent Screen on Odoo with the "Allow" button highlighted
  • Click Allow. The browser closes, control returns to the AI tool, and the connection appears in MCP Server ‣ Configuration ‣ Connections with the status Connected.

Connection with Connected Status

Step 4 — (Admin) Optional: tighten the connection

Once the connection is created, you can open it from the Connections list and:

  • Restrict it to a subset of tools (Permissions group).

  • Restrict it to a subset of Odoo models.

  • Require approval before specific high-risk tools execute.

  • Restrict it to a set of IP addresses (IP Restrictions group).

The end user does not have to do anything new — the next request honours the tightened policy automatically.

Tip

If you need to change a dynamic client’s redirect URIs, revoke the connection and let the AI tool re-register on next connect. Trying to edit them by hand will be rejected.

Disabling dynamic registration

If your organisation does not want AI tools to self-register, you can disable the feature globally:

  1. Open MCP Server ‣ Configuration ‣ Server Settings.

  2. Under Features, switch off Allow Dynamic Client Registration.

With dynamic registration off, every OAuth connection must be created by an admin through the wizard’s Custom OAuth path.