xdg-open seems to be working incorrectly possibly being the problem behind mcp oauth login not working in cursor on linux.
Steps to Reproduce
Install cursor from deb
Run dummy command like “xdg-open cursor://some-command”
The response will be json messages from the agent instead of this being sent to IDE
Expected Behavior
xdg open of cursor urls should be handled by the ide to allow oauth callback delivery.
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Not sure. Hard to tell. I think it is probably related though to bundling of cursor-agent with cursor install because now running “cursor” in terminal doesn’t start the ide but rather runs something else that chooses whether to run agent or ide. I think xdg-open probably expects that running “cursor” with a cursor url will send that url to cursor based on the install bindings but the executable instead routs it to the agent.