Desktop Commander
Terminal and filesystem access for Claude Desktop. Execute shell commands, edit files (Excel/PDF/Word), run code in memory.
Delv Safety Grade: D
Score 42/100 · assessed 2026-04-28
Desktop Commander is a community MCP server by solo developer wonderwhy-er that grants Claude Desktop unrestricted shell execution, full filesystem access, and in-memory code execution. The package is distributed via npm with a straightforward npx setup requiring no environment variables. The repository is open source with reasonable documentation. However, the permission scope is extraordinarily broad: arbitrary shell commands, filesystem writes anywhere, and code execution without sandboxing. This is maximum trust territory. A compromised prompt or malicious instruction could delete files, exfiltrate data, or execute arbitrary code on your machine. The maintainer appears active but this is a solo project with limited review. Suitable only for users who fully understand the security implications and trust Claude's judgement completely. No known incidents, but the attack surface is vast.
Lethal Trifecta (prompt-injection exposure)
TWO OF THREELocal desktop control = local private state + outbound capability via apps it can drive.
Green flags
- Open source with clear documentation and active repository
- Distributed via npm with standard package management
- No environment variables required reduces credential exposure risk
- Straightforward setup with single npx command
- Transparent about capabilities and risks in documentation
Red flags
- Unrestricted shell execution with no sandboxing or command filtering
- Full filesystem read/write/delete access across entire system
- In-memory code execution (Python/Node) without isolation
- Solo maintainer with limited community review or security audit
- Single compromised prompt could cause catastrophic system damage
Permissions requested
Install
npx @wonderwhy-er/desktop-commander@latest setup
Review
Install it if you want Claude to run shell commands, edit Office files, or execute code without leaving the chat. Skip it if you're not comfortable giving an LLM direct filesystem and terminal access, or if you don't use Claude Desktop regularly. It's a power tool, not a safety blanket.
Good at
- Single npx command setup with no environment variables or manual config.
- In-memory code execution lets you prototype Python or Node scripts without touching disk.
- Cross-platform shell access works the same on Windows, macOS, and Linux.
- Handles Excel, Word, and PDF edits programmatically, which is rare in MCP servers.
- Fast iteration loop for local automation tasks that don't need a full IDE.
Watch out
- Giving Claude shell access is inherently risky; one bad prompt can delete or overwrite files.
- Documentation is minimal; you'll need to experiment to learn what works.
- Community-maintained by a single developer, so updates and support are not guaranteed.
- Cursor support exists but is less polished than Claude Desktop integration.
- No built-in undo or rollback for file or shell operations.
Use cases
- Running shell commands without an IDE plugin
- Editing Excel/Word files without a Skill
- Running ad-hoc Python or Node in memory
- Cross-platform local automation
Getting started
Works with
Similar MCPs
- GitHubFull GitHub API access - manage repos, issues, PRs, and code search. One of the most useful MCPs for any developer workflow.
- GrafanaGrafana Labs' official MCP. Read dashboards, datasources, alerts, and run Loki/Prometheus queries from inside your agent.
- SentryPull live errors, issues, and replays from Sentry into Claude. Great for debugging sessions where the model can see what actually broke in prod.
- MCP CLIInteractive CLI inspector for MCP servers supporting OAuth, tool calls, resource reads, and prompt runs.