Home Tutorials Categories Skills About
ZH EN JA KO
🖥️

Desktop Commander

System Control Browser & Automation

Install Command

npx clawhub@latest install desktop-commander

Installation Guide

1
Check Environment

Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.

2
Run Installation

Run the install command above in your terminal. ClawHub will automatically download and install Desktop Commander to the ~/.openclaw/skills/ directory.

3
Verify Installation

Run openclaw skills list to check your installed skills and confirm Desktop Commander appears in the list.

4
Configure (Optional)

Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.

Manual Installation: Copy the Skill folder to ~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Filesystem read/write and search Terminal command execution and process management File diff editing and patch application

Detailed Description

Desktop Commander is a powerful system-level MCP server that allows AI assistants to directly operate the local filesystem and execute terminal commands, essentially giving AI a complete desktop operating environment.

Core Features

  • File Operations: Read, write, create, move, and delete files and directories, with file search and directory tree display
  • Terminal Commands (execute_command): Execute any terminal command and return output, with configurable timeout and working directory
  • Long-Running Process Management: Start background processes, check running status, read output, send input, or terminate processes
  • Diff Editing (edit_block): Precisely edit file content using search/replace blocks, safer than full rewrites
  • File Search: Supports searching files by filename pattern or content regex

Configuration

{
  "mcpServers": {
    "desktop-commander": {
      "command": "npx",
      "args": ["-y", "desktop-commander-mcp"]
      // Runs locally with full filesystem access
    }
  }
}

Use Cases

  • Project scaffolding: Automatically create project directory structures and configuration files
  • Build and deploy: Execute build commands, run tests, start development servers
  • Log analysis: Read and analyze application log files
  • System administration: Batch file processing, process monitoring, and automated operations