MCP.so
登录

Desktop Commander

@wonderwhy-er

关于 Desktop Commander

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

基本信息

分类

生产力

许可证

MIT

运行时

node

传输方式

stdio

发布者

wonderwhy-er

提交者

Eduard Ruzga

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

4

`get_config`

`start_process`

`read_file`

`get_usage_stats`

概览

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

FAQ from Desktop Commander

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.

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.

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.

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.

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.

评论

生产力 分类下的更多 MCP 服务器