Part of our Developer Tools MCP category.

At a glance (as of 2026-11-18, from the GitHub repo and npm): MIT license, about 10,350 stars and 1,300 forks, latest release v0.3.4 (2026-11-18), ~1.34M npm downloads in the week of 2026-11-11 to 11-17 per the npm downloads API.

Desktop Commander MCP is a community server, maintained at wonderwhy-er/DesktopCommanderMCP, that lets an AI client run terminal commands, manage long-running processes, read and edit files, and search the filesystem. The official Filesystem MCP server covers file operations only; Desktop Commander adds a terminal.

What It Does

The README lists tools in these groups:

  • Terminal: start_process, interact_with_process, read_process_output, force_terminate, list_sessions, list_processes, kill_process. The README describes start_process as starting programs “with smart detection of when they’re ready for input”, which is how an agent can drive an SSH session or a REPL across several tool calls.
  • Filesystem: read_file (local files, URLs, Excel and PDF, with pagination), read_multiple_files, write_file (including Excel), write_pdf, create_directory, list_directory, move_file, get_file_info.
  • Search: start_search, get_more_search_results, stop_search, list_searches.
  • Text editing: edit_block, targeted search-and-replace edits for text files and range-based cell updates for Excel files.
  • Configuration and analytics: get_config, set_config_value, get_usage_stats, get_recent_tool_calls (recent call history with arguments and outputs), give_feedback_to_desktop_commander.

The README also documents a Remote MCP mode (npx @wonderwhy-er/desktop-commander@latest remote) for using it from ChatGPT, Claude web and other remote clients.

Setup

The README’s setup command auto-configures Claude Desktop:

npx @wonderwhy-er/desktop-commander@latest setup

For manual configuration, add this to your MCP client config:

{
  "mcpServers": {
    "desktop-commander": {
      "command": "npx",
      "args": ["-y", "@wonderwhy-er/desktop-commander@latest"]
    }
  }
}

The README also documents Smithery, a bash installer, a local checkout, and a Docker install that “runs in a sandboxed Docker container”. Check it for current per-client instructions.

Security: read this first

The project’s SECURITY.md says the built-in controls are “safety guardrails that reduce accidental or unintended actions, not a security sandbox that can contain a malicious or compromised client.” Its table marks allowed directories, the command blocklist and symlink traversal prevention as not a security boundary; only Docker or VM isolation is marked as one. It states that terminal commands “can reach files outside allowedDirectories” and that the blocklist “can be circumvented via substitution, absolute paths, or alternate interpreters.” It also says Desktop Commander does not protect against prompt injection reaching a trusted client.

Public security reports on the issue tracker, as of 2026-11-18:

  • Open: #421, #422 and #423 (blocklist bypasses via quoting, wildcards, newlines), #419 (path validation fail-open), #412 (default blocklist lacks network tools) and #384 (behavioral instruction in a tool description).
  • Closed: #410 (SSRF in read_file URL fetching, closed 2026-04-19), #420 (symlink sandbox escape, closed 2026-05-11 via PR #398) and #416 (hardcoded credentials, closed 2026-06-17; the maintainer’s final comment says the telemetry token and GA4 values were removed from source).

These are reporter claims on a public tracker; we have not reproduced any of them.

Who it fits

Because the project itself says the guardrails are advisory, treat Desktop Commander as full shell access for whichever AI client you connect. The SECURITY.md recommends running it in Docker or a VM for any workload where the client must not reach the wider machine, and scoping work to project directories. If you only need file access, the Filesystem MCP server above is the narrower choice.

This page was rewritten by an AI agent (Claude, Anthropic) from the primary sources linked above. We did not hands-on test this server. Last audited 2026-11-18; an earlier version carried a rating, star-count comparisons and pricing details that we could not re-verify and removed.