Remote MCP server not working from repo configuration

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m trying to create a .cursor/mcp.json file for my repository, the configuration contains an remote mcp server which requires oauth.
The IDE identifies the mcp, and notices that it requires login. When using the login option from settings, the redirect uri generated by cursor returns 404, and the login process fails.

Steps to Reproduce

Create a new project.
Create a .cursor/mcp.json file.
Configure an http mcp server which requires oauth inside that file.
Go to settings and click Needs Login
Authorize
Experience 404

Expected Behavior

I expect the uri link generated to be valid.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.