Skip to content

fix cursor plugin on windows - #21

Merged
itsdouges merged 3 commits into
mainfrom
fix-plugin-cursor
Sep 21, 2026
Merged

itsdouges merged 3 commits into
mainfrom
fix-plugin-cursor

Conversation

@itsdouges

@itsdouges itsdouges commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

This abuses the fact that one of the env variables aren't defined in Windows / macOS / Linux. This won't work for any Windows users who have ${HOME} defined, but generally that's a small subset from the overall users vs. none working on Windows currently.


Note

Low Risk
Plugin packaging and MCP launch configuration only; no runtime app or security-sensitive logic changes.

Overview
Bumps the Paper Cursor plugin to 0.2.2 and fixes MCP startup on Windows by changing how the Paper CLI path is resolved in mcp.cursor.json.

The MCP command no longer uses ${userHome}; it uses ${env:HOME}${env:USERPROFILE} so the path expands to the user home on Unix (HOME) or Windows (USERPROFILE), with the other variable empty. The binary path remains ~/.paper/bin/paper with mcp args.

Reviewed by Cursor Bugbot for commit 4ef0f8e. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b37b40a. Configure here.

Comment thread plugins/paper-desktop/.codex-plugin/plugin.json Outdated
@itsdouges
itsdouges merged commit a8ba8b2 into main Sep 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant