Lets agents search and edit files on your computer, run terminal commands, manage processes and connect to remote servers via SSH.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander~/.codex/config.toml
[mcp_servers.desktop-commander]
command = "npx"
args = ["-y", "@wonderwhy-er/desktop-commander"]
# codex mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander~/.cursor/mcp.json
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}.vscode/mcp.json
{
"servers": {
"desktop-commander": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}