MCP.so
Sign In

Desktop Commander MCP Server

@wonderwhy-er

Basic information

Category

Productivity

License

MIT

Transports

stdio

Author

wonderwhy-er

Submitted by

Eduard Ruzga

About Desktop Commander MCP Server

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

Before you connect

Documentation reviewed 2026-10-25

When to choose this server

Desktop Commander is for local file search, edits and terminal work. Choose it when the task needs access to your own machine, rather than only a website.

Setup and limitations

Install from the current DesktopCommanderMCP repository. Its setup command configures a client; it is not the long-running MCP launch command. Start with a temporary folder and a file-listing task.

These notes check the linked documentation, not a live authenticated connection. Suggested checks are steps for you to run.

Desktop Commander MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Desktop Commander MCP Server tools

4

`get_config`

`start_process`

`read_file`

`get_usage_stats`

Overview

What is Desktop Commander?

Desktop Commander is an MCP server that gives AI assistants capabilities to search, update, manage files, and run terminal commands on a user's computer. Built on the MCP Filesystem Server, it provides enhanced terminal control, code editing, and document handling (PDF, DOCX, Excel) through model context protocol.

How to use Desktop Commander?

Install via npx @wonderwhy-er/desktop-commander@latest setup (requires Node.js) or use a one‑line bash install script (macOS). Alternatively, configure manually in claude_desktop_config.json or run in a Docker container. After installation, restart Claude Desktop to access the server’s tools.

Key features of Desktop Commander

  • Remote AI control from ChatGPT, Claude web, and other services
  • File Preview UI with rendered markdown and built‑in editor
  • Execute code in memory (Python, Node.js, R) without saving
  • Native Excel, PDF, and DOCX file support
  • Full filesystem operations with recursive directory listing
  • Enhanced terminal commands with interactive process control

Use cases of Desktop Commander

  • Run and manage long‑running terminal commands (SSH, databases) via AI chat
  • Analyze CSV, JSON, or Excel files directly from an AI prompt
  • Edit code across multiple files with surgical replacements or full rewrites
  • Create and modify PDFs and Word documents programmatically
  • Manage running processes (list, kill) and execute commands with timeout/background support

Frequently asked questions

1

How do I uninstall Desktop Commander?

Run `npx @wonderwhy-er/desktop-commander@latest remove` or remove the server entry from your claude_desktop_config.json.

2

Does Desktop Commander auto‑update?

Install methods using npx (options 1–4) and Docker (option 6) auto‑update when you restart Claude. The local git checkout (option 5) requires manual updates.

3

What are the prerequisites for installation?

Node.js is required for options 1–5. Option 6 (Docker) requires Docker Desktop and no Node.js installation.

4

Can Desktop Commander run inside a sandboxed environment?

Yes, option 6 runs Desktop Commander in a Docker container with optional folder mounting and persistent volumes, providing full sandboxing and isolation.

5

How does Desktop Commander handle file security?

It includes symlink traversal prevention on file operations and a command blocklist with bypass protection. Audit logging with 10MB rotation is enabled by default.

Comments

More Productivity MCP servers