Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Linear MCP auth fails with Invalid redirect URI
I’m unable to connect the Linear MCP plugin because OAuth fails with a redirect URI mismatch.
What I’m seeing
- Error:
Invalid redirect URI. The redirect URI provided does not match any registered URI for this client. - Failing authorize URL includes:
redirect_uri=cursor%3A%2F%2Fanysphere.cursor-mcp%2Foauth%2Fcallbackclient_id=ANvXXXXXX(redacted)
- Consent screen app is Cursor (expected app)
Environment
- Cursor on macOS (
darwin 25.3.0) - Linear workspace:
lucyworks - Linear plugin/MCP server:
plugin-linear-linear
What I already tried
- Re-approved Cursor app in Linear third-party app approvals
- Restarted Cursor
- Removed/re-added the Linear plugin
- Re-ran auth multiple times
Observed result
- MCP server status remains “needs authentication”
- Auth flow repeatedly fails on redirect URI mismatch
Request
Could you verify the Linear OAuth client config for client_id=ANv... includes:
cursor://anysphere.cursor-mcp/oauth/callback
This looks like a provider-side OAuth client redirect registration mismatch rather than a workspace approval issue.
I can share the full authorize URL/logs privately if needed.
Steps to Reproduce
Steps to reproduce
- Open Cursor on macOS.
- Install/enable the Linear plugin (MCP server:
plugin-linear-linear). - Start auth (connect Linear) from Cursor.
- Browser opens Linear OAuth consent page for Cursor app.
- Click Authorize.
- OAuth fails with:
Invalid redirect URI. The redirect URI provided does not match any registered URI for this client. - The authorize URL includes:
redirect_uri=cursor%3A%2F%2Fanysphere.cursor-mcp%2Foauth%2Fcallback
andclient_id=ANvXXXXXX(redacted). - Return to Cursor: plugin remains unauthenticated / “needs authentication”.
Expected Behavior
Linear auth completes and plugin becomes authenticated.
Operating System
MacOS
Version Information
Version: 3.1.17
VSCode Version: 1.105.1
Commit: fce1e9ab7844f9ea35793da01e634aa7e50bce90
Date: 2026-04-19T19:33:58.189Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
