Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Desktop commander

Plugin by wonderwhy-er

Desktop Commander runs terminal commands, manages processes, and edits files for AI assistants. It handles text, code, PDF, DOCX, and Excel files and suits developers who want an MCP server for local work.

  • Score 93
  • 10k stars
  • MIT
  • Updated
Works withClaude Code

Install Desktop commander

Built from the published package, never by AI.

/plugin marketplace add anthropics/claude-plugins-official
/plugin install desktop-commander@claude-plugins-official

Type both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.

Step-by-step: install Desktop commander in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Desktop Commander is an MCP server that gives AI assistants access to terminal commands, process management, and file operations on the user's computer. It is built on top of the MCP Filesystem Server and adds search and replace file editing. It can run long-running commands with output streaming, background execution, and session management, and it can list and kill processes.

The server also reads, writes, and searches Excel, PDF, and DOCX files without external tools. It can execute Python, Node.js, and R code in memory without saving files. The source says it is for developers and users who want an AI assistant to work with code, text, and processes, and it notes that it uses host client subscriptions instead of API token costs.

Written from the project's README and checked against it.

What it can do

  • Terminal commandsRuns terminal commands with output streaming, timeouts, and background execution.
  • Process managementLists and kills processes and manages sessions for long-running commands.
  • Filesystem operationsReads, writes, moves, lists, and searches files, with file metadata access.
  • Code editingMakes surgical text replacements or full file rewrites across multiple files.
  • Excel, PDF, and DOCX supportReads and edits Excel, PDF, and Word files natively, and creates PDFs from markdown.
  • In-memory code executionRuns Python, Node.js, and R code without saving files.
  • get_recent_tool_callsReturns recent local tool call history with bounded output previews.
  • Server configurationGets and sets configuration values without a server restart.

What you need

  • Node.js (for the npx install)
  • Claude Desktop or another MCP-compatible client
  • Docker Desktop (only for the Docker installation)

Try asking

  • Analyze this CSV file and summarize the main trends.
  • Search my project folder for every TODO comment in the code.
  • List the running processes and stop the one using the most memory.

Good to know

  • Not a sandbox. The source points to SECURITY.md for details.
  • The git checkout install requires manual updates.
  • Command blocklist protects only against accidental execution.

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 →

Compare with Claude for msft 365 install, Pm data analytics or Notebooklm

Desktop commander: common questions

Is Desktop Commander a sandbox?

No. The source describes it as safety guardrails, not a sandbox. Its Docker installation option provides isolation.

Does Desktop Commander use API tokens?

The source says it uses host client subscriptions instead of API token costs.

Where is the tool call history stored?

Tool calls and arguments are recorded locally on the machine running Desktop Commander. Size-based rotation keeps the history files bounded.

How do I install Desktop commander?

Inside Claude Code, add the marketplace with /plugin marketplace add anthropics/claude-plugins-official, 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: Claude for msft 365 install, Pm data analytics, Notebooklm, Agentic bundle aas data analytics.

Desktop commander Install

Add to stack

Loading.