Verified
DesktopCommanderMCP
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
Install this MCP
Pick your client, then copy the config.
{
"mcpServers": {
"desktopcommander": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-desktopcommander"
]
}
}
}{
"mcpServers": {
"desktopcommander": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-desktopcommander"
]
}
}
}{
"servers": {
"desktopcommander": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-desktopcommander"
]
}
}
}{
"mcpServers": {
"desktopcommander": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-desktopcommander"
]
}
}
}# Add to ~/.codex/config.toml (or .codex/config.toml in a trusted project) [mcp_servers.desktopcommander] command = "npx" args = ["-y", "@modelcontextprotocol/server-desktopcommander"]
Set up with your agent
Uses the same client as above (Cursor). Paste into that agent.
Install the "DesktopCommanderMCP" MCP for Cursor in this workspace.
1. Read official install docs: https://github.com/wonderwhy-er/DesktopCommanderMCP
2. Merge this JSON into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"desktopcommander": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-desktopcommander"
]
}
}
}
3. Restart Cursor if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/desktopcommander.htmlInstall the "DesktopCommanderMCP" MCP for Claude Desktop in this workspace.
1. Read official install docs: https://github.com/wonderwhy-er/DesktopCommanderMCP
2. Merge this JSON into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"desktopcommander": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-desktopcommander"
]
}
}
}
3. Restart Claude Desktop if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/desktopcommander.htmlInstall the "DesktopCommanderMCP" MCP for VS Code in this workspace.
1. Read official install docs: https://github.com/wonderwhy-er/DesktopCommanderMCP
2. Merge this JSON into .vscode/mcp.json:
{
"servers": {
"desktopcommander": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-desktopcommander"
]
}
}
}
3. Restart VS Code if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/desktopcommander.htmlInstall the "DesktopCommanderMCP" MCP for Windsurf in this workspace.
1. Read official install docs: https://github.com/wonderwhy-er/DesktopCommanderMCP
2. Merge this JSON into ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"desktopcommander": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-desktopcommander"
]
}
}
}
3. Restart Windsurf if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/desktopcommander.htmlInstall the "DesktopCommanderMCP" MCP for Codex in this workspace. 1. Read official install docs: https://github.com/wonderwhy-er/DesktopCommanderMCP 2. Merge this TOML under [mcp_servers.*] into ~/.codex/config.toml (or .codex/config.toml in a trusted project): # Add to ~/.codex/config.toml (or .codex/config.toml in a trusted project) [mcp_servers.desktopcommander] command = "npx" args = ["-y", "@modelcontextprotocol/server-desktopcommander"] 3. Restart Codex if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets. Catalog: https://averlo.xyz/launches/desktopcommander.html
Try it
After install, paste one of these into your agent.
- Show me what DesktopCommanderMCP can do
- Set up a simple workflow using DesktopCommanderMCP
- List the tools available in DesktopCommanderMCP

