Desktop Commander
CommunityMCP server by wonderwhy-er · updated · ★ 10k · 196k downloads a week
MCP server for terminal commands, file operations, and process management Desktop Commander is a community project by wonderwhy-er, not verified by a company domain.
Last commit 3 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, 10,102 stars, original repository
Downloads a script from the internet and runs it
Install Desktop Commander
Built from the published package, never by AIclaude mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commanderRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add desktop-commander npx -y @wonderwhy-er/desktop-commanderGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the desktop-commander block.
Weekly newsletter
Like Desktop Commander? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/refs/heads/main/install.sh | bash - Runs a script automatically when the package is installedIn
package.json:"postinstall":
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Desktop Commander
All alternatives →Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
Open-source Obsidian for MDX - edit local docs with agent assistance
A private persistent computer: files and a bash shell that survive between runs.
Filesystem-first framework for durable backend AI agents that run anywhere.
W3C Web Model Context Protocol (WebMCP) API polyfill. Let AI agents like Claude, ChatGPT, and Gemini interact with your website via document.modelContext.
MCP server for loading and extracting text from PDF files with chunked pagination and interactive viewer
Desktop Commander: common questions
How do I install Desktop Commander?
In Claude Code run claude mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Desktop Commander the official server?
Desktop Commander is a community project by wonderwhy-er, not verified by a company domain.
Is Desktop Commander free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Desktop Commander safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Desktop Commander?
Similar MCP servers: mcp-server, Agent-Native Content, Computer, Eve.
Does Desktop Commander work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
