Desktop commander
Plugin by wonderwhy-er
Desktop Commander is an MCP server that lets AI assistants run terminal commands, manage processes, and read or edit files on your computer. It is aimed at developers and power users who want an assistant to work directly with their local machine.
/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install desktop-commander@knowledge-work-pluginsType both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Desktop Commander is an MCP server that gives an AI assistant access to terminal commands, process management, and file operations on your computer. It is built on the MCP Filesystem Server and adds search and replace file editing. It can also read and write Excel, PDF, and DOCX files, run Python, Node.js, or R code in memory, and analyze CSV, JSON, and Excel data.
It installs for Claude Desktop through npx, a bash script, Smithery, a manual config entry, a local checkout, or Docker. Remote access for ChatGPT and Claude web is available through Remote MCP. Tool calls and arguments are recorded locally on the machine running it. The project is intended for developers and power users who want an assistant to run commands and handle files on their own machine.
Written from the project's README and checked against it.
What it can do
- get_recent_tool_callsReturns recent tool call history with bounded output previews from the local audit log.
- Terminal commandsExecutes terminal commands with output streaming, timeouts, and background execution.
- Process managementLists and kills running processes and manages sessions for long-running commands.
- Excel, PDF, and DOCX supportReads, creates, edits, and searches Excel, PDF, and Word files without external tools.
- In-memory code executionRuns Python, Node.js, or R code without saving files.
- Code editingMakes surgical text replacements, full file rewrites, and pattern-based changes across multiple files.
- Filesystem operationsReads and writes files, creates and lists directories, moves files, and gets file metadata.
- Code and text searchRuns recursive search through folders using vscode-ripgrep, including Excel content.
- Process output paginationReads terminal output with offset and length controls to avoid context overflow.
- Negative offset file readingReads from the end of a file using negative offsets, similar to Unix tail.
What you need
- Node.js for the npx and manual installs
- Claude Desktop or another MCP-compatible client
- Docker Desktop for the Docker installation option
- macOS, Linux, or Windows
Try asking
- Analyze this CSV file and summarize the main trends in it
- Run this long terminal command and stream the output back to me
- Read the last 50 lines of this log file using a negative offset
Good to know
- Safety guardrails are not a sandbox, according to the project's SECURITY.md.
- The command blocklist is meant to prevent accidental execution only.
- The manual git checkout installation requires manual updates.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/refs/heads/main/install.sh | bash
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Desktop commander
All alternatives →Document skills is a Claude Code plugin from Anthropic that adds skills for working with Word, Excel, PowerPoint and PDF files. It suits developers and Claude Code users who need document creation and editing help.
Turns URLs, PDFs, DOCX files, Markdown, plain text, screenshots and pasted notes into beautifully designed, single-file HTML articles. It is designed to work offline and follows the reacticle component protocol.
Handoff compacts the current conversation into a handoff document for another agent to pick up. It is a Claude Code plugin from the mattpocock skills collection, aimed at developers who pass work between agents.
Installs the AAS Documents & Presentations plugin for Claude Code. It bundles 9 skills for Office files, document conversion, decks, and slide workflows, aimed at people who work on documents and presentations.
Installs the AAS Documents & Presentations plugin, a set of 9 skills for Office files, document conversion, decks, and slide workflows. It is built for Claude Code users.
Breaks a plan, spec, or conversation into tracer-bullet tickets, each declaring its blocking edges. Writes them as local files or publishes them to a real tracker with native blocking links. Built for engineers planning code work with a coding agent.
Compare with Document skills, Beautiful article skills or Handoff
Desktop commander: common questions
Is Desktop Commander a sandbox?
No. The README says its safety guardrails are not a sandbox. The Docker installation option provides isolation in a container.
Does Desktop Commander keep a record of tool calls?
Yes. Tool calls and arguments are recorded locally on the machine running it, and size-based rotation keeps the history files bounded.
Can I use Desktop Commander from ChatGPT or Claude web?
The README says remote access is available through Remote MCP at mcp.desktopcommander.app and through the remote device launchers.
How do I install Desktop commander?
Inside Claude Code, add the marketplace with /plugin marketplace add anthropics/knowledge-work-plugins, then install the plugin with the second command shown above.
Is Desktop commander free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Desktop commander safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Desktop commander?
Similar plugins: Document skills, Beautiful article skills, Handoff, Agentic bundle aas documents presentations.
