# Desktop Commander MCP

> Give Claude and other assistants terminal control, process management, file search and diff-based editing.

## Facts
- **Category:** [MCP Servers](https://agentsearchengine.app/category/mcp-servers)
- **Type:** MCP server
- **Pricing:** Open source
- **GitHub stars:** 9,713
- **Language:** TypeScript
- **License:** MIT
- **Last repo activity:** today (Sep 22, 2026)
- **Official site:** https://desktopcommander.app/
- **Source code:** https://github.com/wonderwhy-er/DesktopCommanderMCP
- **Listing on Agent Search Engine:** https://agentsearchengine.app/agents/desktop-commander-mcp
- **Data verified:** September 2026

## Best for
Doing hands-on development work from Claude Desktop or another chat client.

## Avoid if
You're not comfortable granting an AI broad terminal and filesystem access on your machine.

## About Desktop Commander MCP
Desktop Commander MCP lets an assistant execute long-running terminal commands, manage processes, search files and edit them with targeted search-and-replace, extending the reference filesystem server. It is aimed at doing development work from chat clients such as Claude Desktop using the host subscription rather than paying for API tokens, and can also be used from ChatGPT and Claude on the web.

## Connect to an MCP client
Launch command from the project's README: `npx -y @wonderwhy-er/desktop-commander@latest`

### Claude Code (Run in your terminal)

```shell
claude mcp add desktop-commander-mcp -- npx -y @wonderwhy-er/desktop-commander@latest
```

### Cursor (~/.cursor/mcp.json or .cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "desktop-commander-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@wonderwhy-er/desktop-commander@latest"]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

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

### Codex (~/.codex/config.toml)

```toml
[mcp_servers.desktop-commander-mcp]
command = "npx"
args = ["-y", "@wonderwhy-er/desktop-commander@latest"]
```

## Alternatives
Desktop Commander MCP sits in mcp servers. Related tools indexed here:
- [MCP Reference Servers](https://agentsearchengine.app/agents/mcp-reference-servers) — The MCP steering group's reference servers: Everything, Fetch, Filesystem, Git, Memory, Sequential Thinking and Time. · Open source · MCP server · 91k★ · TypeScript · MIT AND Apache-2.0 · active today
- [context7](https://agentsearchengine.app/agents/context7) — Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors · Open source · MCP server · 62k★ · TypeScript · MIT · active today
- [chrome-devtools-mcp](https://agentsearchengine.app/agents/chrome-devtools-mcp) — Chrome DevTools for coding agents · Open source · MCP server · 53k★ · TypeScript · Apache-2.0 · active today
- [Playwright MCP](https://agentsearchengine.app/agents/playwright-mcp) — Expose Playwright browser tools to MCP clients using accessibility snapshots. · Open source · MCP server · 37k★ · TypeScript · Apache-2.0 · active 4 days ago
- [github-mcp-server](https://agentsearchengine.app/agents/github-mcp-server) — GitHub's official MCP Server · Open source · MCP server · 33k★ · Go · MIT · active today
- [serena](https://agentsearchengine.app/agents/serena) — A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent · Open source · SDK / library · 30k★ · Python · MIT · active today
- [MCP for Blender (blender-mcp)](https://agentsearchengine.app/agents/blender-mcp) — Connect Blender to Claude or any LLM client for prompt-driven 3D modelling and scene editing. · Open source · MCP server · 29k★ · Python · MIT · active 2 days ago
- [fastmcp](https://agentsearchengine.app/agents/fastmcp) — The fast, Pythonic way to build MCP servers and clients. · Open source · SDK / library · 28k★ · Python · Apache-2.0 · active today

---
Source: [Agent Search Engine](https://agentsearchengine.app) — an independent, hand-curated index of AI agents, MCP servers, and frameworks. Rankings are never sold; sponsored placements are labeled and never numbered. Full directory: https://agentsearchengine.app/llms-full.txt
