Add Cursor plugin metadata#456
Conversation
|
CodeAnt AI is reviewing your PR. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds a new Cursor plugin "Desktop Commander": a marketplace manifest, a plugin manifest with an MCP server entry, and documentation/skill guides describing terminal/REPL, filesystem, process, and SSH capabilities for agents to operate outside the IDE sandbox. Changes
Sequence Diagram(s)sequenceDiagram
participant Agent as Cursor Agent
participant Plugin as Cursor Skill / Plugin
participant MCP as Desktop Commander MCP Server
participant OS as Local OS / Filesystem
Agent->>Plugin: Request Desktop Commander capability
Plugin->>MCP: Start or forward session/command (mcpServers)
MCP->>OS: Run shell/REPL, file ops, process management, or SSH
OS-->>MCP: Return output, file content, process info
MCP-->>Plugin: Structured results and session updates
Plugin-->>Agent: Tool responses, session handles, and follow-ups
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
plugins/cursor/skills/desktop-commander-overview/SKILL.md (1)
96-104: Add an explicit “confirm before destructive action” convention.This section is strong; consider adding one explicit rule to require user confirmation before destructive operations (e.g.,
force_terminate, bulkmove_file, overwrite edits) unless the user already requested it in the same turn.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@plugins/cursor/skills/desktop-commander-overview/SKILL.md` around lines 96 - 104, Add a new convention line in the Conventions section of SKILL.md requiring an explicit confirmation step before performing destructive operations; specifically state that commands like force_terminate, bulk move_file, and any write_file/overwrite edits must prompt the user to confirm (or require the user to have already requested the destructive action in the same turn) and that denied confirmations must abort the operation and be surfaced to the user (similar to how out-of-scope paths are surfaced for list_directory/read_file/write_file); update the Conventions paragraph alongside the Absolute paths / Allowed-directory scope entries so readers see this rule next to related safety guidance.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@plugins/cursor/skills/desktop-commander-overview/SKILL.md`:
- Around line 96-104: Add a new convention line in the Conventions section of
SKILL.md requiring an explicit confirmation step before performing destructive
operations; specifically state that commands like force_terminate, bulk
move_file, and any write_file/overwrite edits must prompt the user to confirm
(or require the user to have already requested the destructive action in the
same turn) and that denied confirmations must abort the operation and be
surfaced to the user (similar to how out-of-scope paths are surfaced for
list_directory/read_file/write_file); update the Conventions paragraph alongside
the Absolute paths / Allowed-directory scope entries so readers see this rule
next to related safety guidance.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 5af053ff-dc89-4871-9bdd-226d341f9b23
📒 Files selected for processing (3)
.cursor-plugin/marketplace.jsonplugins/cursor/.cursor-plugin/plugin.jsonplugins/cursor/skills/desktop-commander-overview/SKILL.md
|
CodeAnt AI finished reviewing your PR. |
|
CodeAnt AI is running Incremental review Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI Incremental review completed. |
|
CodeAnt AI is running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Sequence DiagramThis PR registers Desktop Commander as a Cursor plugin, adds a default rule to prefer it for local filesystem and terminal tasks, and provides a skill that guides agents on how to use its MCP tools. sequenceDiagram
participant User
participant CursorAgent as Cursor agent
participant Rules as Cursor rules
participant Skill as Desktop Commander skill
participant MCP as Desktop Commander MCP
User->>CursorAgent: Request local file or terminal operation
CursorAgent->>Rules: Evaluate rules for local operations
Rules-->>CursorAgent: Prefer Desktop Commander MCP
CursorAgent->>Skill: Read guidance for Desktop Commander tools
Skill-->>CursorAgent: Recommended tools and workflows
CursorAgent->>MCP: Execute terminal or filesystem command
MCP-->>CursorAgent: Command result
CursorAgent-->>User: Present operation outcome
Generated by CodeAnt AI |
|
CodeAnt AI finished running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI is running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Sequence DiagramThis PR wires Desktop Commander into Cursor as a plugin and defines rules and guidance so the Cursor agent prefers it for local filesystem, terminal, process, search, workspace, and SSH tasks. sequenceDiagram
participant User
participant CursorAgent
participant CursorPlugin
participant DesktopCommanderMCP
participant LocalSystem
User->>CursorAgent: Ask for local filesystem or terminal task
CursorAgent->>CursorPlugin: Select Desktop Commander for system operation
CursorPlugin->>DesktopCommanderMCP: Start MCP server using configured command
CursorAgent->>DesktopCommanderMCP: Invoke tool for shell, file, or process workflow
DesktopCommanderMCP->>LocalSystem: Perform requested command or file operation
LocalSystem-->>DesktopCommanderMCP: Return operation result
DesktopCommanderMCP-->>CursorAgent: Return structured response
CursorAgent-->>User: Present results and next steps
Generated by CodeAnt AI |
|
CodeAnt AI finished running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI is running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Sequence DiagramThis PR registers Desktop Commander as a Cursor plugin and adds rules and skills so Cursor agents route local terminal, filesystem, process, and document tasks through the Desktop Commander MCP server. sequenceDiagram
participant User
participant CursorAgent
participant DesktopCommanderPlugin
participant DesktopCommanderMCP
participant LocalSystem
User->>CursorAgent: Ask for terminal or filesystem help
CursorAgent->>DesktopCommanderPlugin: Apply default rule and skill to choose Desktop Commander
DesktopCommanderPlugin->>DesktopCommanderMCP: Start MCP server via configured command
CursorAgent->>DesktopCommanderMCP: Send terminal or filesystem request
DesktopCommanderMCP->>LocalSystem: Execute commands and file operations
LocalSystem-->>DesktopCommanderMCP: Return outputs and file data
DesktopCommanderMCP-->>DesktopCommanderPlugin: Send structured results
DesktopCommanderPlugin-->>CursorAgent: Provide processed results for response
CursorAgent-->>User: Present outcome and explanation
Generated by CodeAnt AI |
|
CodeAnt AI finished running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI is running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Sequence DiagramThis PR adds Cursor plugin metadata, a usage skill, and a default rule so Cursor agents route local filesystem, terminal, process, and search tasks through the Desktop Commander MCP server. sequenceDiagram
participant User
participant CursorAgent
participant CursorPlugin
participant DesktopCommanderMCP
participant LocalSystem
User->>CursorAgent: Request local filesystem or terminal task
CursorAgent->>CursorPlugin: Select Desktop Commander tools for this task
CursorPlugin->>DesktopCommanderMCP: Ensure MCP server is running and configured
CursorAgent->>DesktopCommanderMCP: Run persistent shell or file operation
DesktopCommanderMCP->>LocalSystem: Execute command or file action
LocalSystem-->>DesktopCommanderMCP: Return results
DesktopCommanderMCP-->>CursorAgent: Operation output
CursorAgent-->>User: Present results and next steps
Generated by CodeAnt AI |
|
CodeAnt AI finished running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
CodeAnt-AI Description
Add Cursor plugin listing, setup guidance, and usage rules for Desktop Commander
What Changed
Impact
✅ Plugin can be installed from Cursor✅ Clearer guidance for terminal and file tasks✅ Easier use of long-running shells, SSH, and local data files🔄 Retrigger CodeAnt AI Review
Details
💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.