Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
On Windows, clicking the global MCP config path C:\Users\admin\.cursor\mcp.json from Cursor chat (or MCP settings) fails with: “The editor could not be opened due to an unexpected error.”
renderer.log shows:
Error: Unable to resolve resource C:%5CUsers%5Cadmin%5C.cursor%5Cmcp.json
Cursor encodes the Windows path incorrectly (C:%5CUsers%5C... instead of a valid file:///C:/Users/... URI), so the MCP resource resolver cannot open the file. The JSON file itself is valid and readable via Ctrl+O.
Steps to Reproduce
- Ensure
C:\Users\admin\.cursor\mcp.jsonexists with valid JSON. - In Cursor Agent/Chat, receive a message linking to
C:\Users\admin\.cursor\mcp.json. - Click the file path link in chat.
- (Alternative) Open MCP settings and try to edit global mcp.json.
Expected Behavior
The global mcp.json opens in the normal text editor so the user can view/edit MCP server configuration.
Operating System
Windows 10/11
Version Information
IDE:
Version: 3.8.24
VSCode Version: 1.105.1
Commit: cf80f4b937f3b9c48070d7085129a838ce7876a0
OS: Windows 10 (10.0.19045)
Additional Information
Log excerpt from %APPDATA%\Cursor\logs\20260629T101742\window3\renderer.log:
2026-07-06 13:04:17.123 [error] Error: Unable to resolve resource C:%5CUsers%5Cadmin%5C.cursor%5Cmcp.json
at aeh.doCreateReferencedObject (workbench.desktop.main.js:24211:29775)
at async nXm.doOpenEditor (workbench.desktop.main.js:23589:190128)
Workaround: Ctrl+O and paste the full path manually.
Suspected fix: use proper file:/// URI encoding for Windows absolute paths.
Does this stop you from using Cursor
No - Cursor works, but with this issue