Skip to main content
For a remote managed MCP server that uses OAuth, Claude Desktop signs each user in through the browser: the user clicks Connect, signs in to the server’s identity provider (the OAuth service its vendor runs, for example Google or Box), and Claude Desktop stores the resulting token encrypted on the device. What you configure depends on that identity provider. Some register Claude Desktop as a client automatically, some require an OAuth client that you register, and some also require that client’s secret. This page is for administrators who add servers on the Connectors page of the Enterprise Admin Console. The in-app configuration window has the same fields, and in an MDM or bootstrap configuration they are the oauth keys of a managedMcpServers entry. For the redirect URI, discovery, and token handling in detail, see OAuth sign-in.

Choose the OAuth setting

In the Enterprise Admin Console (claude.aiOrganization settings), open the Connectors page under Desktop 3P. Each remote entry under Managed MCP servers has an OAuth menu. Choose the setting that matches what the server’s identity provider requires. Leave the OAuth menu set to None for a server that needs no sign-in or that authenticates with request headers. The menu also lists Anthropic-hosted client identity (requires Claude.ai sign-in), which this page doesn’t cover. Choose Bring your own client when the identity provider’s documentation has you create an OAuth app, client, or integration and copy its client ID. You also need the secret when that client comes with one and the identity provider offers no public or PKCE-only client type. Otherwise start with Auto-register (dynamic client registration). Single-tenant Microsoft Entra apps and identity providers that publish no discovery document need the extra fields listed under OAuth fields. Test each server yourself before you announce it: sign in to Claude Desktop as a member of the organization and click Connect. The Enterprise Admin Console has no connection test for MCP servers. If the setting doesn’t match the server, Connect fails as described under Troubleshoot sign-in.

Where the client secret goes

Add a client secret only when the identity provider refuses sign-in without one. The console stores a value in Client secret only for a Google OAuth client of the Desktop app type: the value begins with GOCSPX-, Authorization server is exactly ["https://accounts.google.com"], and Tenant ID is empty. Google doesn’t treat a Desktop-app client secret as confidential, so the console accepts it. A Google Web application client’s secret has the same GOCSPX- prefix but is confidential, so always create a Desktop app client. For every other identity provider the secret stays on the device. Install a script that prints the secret, at the same absolute path on every device, and enter that path in the Client secret helper script field. The script must print exactly one JSON object, {"clientSecret": "…"}, on stdout and exit with code 0 within 30 seconds. Claude Desktop runs it each time the server connects or refreshes its sign-in in the background. The console stores only the path, so distribute the script through your device management, as described under When a helper script is the right choice, and see Connect to Box for a minimal script. A configuration delivered by MDM or a bootstrap server can instead carry any identity provider’s secret inline in oauth.clientSecret. Authorization server is required whenever Client secret or Client secret helper script is set. Claude Desktop sends the secret only to the token endpoint of the issuer you name there, so a misconfigured or compromised MCP server can’t redirect the token exchange, and the secret, to another server.

OAuth fields

These fields appear when OAuth is set to Bring your own client. The managedMcpServers reference lists every oauth key and its minimum Claude Desktop version.

Settings for common servers

Add each server in this table with Add → Blank, the Streamable HTTP transport, and the values shown.

Troubleshoot sign-in

These messages appear in Claude Desktop, or in main.log in the logs directory on the user’s device. Connect to Google Cloud and Connect to Box walk through two servers that need a client you register and its secret. Connect to GitHub and Connect to Microsoft 365 cover those connectors end to end, including the built-in servers that run inside the app. Some partners publish a plugin marketplace rather than an MCP server; add those on the Plugins page, as described under Plugin marketplaces.