Desktop Commander MCP is an AI-powered tool that enables Claude Desktop to search, update, and manage files while running terminal commands, providing comprehensive development automation without API token costs.
Get the complete server configuration as JSON including blocked commands, default shell, allowed directories, file read/write limits, and telemetry settings.
Set a specific configuration value by key for settings like blocked commands, default shell, allowed directories, file read/write limits, or telemetry.
Start programs with smart detection of when they're ready for input.
Send commands to running programs and get responses.
Read output from running processes.
Force terminate a running terminal session.
List all active terminal sessions.
List all running processes with detailed information.
Terminate a running process by PID.
Read contents from local filesystem or URLs with line-based pagination and support for positive/negative offset values.
Read multiple files simultaneously.
Write file contents with options for rewrite or append mode using configurable line limits.
Create a new directory or ensure it exists.
Get detailed listing of files and directories.
Move or rename files and directories.
Start streaming search for files by name or content patterns using unified ripgrep-based search.
Get paginated results from active search with offset support.
Stop an active search gracefully.
List all active search sessions.
Retrieve detailed metadata about a file or directory.
Apply targeted text replacements with enhanced prompting for smaller edits including character-level diff feedback.
Get usage statistics for your own insight.
Open feedback form in browser to provide feedback to Desktop Commander Team.
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander@latest"
]
}
}
}