Guide

How to let Claude control a remote computer via MCP

Let Claude read files, run commands and fix things on a computer that is not in front of you, with one small agent on that machine and no open ports.

What this setup does (and what it is not)

MCP Desk gives Claude a set of MCP tools on a real computer somewhere else: a home PC, a Windows test machine, a server. Claude can read a log, run the tests, restart a service or look at the screen, and you stay in your own Claude app while it does.

This is remote access through MCP tools. It is not Claude’s built-in computer use on the machine in front of you, and it is not a screen-sharing tool: Claude gets structured tools (files, commands, processes, services), and you get a browser live view only when you ask for one.

  • Nothing of yours on the remote computer. No Claude install, no account and no API key there. The remote machine runs one small agent.
  • No open ports. The agent dials out, so there is no port forwarding, public IP or VPN to set up. How that works.
  • Free. MCP Desk costs nothing. Your Claude plan and its usage limits still apply. Pricing.

What you need

  • A computer to work on: Windows (x64 or ARM64), macOS 11 or later, Linux (x86_64 or aarch64) or an Android phone (experimental).
  • A Claude client: Claude Code, Claude Desktop, or Claude on the web (claude.ai).
  • An MCP Desk sign-in, which you create in the browser the first time Claude connects. Sign-in is Google or Microsoft.

Step 1. Run the agent on the remote computer

On the computer you want Claude to work on, get the agent and start it.

Windows (x64 and ARM64)

Get the agent from the download section: the Microsoft Store version is signed and shows no warning, or download mcpdeskagent.exe directly and double-click it. The direct file is not signed with a code-signing certificate, so Windows may show a blue “Windows protected your PC” box: choose More info, then Run anyway.

macOS 11 or later (Intel and Apple Silicon)

Open the disk image from the download section, drag MCP Desk to Applications and open it.

Linux (x86_64 and aarch64)

curl -fL -o mcpdeskagent "https://mcpdesk.ai/downloads/latest/mcpdeskagent-linux-$(uname -m)"
chmod +x mcpdeskagent
./mcpdeskagent

The agent goes Online and shows a 9-digit desk code and a one-time code that changes every 10 minutes. Leave it running. Check a download against SHA256SUMS if you want to be sure.

For a server with no screen, see give Claude access to your server and manage a headless Linux server.

Step 2. Add MCP Desk to Claude Code, Claude Desktop or Claude on the web

One sign-in URL works for every client: https://mcp.mcpdesk.ai/oauth/mcp.

Claude Code

Claude Code
claude mcp add --scope user --transport http mcpdesk https://mcp.mcpdesk.ai/oauth/mcp

Then run /mcp in Claude Code, pick Authenticate, sign in to MCP Desk in the browser and press Allow. --scope user saves it for all your projects.

Claude Desktop and Claude on the web

Open Settings → Connectors → Add custom connector, paste https://mcp.mcpdesk.ai/oauth/mcp, choose Connect, sign in to MCP Desk and press Allow.

Step 3. Link the desk and press Allow

In the chat, tell Claude “link desk 123 456 789”, with your desk’s own 9-digit code. Then press Allow on the remote computer. A prompt there shows who wants to link.

Approve on the desk. A prompt shows who wants to link. On a headless server, run mcpdeskagent link approve --wait 120 (add --installed if the agent runs as a service).

The link is permanent until you unlink it, and the desk becomes private to your account. After that, list_desks shows your desks and connect_device connects without any codes. For a one-off connection to someone else’s desk, give Claude the desk code and the current one-time code instead.

What you can ask Claude to do

  • “List my desks, then find out why the office PC is slow.”
  • “Read the last 100 lines of the service log on desk 123 456 789 and tell me what failed.”
  • “Run the tests on the Windows machine and report what fails.”
  • “Open a live view of my office PC.”

More ideas: use cases.

Stay in control: modes, one-time codes and the live view

  • Modes. A fresh agent starts in full. Start it with --mode readonly and Claude only gets the tools that inspect; --mode playbooks adds vetted scripts. --allowed-root limits the file tools to folders you choose, but not shell commands.
  • One-time codes. A connection to a desk that is not linked needs its desk code and the current one-time code, which changes every 10 minutes.
  • Live view. Ask Claude to open a live view and you get a one-time link for your browser. The screen is streamed only while it is open, and the desk’s screen mode (off, view or control) is set on the desk.
  • Stopping. Access ends when you stop the agent. The agent keeps a local audit log of tool calls.

See Security for the details.

End-to-end encryption with local Claude clients

There are three ways Claude can reach a desk. The MCP Bridge is recommended for the local clients: Claude Code and Claude Desktop (and Cursor, Codex and Grok). It runs in a container on the computer your Claude client runs on, never on the remote desk, and neither bridge path lets MCP Desk read the data.

Connection What you install Who can read the data connection.mode
Standard MCP Nothing. Add the sign-in URL to your AI client. The traffic goes through the MCP Desk gateway, encrypted in transit with TLS. The gateway reads each request to route it, so MCP Desk could, in theory, see the data. Commands and file contents are not stored or logged. standard
MCP Bridge via tunnel One line on the computer your AI client runs on, never on the remote desk. It runs in a container. Only your two computers hold the keys. The traffic passes through an MCP Desk tunnel as sealed bytes, and MCP Desk cannot read it. tunnel
MCP Bridge, direct The same container and the same line. Nothing more to set up. Only your two computers. The path goes straight between them when the network allows, with no MCP Desk server on it: direct, encrypted end to end. direct

To see which one you are on, ask your AI to run sysinfo (the same tool as system_info) and read connection.mode. The bridge starts on the tunnel and moves to the direct connection by itself when the network allows it.

Claude on the web (claude.ai) cannot use the bridge. It runs in Anthropic’s cloud and cannot run a local program, so it uses Standard MCP. Do not assume end-to-end encryption there.

To set up the bridge, run one line on the computer your Claude client runs on:

macOS and Linux
curl -fsSL https://mcpdesk.ai/install.sh | sh
Windows (PowerShell)
irm https://mcpdesk.ai/install.ps1 | iex

It needs Docker or Podman and installs Podman when there is neither. Restart Claude afterwards. How the bridge works and its limits.

FAQ

Can Claude control a computer that is not in front of me?

Yes. A small MCP Desk agent runs on that computer and dials out to MCP Desk. Claude reaches it through MCP tools: it can read files, run commands, manage services and processes, transfer files and ask for a live view. Claude’s built-in computer use works on the machine in front of you; this is remote access through MCP.

Do I need to install Claude on the remote computer?

No. The remote computer runs only the MCP Desk agent. Claude, your Claude account and any API keys stay on your side.

Does this work with Claude Code, Claude Desktop and Claude on the web?

Yes. All three add the same sign-in URL. Claude Code uses one command, and Claude Desktop and Claude.ai use Settings, Connectors, Add custom connector. The end-to-end encrypted MCP Bridge works with Claude Code and Claude Desktop, not with Claude.ai in the browser.

How does Claude reach a machine behind a home router?

The agent opens an outgoing connection, so nothing has to come in. There is no port forwarding, no public IP and no VPN to set up. The computer only needs to be able to reach the internet.

How do I stop access?

Close the agent and access ends. Ask Claude to unlink the desk, or run mcpdeskagent link revoke on the computer, to remove the permanent link. To start fresh, delete the agent and its data folder.

Can I watch the screen while Claude works?

Yes, on a desk with a screen. Ask Claude for a live view: you get a one-time link that opens in your browser. The desk’s owner sets the screen mode to off, view or control. Video is streamed only while a live view is open.

Last updated 30 November 2026. Features change; the docs are the reference.