# Desktop Commander MCP

让 Claude 控制终端、搜索文件、按 diff 编辑的 MCP 服务器。

Desktop Commander 让助手执行终端命令、搜索文件系统，并用 diff 方式编辑文件。

- 规范链接: https://meetnewai.com/zh/mcp/desktop-commander
- 官网: https://desktopcommander.app/
- 价格: 开源
- 核验日期: 资料更新于 2026年10月18日
- 仓库: https://github.com/wonderwhy-er/DesktopCommanderMCP
- 许可协议: MIT

## MCP Install Config

```json
{
  "name": "desktop-commander",
  "remote": false,
  "launch": "npx -y @wonderwhy-er/desktop-commander@latest",
  "source": "https://github.com/wonderwhy-er/DesktopCommanderMCP",
  "checked": "2026-10-18",
  "snippets": [
    {
      "id": "json",
      "code": "{\n  \"mcpServers\": {\n    \"desktop-commander\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@wonderwhy-er/desktop-commander@latest\"\n      ]\n    }\n  }\n}"
    },
    {
      "id": "vscode",
      "code": "{\n  \"servers\": {\n    \"desktop-commander\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@wonderwhy-er/desktop-commander@latest\"\n      ]\n    }\n  }\n}"
    },
    {
      "id": "claude",
      "code": "claude mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander@latest"
    }
  ]
}
```
