Vercel MCP OAuth fails: “App configuration error – redirect URL is invalid”

Where does the bug appear (feature/product)?

BugBot

Describe the Bug

I can’t connect Vercel MCP in Cursor because OAuth keeps failing with “The app redirect URL is invalid”.
Authorize URL sample:

Steps to Reproduce

  1. Add Vercel MCP via “Add to Cursor”
  2. In Cursor, click “Needs login”
  3. Browser opens Vercel OAuth authorize page
  4. Error appears: “The app redirect URL is invalid”

Expected Behavior

OAuth should complete and return to Cursor via cursor:// callback, then Vercel MCP should connect.

Operating System

Windows 10/11

Version Information

  • OS: Windows 10 (10.0.19045)
  • Cursor version: 3.2.11
  • Browser: Chrome

For AI issues: add Request ID with privacy disabled

  • Composer request ID: [paste here]
  • Apply request ID: [paste here, or remove if none]

Additional Information

Could you check whether Cursor’s Vercel OAuth client redirect URI is correctly configured?

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report. This isn’t a Cursor-side bug. Cursor returns the cursor://anysphere.cursor-mcp/oauth/callback redirect correctly, and OAuth works fine for other MCP providers that have this URI registered.

The “The app redirect URL is invalid” error is coming from Vercel’s authorize endpoint before the callback ever returns to Cursor. This means Vercel hasn’t whitelisted cursor://anysphere.cursor-mcp/oauth/callback as a valid redirect URI in their OAuth client config for the MCP integration client_id=cl_KcWL599JrCOhI4n2lXPJJ8rkF4SqSbOf. Redirect URI registration is done on the provider side, so we can’t fix this unilaterally.

We saw the exact same issue recently with Linear MCP Linear MCP auth fails with “Invalid redirect URI” (cursor://anysphere.cursor-mcp/oauth/callback) and earlier with Slack. Both were fixed once the provider registered the URI.

I’ve reported this on our side. It also helps to ping Vercel support with the same request. The more signals they get, the faster they’ll pick it up. I can’t share an ETA since the fix depends on them. If there’s an update, I’ll post it in the thread.

1 Like