wcgw
Local shell and file-editing MCP server that gives an assistant an interactive terminal on your machine
Lets an assistant run terminal commands, manage processes, and search, read and edit files on your computer.
By Eduard Ruzga (individual) TypeScript Local · stdio Files and storageDeveloper tools
105 popularity score ★ 10k ↓ 705k/wk
Opens the app, which asks before it adds the server.
claude mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}{
"servers": {
"desktop-commander": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}[mcp_servers.desktop-commander]
command = "npx"
args = ["-y", "@wonderwhy-er/desktop-commander"]gemini mcp add --scope user desktop-commander npx -- -y @wonderwhy-er/desktop-commanderDesktop Commander gives an assistant a terminal and a file manager on your own computer. It can start programs and keep talking to them (shells, SSH sessions, databases, development servers), stream and page through their output, list and kill processes, and run code in memory in Python, Node.js or R.
For files it reads, writes, moves and searches text, with ripgrep-based content search, recursive directory listing and reading from the end of a file. It makes targeted text replacements for small code edits, and also reads and writes Excel workbooks, PDFs (including creating PDFs from markdown) and Word documents, which makes it usable for quick analysis of CSV, JSON or Excel data.
It runs locally with Node.js: npx @wonderwhy-er/desktop-commander@latest setup configures Claude Desktop, or the package can be added to any client's config. A Docker image (mcp/desktop-commander) runs it in a container with only the folders you mount. Settings such as allowed directories, blocked commands and the default shell are changed through its own config tools. A Remote MCP option lets it be used from ChatGPT, Claude web and other web services.
get_configset_config_valuestart_processinteract_with_processread_process_outputforce_terminatelist_sessionslist_processeskill_processread_fileread_multiple_fileswrite_filewrite_pdfcreate_directorylist_directorymove_filestart_searchget_more_search_resultsstop_searchlist_searchesget_file_infoedit_blockget_usage_statsget_recent_tool_callsgive_feedback_to_desktop_commander