Submit a toolSubmit

Cursor MCP needs authentication. Finish OAuth or fix static auth

Cursor MCP Needs authentication means the host is up. Finish browser OAuth from Customize → MCPs, or add static client credentials and the redirect URLs. Short answer: 5 steps. 1) Confirm it is an auth prompt, not a failed connection; 2) Complete browser OAuth from Customize → MCPs; 3) If the provider needs a fixed Client ID, add static auth in mcp.json; 4) Register Cursor’s fixed redirect URLs on the provider; 5) Separate Cloud Agent sign-in from your local machine.

Last updated: · This page is the decision checklist; the tools list for “Fix Cursor MCP Needs authentication (OAuth)” is a separate URL.

The problem: Cursor MCP Needs authentication means the host is up. Finish browser OAuth from Customize → MCPs, or add static client credentials and the redirect URLs.
Official docs: cursor.com, cursor.com

How do I finish browser OAuth or static auth when Cursor MCP needs authentication?

  1. Confirm it is an auth prompt, not a failed connection

    Open Customize → MCPs (or the MCP entry in Settings). If Cursor shows Needs login / Needs authentication or an Authenticate / Connect action for a remote `url` server, the host responded and still needs OAuth or a valid token. A crash, timeout, or “Failed to connect” in MCP Logs is a different problem—fix the URL, transport, and process first. Docs: https://cursor.com/docs/mcp

  2. Complete browser OAuth from Customize → MCPs

    For marketplace one-click installs and remote servers that support dynamic client registration, click Connect / Authenticate on the server and finish the provider’s browser consent. Cursor uses the OAuth authorization-code flow with PKCE and renews access tokens with the refresh token when the server issues one. Help: https://cursor.com/help/customization/mcp

  3. If the provider needs a fixed Client ID, add static auth in mcp.json

    Providers that require a pre-registered OAuth app (Figma and Linear are the documented examples) or that do not support Dynamic Client Registration need an `auth` object on the remote entry: `CLIENT_ID` (required), optional `CLIENT_SECRET`, and optional `scopes`. Prefer `${env:…}` interpolation for secrets. If refresh tokens require a scope such as `offline_access`, put it in `auth.scopes`.

  4. Register Cursor’s fixed redirect URLs on the provider

    Cursor’s MCP OAuth callbacks are `http://localhost:8787/callback` (desktop) and `https://www.cursor.com/agents/mcp/oauth/callback` (web and Cursor Agents). Whitelist both if people authenticate from desktop and Agents. With a static `CLIENT_ID`, the desktop app sends only the desktop callback—keep that URL allowed on the OAuth app.

  5. Separate Cloud Agent sign-in from your local machine

    Cloud Agents keep their own MCP sign-ins on Cursor’s servers. Signing out locally does not sign them out; open Customize and log out on the server’s Cloud row (labeled Cursor’s servers for some servers), then re-authenticate there. Check Output → MCP Logs if a retry still fails after a successful desktop sign-in.

Which tools are best to fix Cursor MCP Needs authentication (OAuth)?

Model Context Protocol (MCP)

Remote server OAuth, static auth object, fixed redirect URLs, and Cloud Agent sign-in separation.

MCP integrations help

One-click install, mcp.json locations, authentication prompts, and MCP Logs.

Cursor Marketplace

Official plugins with one-click install and OAuth when the provider requires it.

Cloud Agents overview

Where Cloud Agent MCP credentials live separately from your desktop sign-in.

All tools for “Fix Cursor MCP Needs authentication (OAuth)” →

Related fixes

See also AI tools launched today on the daily board.