DC
Desktop Commander MCP
Terminal, file editing, and process management for your AI agent.
Last updated July 18, 2026
DevOpsLocal · stdioTypeScript8.5k
Overview
Desktop Commander gives an AI agent direct terminal access, surgical file editing (search-and-replace blocks instead of full rewrites), and process management on your local machine — one of the most widely used local automation MCP servers.
Use cases
Run and monitor long-lived terminal processes from an agent session.
Apply a surgical find-and-replace edit to a large file without rewriting it entirely.
Search a codebase and act on results without leaving the chat interface.
Install
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander@latest"
]
}
}
}FAQ
No — it runs directly via npx on your local machine, though a Docker-based variant is also documented for sandboxed execution.