Give Claude Code access to another computer through MCP
CMDOP connects the AI you already use to your own computers, and MCP is how. Install CMDOP on the other computer, create an agent token for Claude Code on your page, and add the MCP address https://<your-address>.cmdop.dev/mcp/ to Claude Code with one command. Claude Code is seen working end to end this way. The token has a lifetime you choose, from 5 minutes to 90 days, and you can extend or revoke it. A new agent can only read.
Guides · Facts read
Two questions share this search
- How do I add a remote MCP server to Claude Code? Anthropic's documentation covers that, for any server.
- How do I let Claude Code work on a computer it is not running on? That is what this page covers, with CMDOP as the server.
Install CMDOP on the other computer
Run this on the Mac or Linux computer you want Claude Code to reach. Windows is not supported yet. Setup is by hand for now: there is no self-service sign-up yet, so the address and the computer's admission come from CMDOP.
curl -fsSL https://install.cmdop.ai | shCreate an agent token
On your CMDOP page, open the Agents tab and create a token for Claude Code. The page shows it once. You choose its lifetime, from 5 minutes to 90 days; you can extend it later, and you can revoke it. The owner's own token does not open the MCP server.
Add it to Claude Code
On the computer where Claude Code runs, paste this in a terminal. Put your address and the token in place of the two placeholders.
claude mcp remove --scope user cmdop 2>/dev/null; claude mcp add --scope user --transport http cmdop https://your-address.cmdop.dev/mcp/ --header "Authorization: Bearer <agent-token>"A line with the token in it stays in your shell history. Put the token in a private file and read it from there, or clear the line afterwards.
Check it
Ask Claude Code to call machines_list. It answers with your computers. If it says unauthorized, the token is wrong or was revoked: create a new one.
What it may do there
A new agent can only read. Writing, running commands and the screen are switched on by hand, for that agent, on your page.
Cut it off
Revoking the token cuts the agent off from its next call. Pausing the computer stops every call and its running tasks; only a person at the computer can resume it.
The same address for other clients
Codex and ChatGPT work against the same address, with the same computers and the same permissions, so you can change the AI without touching the machines. They are the other two clients seen working end to end. Apps that sign in through the browser can use the browser sign-in instead of a token.
Limits
- macOS and Linux only. Windows is not supported yet.
- Claude Code is the Claude client named here. Other Claude apps are not described on this page.
- The setup line comes from the same source as the connect panel on your page, so the page's line wins if they ever differ.