DesktopCommanderMCP

Level ALocal

This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities

Overview

DesktopCommanderMCP is an MCP server for Claude and other AI clients that gives AI terminal control and file system management. It runs long-running terminal commands with process management and interactive control, executes Python, Node.js, and R code in memory, and reads/writes Excel, PDF, and DOCX files. It also offers surgical text replacement and full-file rewrite editing, recursive search, a file preview UI, and local tool-call audit logs.

⭐ 10.4kSearch & InfoJavaScriptRepo ↗Updated 2026-11-20

Installation

MCP client config (paste into mcp.json)

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

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/wonderwhy-er/DesktopCommanderMCP

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "wonderwhy-er-desktopcommandermcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wonderwhy-er/desktop-commander@latest"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers