Desktop Commander MCP Server
Terminal commands, file search and targeted file edits for Claude Desktop.
Community, verifiedby Eduard Ruzga (Desktop Commander)Runs on your computerChecked November 8, 2026
Desktop Commander is a free, open-source MCP server (MIT) that gives Claude a terminal and file tools on your own computer: it runs and talks to processes, searches file names and contents, reads Excel and PDF files, and makes precise text edits. It mainly helps Claude Desktop users, who lack Claude Code's built-in tools, and its Remote mode lets ChatGPT or Claude on the web reach the same computer. It runs with your user permissions and is not a sandbox, so its authors recommend the Docker install when you want isolation.
Who is Desktop Commander MCP for?
- Claude Desktop users who want terminal access
- People automating file clean-up and small scripts
- Developers who prefer working from the desktop chat app
What can you ask Desktop Commander MCP to do?
Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.
Find every .log file over 100 MB in my home folder and show me the list before deleting anything.Open the October sales spreadsheet in Documents, total the sales by city and save the result as a one-page PDF.In config.yaml, change the port from 3000 to 8080 and show me the diff.How to add the Desktop Commander MCP server to Claude
MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:
New to MCP? Read what an MCP server is and how to add one.
Connect the Desktop Commander MCP server to Claude Code for me: run this command: claude mcp add --scope user desktop-commander -- npx -y @wonderwhy-er/desktop-commander@latest
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.Or do it yourself:
claude mcp add --scope user desktop-commander -- npx -y @wonderwhy-er/desktop-commander@latestUnlock the setup steps
Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.
Good to know
Change its settings in a separate chat from your real work, as its README advises, because Claude may try to widen the allowed folders when it hits a limit.
How did we check Desktop Commander MCP?
On November 8, 2026 we read the GitHub repo (MIT, 10,252 stars, v0.3.1 released October 22, 2026), its install, security, logging and privacy sections, and npm: @wonderwhy-er/desktop-commander 0.3.1 needs Node.js 22.12 or newer and had about 716,000 downloads in the week to November 7. On November 22, 2026 the releases page listed v0.3.4 (November 18, 2026) as the latest; v0.3.3 (November 12, 2026) fixed a security flaw in Remote MCP authentication.
What do people ask about Desktop Commander MCP?
Does Desktop Commander limit which folders Claude can reach?
Only for its file tools. The allowedDirectories setting does not restrict terminal commands, which can still reach files elsewhere, and an empty list gives the file tools your whole disk.
How do I run Desktop Commander in isolation?
Use the Docker install: it runs in a container with a persistent work folder and needs no Node.js on your computer, and its authors describe it as isolated from your host system. The npx install runs with your own user permissions.
Does it keep a log of what Claude ran?
Yes, on your computer. Every tool call goes into ~/.claude-server-commander/claude_tool_call.log with its arguments unredacted, so a password typed into a command can end up there. The file rotates at 10 MB and old files are not deleted automatically.
Can I use Desktop Commander from ChatGPT?
Yes, through Desktop Commander Remote: run npx @wonderwhy-er/desktop-commander@latest remote on the computer, then connect its remote MCP from ChatGPT or Claude on the web. It accepts commands only while that remote device is running, and the remote service stores tool arguments and results temporarily. Use version 0.3.3 or newer for Remote: that release (November 12, 2026) fixed a security flaw in Remote MCP authentication, and the @latest tag in the command gets it.
Does Desktop Commander collect data?
It sends pseudonymous telemetry by default, without file contents, paths or command arguments. Turn it off by setting telemetryEnabled to false, or ask Claude to disable Desktop Commander telemetry.
We wrote these answers from the official pages of each product named, read on November 8, 2026.
More developer tool servers
Using servers like Desktop Commander from Claude Code? Our Claude Code course, in early access, goes from your first command to a landing page, an AI video and a working agent.
