OAuth MCP login fails

I tried the AppImage and .rpm and they both fail on Fedora/KDE.
@Eugen can you perhaps share your Exec= line from Cursor’s .desktop ?

If I use the default Exec=/usr/share/cursor/cursor %F , an empty window opens when returning from the browser
If I change that to Exec=/usr/share/cursor/cursor %U a new tab opens for new file e.g. ~/cursor:/anysphere.cursor-mcp/oauth/user-.../callback?code=...

EDIT:

Ok, I believe I figured it out. If I run xdg-open 'cursor://anysphere.cursor-mcp/oauth/...’ it uses cursor-url-handler.desktop which correctly handles the callback. The .desktop file uses Exec=/usr/share/cursor/cursor --open-url %U
For AppImage users, it should be possible creating such cursor-url-handler.desktop file and registering the scheme with xdg-mime default cursor-url-handler.desktop 'x-scheme-handler/cursor'

So, it looks like in my case the browser (Edge :see_no_evil_monkey: ) doesn’t execute xdg-open in the same way.