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.
How do I finish browser OAuth or static auth when Cursor MCP needs authentication?
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
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
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`.
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.
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.
Open: 1 spot per week
One labeled sponsor for this topic each week; this week's spot is open. See open weeks →
All tools for “Fix Cursor MCP Needs authentication (OAuth)” →
Related fixes
- Stop a Cursor agent loopHow to fix a Cursor agent loop (same edit, or work after Stop)Fix →
- Claude Code vs Codex vs Cursor ~$20 plansClaude Code vs Codex vs Cursor $20 plan limits: how to pick without burning the weekFix →
- Scan a vibe-coded app for leaked API keysCheck a vibe-coded app for leaked API keys before you share itFix →
- Add an MCP server to Claude Code, Cursor, or CodexHow to add an MCP server to Claude Code, Cursor, or CodexFix →
See also AI tools launched today on the daily board.
NewAIToolsToday Daily
Top 3 AI launches, one model or news item that matters, and one simple fix. A 5-minute read, every weekday.