Add Cursor MCP support for global mode#1273
Conversation
7f182e2 to
7b5892d
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: dyoshikawa-claw <dyoshikawa-claw@users.noreply.github.com>
Overall Mergeability Verdict for PR #1273: ✅ MERGEABLEThe PR can be merged as it only contains medium and low severity issues (no high/critical blockers). Integrated Review ResultsCode Review SummaryStatus: No critical or high severity issues found Key Findings:
Security Review SummaryStatus: Medium and low severity issues identified Key Findings:
Security Strengths:
RecommendationsPriority 1 - Consider Before Merge:
Priority 2 - Future Improvements:
Final Assessment
PR #1273 is ready for merge. The identified security issues are medium-to-low severity and are mitigated by the CLI nature of the tool. Consider addressing symlink detection as a quick win before merge, but it's not blocking. |
This PR adds Cursor MCP support for global mode.
Cursor supports global MCP server configuration via
~/.cursor/mcp.json.Changes
CursorMcp.getSettablePaths()to acceptglobalflagfromFile()to gracefully initialize an empty config when the file doesn't exist (instead of throwing), which is needed for first-time global setup and is consistent with whatClaudecodeMcp.fromFile()doesfromRulesyncMcp()to be async and merge MCP servers into existing config (preserving non-mcpServersproperties like user settings)isDeletable()override to prevent deleting the shared globalmcp.jsonsupportsGlobal: trueinmcp-processor.tsDocumentation:
README.md,docs/reference/supported-tools.md, andskills/rulesync/supported-tools.mdto show 🌏 for Cursor MCP and rulesdocs/guide/global-mode.mdandskills/rulesync/global-mode.mdto list Cursor among supported tools