Quick start
1. Start the device agent
On the computer you want to control:
npx @wonderwhy-er/desktop-commander@latest remote
Your browser opens to a verification page showing a pairing code (also printed in the terminal — a standard OAuth device-flow check). Sign in, confirm the codes match, and the terminal reports "Device ready". Keep the agent running: close the terminal, no access.
2. Connect your AI client
Each client walks you through OAuth sign-in on first connect.
claude.ai / Claude Desktop — Settings → Connectors → Add custom connector, then enter:
https://mcp.desktopcommander.app/mcp
Claude Code:
claude mcp add --transport http remote-desktop-commander https://mcp.desktopcommander.app/mcp
(If you work inside a checkout of this repo, Claude Code also picks up the included .mcp.json automatically.)
ChatGPT — Settings → Apps & Connectors → Advanced settings → enable Developer mode (requires a plan that includes it), then Create connector and enter:
https://mcp.desktopcommander.app/mcp
Cursor — one click: Add to Cursor. Or add to ~/.cursor/mcp.json manually:
{
"mcpServers": {
"remote-desktop-commander": {
"url": "https://mcp.desktopcommander.app/mcp"
}
}
}
VS Code — install the agent plugin (bundles this server):
copilot plugin install desktop-commander/remote-desktop-commander
Or add the server directly to .vscode/mcp.json in your workspace (or your user-level mcp.json):
{
"servers": {
"remote-desktop-commander": {
"type": "http",
"url": "https://mcp.desktopcommander.app/mcp"
}
}
}
Gemini CLI:
gemini extensions install https://github.com/desktop-commander/remote-desktop-commander
3. Try it
These work against any machine running the agent, no setup needed:
"List the contents of my home directory and tell me what's there."
"Create a folder called ai-test in my Documents folder. Inside it, write a short Python script that prints the date, and run it."
"Start a Python REPL on my machine, import pandas, and tell me which version is installed. Keep the session alive."
"Search my home directory for files modified in the last 24 hours and group them by folder."
Full walkthrough with troubleshooting: docs/SETUP.md