DesktopCommanderMCP logo

DesktopCommanderMCP

by wonderwhy-er

Manage local files, terminal commands, processes, code edits, and office documents through MCP.

Install DesktopCommanderMCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for wonderwhy-er/DesktopCommanderMCP, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

wonderwhy-er/DesktopCommanderMCP connects AI clients to local files, terminal commands, running processes, and document formats through MCP. It supports filesystem operations, recursive code and text search, surgical replacements, streamed or background commands, and process control. Additional capabilities cover in-memory Python, Node.js, and R execution, Excel, PDF, and DOCX files, plus local tool-call history. Reach for it when an agent needs to inspect and modify a working environment or manage long-running development tasks from a chat client.

Use cases

  • Search and update code across a project
  • Run and monitor long-lived development processes
  • Analyze CSV, JSON, and Excel files
  • Read and edit PDF or DOCX documents
  • Manage local files and terminal sessions

Key features

  • Filesystem read, write, search, and directory management
  • Streaming, background, and interactive terminal commands
  • Process and long-running session management
  • Code search and targeted multi-file editing
  • Excel, PDF, and DOCX support
  • Local tool-call history and audit logs

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

28/29 checks healthy over the last 77d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 2

Scanned 9d ago via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How DesktopCommanderMCP works

What wonderwhy-er/DesktopCommanderMCP does

wonderwhy-er/DesktopCommanderMCP gives an MCP client access to a computer's filesystem and terminal. It can read, create, modify, move, and search files; create and inspect directories; retrieve metadata; and perform recursive listings with configurable depth. File editing includes targeted text substitutions, pattern-based replacements, complete rewrites, and changes across multiple files.

The server also handles terminal workflows. Commands can stream output, run in the background, use timeouts, and remain available for later interaction. Process-management functions list or terminate processes, while session support helps with commands that continue running. This makes it suitable for development servers, SSH sessions, databases, and other interactive processes.

How it works

The server is built on the MCP Filesystem Server and adds search, replacement, and broader editing functions. An MCP-compatible client sends tool calls to the local process, which performs operations on the host computer. Terminal output can be read with offset and length controls, including pagination for large results and negative offsets for reading from the end of a file.

Code may be executed in memory using Python, Node.js, or R without first saving a script. The server can also analyze CSV, JSON, and Excel data. Excel files with .xlsx, .xls, and .xlsm extensions are supported for reading, writing, editing, and searching. PDF features include text extraction, creation from Markdown, and modification. DOCX support covers reading, creation, editing, searching, XML-level targeted changes, and Markdown conversion.

Setup and configuration

For Claude Desktop, the package can be installed with the latest npm tag:

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

The setup command can disable onboarding with --no-onboarding or enable the Node.js inspector with --debug. A manual Claude Desktop configuration uses npx as the command and @wonderwhy-er/desktop-commander@latest as its argument. The package also provides a macOS installer script, Smithery installation, a local checkout workflow, and a Docker option that does not require Node.js.

Configuration values can be read or changed through server tools. Multiple settings can be updated together, and configuration changes take effect without restarting the server. Installation methods that use the package can update when Claude restarts; a local checkout requires pulling changes and running setup again.

Tools and capabilities

  • Read and write text, Excel, PDF, and DOCX files.
  • Create, list, move, and inspect files and directories.
  • Search file contents, including Excel content, with recursive code and text search.
  • Run terminal commands with streaming, timeouts, background execution, and pagination.
  • List and terminate processes and interact with long-running sessions.
  • Apply targeted edits, pattern replacements, or full rewrites across multiple files.
  • Record local tool calls and expose recent calls through get_recent_tool_calls; size-based rotation keeps history bounded.

Limitations and notes

The safety controls are guardrails rather than a sandbox. File operations prevent symlink traversal, and a command blocklist helps reduce accidental execution. Docker can provide stronger isolation when that deployment option is used. Tool-call arguments and bounded output previews are recorded locally on the machine running the server, with rotation or trimming for active history files.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about DesktopCommanderMCP

wonderwhy-er/DesktopCommanderMCP is an MCP server that connects AI clients to a local computer's filesystem, terminal, and running processes. Its main tools read, write, search, move, and edit files; execute and monitor commands; manage processes; and work with Excel, PDF, and DOCX documents.

Install it for Claude Desktop with `npx @wonderwhy-er/desktop-commander@latest setup`. Other supported paths include a macOS installer script, Smithery, manual `claude_desktop_config.json` configuration, a local checkout, and Docker.

Yes, it can run commands in the background and manage their sessions. It also supports streamed output, timeouts, process listing and termination, interactive processes, and paginated output using offset and length controls.

Yes, it supports all three formats. Excel capabilities include reading, writing, editing, and searching `.xlsx`, `.xls`, and `.xlsm` files; PDF support includes extraction, creation from Markdown, and modification; DOCX support includes reading, creation, editing, searching, and Markdown conversion.

No, it is not a sandbox. It includes symlink traversal prevention and a command blocklist as safety guardrails, while Docker is available for stronger isolation.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDesktopCommanderMCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wonderwhy-er-desktopcommandermcp?style=directory)](https://allmcps.com/mcp/wonderwhy-er-desktopcommandermcp)
HTML Embed
<a href="https://allmcps.com/mcp/wonderwhy-er-desktopcommandermcp"><img src="https://allmcps.com/api/badge/wonderwhy-er-desktopcommandermcp?style=directory" alt="DesktopCommanderMCP on AllMCPs" /></a>