Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Drive a PC over MCP: shell, files, processes, system stats, screenshots, mouse and keyboard.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
REMOTE_PC_MCP_TOKEN, REMOTE_PC_MCP_HOST, REMOTE_PC_MCP_PORT「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"remote-pc": {
"command": "uvx",
"args": [
"remote-pc-mcp"
],
"env": {
"REMOTE_PC_MCP_TOKEN": "your-value",
"REMOTE_PC_MCP_HOST": "your-value",
"REMOTE_PC_MCP_PORT": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add remote-pc --env REMOTE_PC_MCP_TOKEN=your-value --env REMOTE_PC_MCP_HOST=your-value --env REMOTE_PC_MCP_PORT=your-value -- uvx remote-pc-mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"remote-pc": {
"command": "uvx",
"args": [
"remote-pc-mcp"
],
"env": {
"REMOTE_PC_MCP_TOKEN": "your-value",
"REMOTE_PC_MCP_HOST": "your-value",
"REMOTE_PC_MCP_PORT": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"remote-pc": {
"type": "stdio",
"command": "uvx",
"args": [
"remote-pc-mcp"
],
"env": {
"REMOTE_PC_MCP_TOKEN": "your-value",
"REMOTE_PC_MCP_HOST": "your-value",
"REMOTE_PC_MCP_PORT": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
REMOTE_PC_MCP_HOST envREMOTE_PC_MCP_PORT envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント raghibrm で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:REMOTE_PC_MCP_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.6.2)がレジストリに届いたのは19 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, AvaHR
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read hiring data and create inactive assessment and questionnaire drafts for human review.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Expose any PC's capabilities — shell, filesystem, background processes, system stats, screenshots, UI control, and file transfer — to any MCP client (Claude Desktop, Claude Code, Cursor, Cline, Continue, Windsurf, custom agents — anything that speaks the Model Context Protocol) over streamable HTTP.
Drop it on any machine you want to drive remotely: a home server, a desktop, a build/CI box, a media server, a workstation, a Raspberry Pi. From a separate machine, your AI agent of choice can run commands on it, manage files, launch and monitor background jobs, take screenshots, and drive the desktop UI.
The transport is the mcp SDK's streamable HTTP (stateless_http=True), so a server restart does not break already-connected clients. Each request is self-contained — there is no in-memory session to go stale.
⚠️ `shell_exec` runs arbitrary commands on the host as the user that started the server. The bearer token is a root-equivalent credential. See Security before exposing the server.
| Tool | Description |
|---|---|
shell_exec | Run any shell command — returns stdout, stderr, exit code |
read_file | Read a file as text or base64 (binary fallback) |
write_file | Write text or binary content to a file |
list_directory | List files and directories, optionally recursive |
system_info | OS, CPU, RAM, and GPU stats (NVIDIA GPUs via nvidia-smi; absent on non-GPU hosts) |
start_process | Start a long-running command in the background — returns a PID |
get_process_output | Poll stdout/stderr of a background process by PID, plus its exit code once it ends |
kill_process | Terminate a process by PID |
download_file | Download a URL directly to this machine |
take_screenshot | Capture the whole desktop, every monitor, as an image sized for a vision model (screen coordinates) |
click | Click at (x, y) in the screenshot — left / right / middle, single or multi-click |
move_mouse | Move cursor to (x, y) in the screenshot, optionally animated |
type_text | Type a string into the focused window |
press_key | Press a single key or hotkey combo (e.g. enter, f11, ctrl+c, win+d) |
scroll | Scroll the mouse wheel up or down, optionally at a specific point |
On the machine you want to control:
git clone https://github.com/raghibrm/remote-pc-mcp
cd remote-pc-mcp cp .env.example .env
Set a strong token in .env:
REMOTE_PC_MCP_TOKEN=your-long-random-token-here
Generate one:
# Windows
python -c "import secrets; print(secrets.token_hex(32))"
openssl rand -hex 32
Then run the installer:
# Windows
install.bat
chmod +x install.sh ./install.sh
That's it — one command. The installer:
curl http://localhost:8765/health
install.bat / install.sh are idempotent and self-healing. Rerun any time after:
For day-to-day operation you never need to think about it.
Autostart fires when you sign in to Windows. A reboot that sits at the lock screen will NOT start the daemon until somebody logs in. This is intentional — enabling Windows auto-logon to make reboots fully hands-off would let anyone with physical access to the machine get a logged-in desktop, which is the wrong trade-off for a remote-control tool.
If you need to bring the daemon back up after a reboot without walking to the PC, sign in remotely via Remote Desktop or Tailscale SSH. Once you're logged in, the Startup shortcut fires and the daemon starts.
Linux is different: install.sh --linger runs sudo loginctl enable-linger $USER so the systemd user unit runs across reboots without any logon. systemd's user services don't share the auto-logon security problem because they don't grant interactive desktop access — they just keep your user-scoped daemons alive.
# Windows
install.bat --uninstall
./install.sh --uninstall
Removes the autostart entry and stops the running server + supervisor.
For a one-off run with visible console output and no autostart:
python server.py
That's it — no special script. Use install.bat / install.sh for the normal supervised setup.
pip install remote-pc-mcp
remote-pc-mcp # run the server in the foreground remote-pc-mcp-daemon # supervised: restarts the server on crash
A pip install gives you the server and supervisor commands but does not register autostart. For autostart on sign-in, use the clone and install-script path above. .env, logs, and .state/ live in REMOTE_PC_MCP_HOME (default: the working directory).
Most MCP clients use the same JSON schema; the file just lives in different places. Example:
{
"mcpServers": { "remote-pc": { "type": "http", "url": "http://YOUR_PC_IP_OR_HOSTNAME:8765/mcp", "headers": { "Authorization": "Bearer your-long-random-token-here" } } } }
Where to put it:
| Client | Config file |
|---|---|
| Claude Code | .mcp.json in the project root (or ~/.claude.json for user-wide) |
| Claude Desktop | claude_desktop_config.json (Settings → Developer → Edit Config) |
| Cursor | .cursor/mcp.json |
| Cline / Continue / Windsurf | each has its own MCP servers panel — paste the JSON there |
| Custom agents | wherever your agent reads MCP server definitions |
For Tailscale users, the magic-DNS hostname works in the URL:
"url": "http://your-pc.tail12345.ts.net:8765/mcp"
Restart (or reload) your client. The tools appear automatically. The "remote-pc" key is just a label — pick whatever name you want.
shell_exec runs any command on the host as the user that started the server. That is intentional — it is what makes the server useful for remote-driving a PC. It also means:
.env (which is git-ignored), and treat it like a password.REMOTE_PC_MCP_HOST=100.x.x.x in .env) so the listener is only reachable from devices in your tailnet.REMOTE_PC_MCP_HOST=0.0.0.0 are reasonable if you trust every device on the LAN and have a strong token. Don't do this on an untrusted network.The token is compared with secrets.compare_digest (constant-time). All error messages pass through a sanitiser that strips absolute paths, the home directory, and the token before being returned to clients.
All env vars are optional except REMOTE_PC_MCP_TOKEN.
| Var | Default | Description |
|---|---|---|
REMOTE_PC_MCP_TOKEN | _(required)_ | Bearer token clients must present |
REMOTE_PC_MCP_HOST | 0.0.0.0 | Bind address. Set to a Tailscale IP to restrict reach |
REMOTE_PC_MCP_PORT | 8765 | Listen port |
REMOTE_PC_MCP_ALLOWED_HOSTS | _(empty)_ | Comma-separated allowlist for DNS-rebinding protection. Empty disables it (default — wrong threat model on a tailnet) |
REMOTE_PC_MCP_MAX_SHELL_TIMEOUT | 600 (s) | Cap on per-call shell_exec timeout |
REMOTE_PC_MCP_MAX_READ_BYTES | 50 MB | read_file upper limit |
REMOTE_PC_MCP_MAX_WRITE_BYTES | 50 MB | write_file upper limit |
REMOTE_PC_MCP_MAX_DOWNLOAD_BYTES | 2 GB | download_file upper limit |
REMOTE_PC_MCP_SCREEN_MAX_EDGE | 1568 (px) | Longest edge of the take_screenshot image. 0 turns the limit off |
REMOTE_PC_MCP_SCREEN_MAX_PIXELS | 1150000 | Total pixels of the take_screenshot image. 0 turns the limit off |
After changing .env, restart the server so the new value takes effect:
# Windows: easiest path is just re-run the installer (idempotent)
install.bat --uninstall && install.bat
systemctl --user restart remote-pc-mcp
Two log files in the repo root, both rotated automatically:
| File | What's in it | Rotation |
|---|---|---|
server.log | App events + uvicorn startup/access logs | 10 MB × 5 |
daemon.log | Supervisor events (crashes, restarts, backoff) | 2 MB × 3 |
Server isn't responding?
# Is the listener up locally?
curl http://localhost:8765/health
tail -f daemon.log
journalctl --user -u remote-pc-mcp -f
explorer shell:startup # look for remote-pc-mcp.lnk
MCP client says tools are missing after a server restart?
The streamable HTTP transport is designed so a restart does not brick clients, but the client still has to issue a request to notice the new server. First fix: invoke any tool from this server (e.g. ask your agent to run system_info) — the client will retry the connection. If that fails, reconnect the MCP server in your client (Claude Code: /mcp ; Cursor: refresh in MCP panel) or restart the client.
Stuck process / port already in use?
# Windows
install.bat --uninstall && install.bat
./install.sh --uninstall && ./install.sh
take_screenshot, click, move_mouse, type_text, press_key, and scroll require an interactive desktop session:
scrot, gnome-screenshot, or ImageMagick's import — sudo apt install scrot is the easiest.A vision model sees a screenshot shrunk to fit its image limits, and the coordinates it answers with are in that shrunken image. So take_screenshot shrinks the desktop itself, to at most REMOTE_PC_MCP_SCREEN_MAX_EDGE pixels on the long edge and REMOTE_PC_MCP_SCREEN_MAX_PIXELS in total. The defaults match the Claude API's standard image limits, so the client does not shrink it again. The result is a JPEG image plus a JSON block with the image size, the scale, the desktop's geometry, and the path of the full-resolution PNG on the host.
click, move_mouse, and scroll take (x, y) in that image's pixels. The server maps each point back to the real desktop, including monitors left of or above the primary one, which have negative desktop coordinates. Each call also returns the desktop_x, desktop_y it used. The mapping depends only on the desktop's current size, so a client can click without taking a screenshot first, as long as it uses the same image size. Set both limits to 0 for a full-resolution image, one pixel per desktop pixel. Coordinates still count from the image's top
冒頭だけを表示しています。続きはリポジトリで読めます