Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Hi,
I am using Cursor ver 3.1.10 in Windows environment (unfortunately) however my workspace is saved inside WSL (Ubuntu 24), presicely in ~/cursor-wsl.code-workspace. Also my MCP settings are in my ~/cursor-workdir/.cursor folder that is the first folder in my workspace. Cursor sees it perfectly fine when I open MCP settins in Cursor editor. However, when I switch to Cusor’s ‘Agents Window’ I see that my MCP settings are read from Windows user home/.cursor/mcp.json , this is wrong. I would like to use ‘Agents Window’ also from within WSL. I tried to create a soft link inside WSL file system to point to ~/cursor-workdir/.cursor/mcp.json and have a link in windows user home dir/.cursor/mcp.json. But it didn’t work - when openinig MCP settings in Cursor file was not found, nothing happened, looks like this soft link mcp.json fle is not visible.
For me the ‘Agents Window’ is useless as I can’t use my MCP tools with it as these are defined in WSL , not in Windows.
Regards,
Steps to Reproduce
- Open cursor in windows
- connect to WSL, use WSL as your default profile
- save your workspace file inside WSL
- define some MCPs that are linux based and work in WSL well
- Open Agents Window
- There is no possibility to use WSL there, all MCP settings are gone because MCP settings are now read from Windows User’s home/.cursor/mcp.json file, not from the mcp.json file that sits inside WSL.
- In Agents Window , open ‘wsl+ubuntu+24.04’ as the target for the Agent to ‘Run on’. It can be any other WSL
- under prompt input window there is a big “+” sign to ‘add Skills, MCPs and more’, press it, select ‘MCP Servers’ → “Open MCP settings”
- Press ‘Add Custom MCP’
- By default , mcp.json file from within Windows will be opened (I got mine empty)
- Select from opnened tree view (WSL files should be showed) the mcp.json that is inside WSL, in my case it is ~/cursor-workdir/.cursor/mcp.json
- You will see a message: “ENOPRO: No file system provider found for resource 'vscode-remote://wsl%2Bubuntu-24.04/home/XYZUSER/cursor-workdir/.cursor/mcp.json”
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Cursor 3.1.10
WSL version:
WSL version: 2.6.3.0
Kernel version: 6.6.87.2-1
WSLg version: 1.0.71
MSRDC version: 1.2.6353
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.22631.6783
Ubuntu version:
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
6.19.9-locietta-WSL2-xanmod1
PRETTY_NAME=“Ubuntu 24.04.3 LTS”
NAME=“Ubuntu”
VERSION_ID=“24.04”
VERSION=“24.04.3 LTS (Noble Numbat)”
VERSION_CODENAME=noble
ID=ubuntu
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
