Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
npx @wonderwhy-er/desktop-commander@latest setupConfig
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander@latest"
]
}
}
}Exposed MCP Tools (8)
execute_commandExecutes a terminal command on the host system.
Direct access to shell; can run arbitrary commands.
read_fileReads the content of a file from the file system.
Read-only operation; no modification of data.
write_fileWrites content to a file on the file system.
Can modify existing files or create new ones.
list_processesLists all currently running processes on the system.
Provides information about running processes; no modification.
kill_processTerminates a specified process on the system.
Can terminate critical system processes.
search_filesSearches for files matching a specified pattern.
Read-only operation; no modification of data.
get_file_metadataRetrieves metadata (size, modification date, etc.) for a file.
Read-only operation; no modification of data.
update_configUpdates the server's configuration settings.
Modifies server behavior; can impact security.
Safety Assessment
Desktop Commander offers powerful automation capabilities but requires careful configuration. Using the Docker installation provides a safer, sandboxed environment. Exercise caution when executing terminal commands and managing files to avoid unintended consequences.
- Audit logging tracks all tool calls.
- Docker installation provides sandboxing.
- Command timeout support limits execution time.
- Configuration management allows for controlled setting adjustments.
- Executes terminal commands, posing potential risks.
- File system operations can modify or delete data.
- No built-in RBAC or permission controls.
- Direct access to the file system without explicit sandboxing in some installation methods.
- Potential for long-running commands to consume resources.
