Skip to main content

Desktop Commander

Desktop Commander's official remote MCP server lets agents read and edit files, run terminal commands, and manage processes on a computer you pair. The endpoint is https://mcp.desktopcommander.app/mcp over HTTP. It is the Desktop Commander card with the Official badge. The URL is already filled in.

This card is Desktop Commander Remote. The local Desktop Commander MCP server is a separate install for an AI app running on that same computer. See What is Desktop Commander and how do I install it?.

Sign-in is OAuth. Willow registers itself. There is no OAuth app to create. Sign in with Google or email, and use that same email on every computer you pair.

Connect in Willow​

  1. Go to MCP Servers → + Add MCP server, open the Desktop Commander card with the Official badge, and click + Use.
  2. Sign in with Willow OAuth. Create an account when asked if you don't have one.

Pair a computer​

On the Windows, Mac, or Linux computer agents should use, run the setup for that system. Setup installs Node.js if it is missing, and asks you first. Type Yes or press Enter. You can read the scripts on GitHub before you run them. See How do I connect a computer to Desktop Commander Remote?.

Windows. Paste this in PowerShell. The vendor's setup page also offers DesktopCommander-Remote.cmd, which you double-click:

irm -ErrorAction Stop https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/main/scripts/remote/remote-windows.ps1 | iex

Mac. Paste this in Terminal:

curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/main/scripts/remote/remote-macos.sh | sh

Linux. Paste this in a terminal:

curl -fsSL https://raw.githubusercontent.com/wonderwhy-er/DesktopCommanderMCP/main/scripts/remote/remote-linux.sh | sh

If you already have Node.js 22.12 or newer, you can start it with npx instead. On Windows, paste this in PowerShell:

npx.cmd @wonderwhy-er/desktop-commander@latest remote

On Mac or Linux:

npx @wonderwhy-er/desktop-commander@latest remote

A page opens in the browser. Check that the code matches the code in the terminal, then click Verify device. If the codes don't match, don't verify. Close the page and run the setup command again.

The terminal shows Device ready. The email on the User: line must be the one you used in Willow. Keep the terminal open. Desktop Commander Remote works only while it runs, and commands run as the user who started it. After a restart, run the same command again. You usually don't need to verify the computer again. On Windows, double-click the Desktop Commander Remote shortcut if setup created one.

Manage computers at mcp.desktopcommander.app. When more than one computer is online, tell the agent which one by name. Stop a computer with Ctrl+C in its terminal. Sign that computer out with npx @wonderwhy-er/desktop-commander@latest remote --logout.

Troubleshooting​

The computer shows Offline, or the agent says no device is online

The computer is on the account, but Desktop Commander is not running. Confirm the computer is on and online. If the terminal was closed, the computer restarted, or it went to sleep, run the setup command again and wait for Device ready. On a Mac, Desktop Commander keeps the computer awake while it runs. On Windows and Linux, set the power settings so the computer doesn't sleep. A short network drop reconnects within a couple of minutes. See Why can't Desktop Commander Remote find my computer?.

No devices are connected, or an online computer is unreachable

Willow and the computer are signed in to different accounts. Compare the Willow account with the User: line under Device ready. Sign in to Willow again with the computer's email. To keep the Willow email instead, remove the computer at mcp.desktopcommander.app, run setup again, and verify with that email.

Additional Resources​