原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Remote Pc MCP

作者:raghibrm版本 0.6.2i★ 9i在你的电脑上运行
注册名称io.github.raghibrm/remote-pc-mcp

安装方法

What it does

Drive a PC over MCP: shell, files, processes, system stats, screenshots, mouse and keyboard.

  • Connects 在你的电脑上运行
  • Account or key Needs REMOTE_PC_MCP_TOKEN
  • Category 文档、表格与办公

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Remote Pc MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 Remote Pc MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "remote-pc": {
          "command": "uvx",
          "args": [
            "remote-pc-mcp"
          ],
          "env": {
            "REMOTE_PC_MCP_TOKEN": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Remote Pc MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Remote Pc MCP,或回答中出现 Remote Pc MCP 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • REMOTE_PC_MCP_HOST Interface to bind (default 0.0.0.0).
  • REMOTE_PC_MCP_PORT Port to listen on (default 8765).

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Remote Pc MCP

Remote Pc MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Remote Pc MCP 的应用

  • 需要 Remote Pc MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Remote Pc MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 Remote Pc MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 Remote Pc MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

B · 文档、表格与办公 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Remote Pc MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 Remote Pc MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user remote-pc --env REMOTE_PC_MCP_TOKEN=your-value -- uvx remote-pc-mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 Remote Pc MCP 在列表中并显示已连接

  6. 试一试

    用 Remote Pc MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Remote Pc MCP,或回答中出现 Remote Pc MCP 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • REMOTE_PC_MCP_HOST Interface to bind (default 0.0.0.0).
  • REMOTE_PC_MCP_PORT Port to listen on (default 8765).

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Remote Pc MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 Remote Pc MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Remote Pc MCP 的设置中,REMOTE_PC_MCP_TOKEN 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Remote Pc MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Remote Pc MCP,或回答中出现 Remote Pc MCP 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • REMOTE_PC_MCP_HOST Interface to bind (default 0.0.0.0).
  • REMOTE_PC_MCP_PORT Port to listen on (default 8765).

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Remote Pc MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 Remote Pc MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Remote Pc MCP 的设置中,REMOTE_PC_MCP_TOKEN 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Remote Pc MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Remote Pc MCP,或回答中出现 Remote Pc MCP 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • REMOTE_PC_MCP_HOST Interface to bind (default 0.0.0.0).
  • REMOTE_PC_MCP_PORT Port to listen on (default 8765).

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Remote Pc MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user remote-pc --env REMOTE_PC_MCP_TOKEN=your-value -- uvx remote-pc-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "remote-pc": {
      "command": "uvx",
      "args": [
        "remote-pc-mcp"
      ],
      "env": {
        "REMOTE_PC_MCP_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "remote-pc": {
      "command": "uvx",
      "args": [
        "remote-pc-mcp"
      ],
      "env": {
        "REMOTE_PC_MCP_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "remote-pc": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "remote-pc-mcp"
      ],
      "env": {
        "REMOTE_PC_MCP_TOKEN": "your-value"
      }
    }
  }
}

需要你填写的值

  • REMOTE_PC_MCP_TOKEN 机密 必填 env
    Bearer token clients must present. Treat as a root-equivalent credential on the host.
  • REMOTE_PC_MCP_HOST env
    Interface to bind (default 0.0.0.0).
  • REMOTE_PC_MCP_PORT env
    Port to listen on (default 8765).

说明仍为英文原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
54/周
连接方式
在你的电脑上运行
传输方式
streamable-http
最新版本i
0.6.2
发布到注册中心i
2026年10月19日
代码最后更新i
2026年11月12日
作者
raghibrm
软件包
pypi: remote-pc-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 raghibrm 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于3天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3929 个服务器的 93%
  • 发布到注册中心的时间比此分类中其他 3929 个服务器的 53% 更新
  • 基础检查结果等于或优于此分类中其他 3929 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Remote Pc MCP 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:REMOTE_PC_MCP_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于3天前,最新版本(0.6.2)于27天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Puter MCP, XcodeBuildMCP, XcodeBuildMCP

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

作者:HeyPuter广泛使用★ 4.4万5个月前更新

在云端运行✓ 服务方 · puter.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

作者:getsentry广泛使用↓ 13万/周 共用包的下载量★ 65734个月前更新

在你的电脑上运行✓ 服务方 · xcodebuildmcp.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

作者:cameroncooke广泛使用↓ 13万/周 共用包的下载量★ 657314个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

remote-pc-mcp

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.

Tools

ToolDescription
shell_execRun any shell command — returns stdout, stderr, exit code
read_fileRead a file as text or base64 (binary fallback)
write_fileWrite text or binary content to a file
list_directoryList files and directories, optionally recursive
system_infoOS, CPU, RAM, and GPU stats (NVIDIA GPUs via nvidia-smi; absent on non-GPU hosts)
start_processStart a long-running command in the background — returns a PID
get_process_outputPoll stdout/stderr of a background process by PID, plus its exit code once it ends
kill_processTerminate a process by PID
download_fileDownload a URL directly to this machine
take_screenshotCapture the whole desktop, every monitor, as an image sized for a vision model (screen coordinates)
clickClick at (x, y) in the screenshot — left / right / middle, single or multi-click
move_mouseMove cursor to (x, y) in the screenshot, optionally animated
type_textType a string into the focused window
press_keyPress a single key or hotkey combo (e.g. enter, f11, ctrl+c, win+d)
scrollScroll the mouse wheel up or down, optionally at a specific point

Requirements

  • Python 3.10+
  • Windows 10/11, or Linux with systemd (for autostart)

Install

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))"

Linux / macOS

openssl rand -hex 32

Then run the installer:

# Windows

install.bat

Linux

chmod +x install.sh ./install.sh

That's it — one command. The installer:

  • installs Python dependencies
  • registers the server to launch hidden on every login (Startup-folder shortcut on Windows, systemd user unit on Linux)
  • starts it now
  • supervises it with exponential backoff on crash (5→10→20→40→60 seconds, resets after 5 minutes of uptime)
  • survives reboots — set once, runs forever
Verify it's up
curl http://localhost:8765/health

{"status":"ok","server":"remote-pc-mcp","version":"0.5.0"}

When to rerun the installer

install.bat / install.sh are idempotent and self-healing. Rerun any time after:

  • You move the repo to a different folder
  • You reinstall or upgrade Python to a different path
  • You rebuild the machine and want to restore autostart

For day-to-day operation you never need to think about it.

After a reboot

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.

Uninstall
# Windows

install.bat --uninstall

Linux

./install.sh --uninstall

Removes the autostart entry and stops the running server + supervisor.

Foreground run (development)

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.

Or install from PyPI
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).

Adding to your MCP client

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:

ClientConfig file
Claude Code.mcp.json in the project root (or ~/.claude.json for user-wide)
Claude Desktopclaude_desktop_config.json (Settings → Developer → Edit Config)
Cursor.cursor/mcp.json
Cline / Continue / Windsurfeach has its own MCP servers panel — paste the JSON there
Custom agentswherever 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.

Security

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:

  • The bearer token is a root-equivalent credential. Generate a 32-byte hex token, store it only in .env (which is git-ignored), and treat it like a password.
  • Never expose the server to the public internet without TLS and a reverse proxy (nginx, Caddy, Cloudflare Tunnel).
  • Use Tailscale (strongly recommended): bind to your Tailscale IP (set REMOTE_PC_MCP_HOST=100.x.x.x in .env) so the listener is only reachable from devices in your tailnet.
  • LAN-only deployments with 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.

Configuration

All env vars are optional except REMOTE_PC_MCP_TOKEN.

VarDefaultDescription
REMOTE_PC_MCP_TOKEN_(required)_Bearer token clients must present
REMOTE_PC_MCP_HOST0.0.0.0Bind address. Set to a Tailscale IP to restrict reach
REMOTE_PC_MCP_PORT8765Listen 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_TIMEOUT600 (s)Cap on per-call shell_exec timeout
REMOTE_PC_MCP_MAX_READ_BYTES50 MBread_file upper limit
REMOTE_PC_MCP_MAX_WRITE_BYTES50 MBwrite_file upper limit
REMOTE_PC_MCP_MAX_DOWNLOAD_BYTES2 GBdownload_file upper limit
REMOTE_PC_MCP_SCREEN_MAX_EDGE1568 (px)Longest edge of the take_screenshot image. 0 turns the limit off
REMOTE_PC_MCP_SCREEN_MAX_PIXELS1150000Total 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

Linux

systemctl --user restart remote-pc-mcp

Logs and troubleshooting

Two log files in the repo root, both rotated automatically:

FileWhat's in itRotation
server.logApp events + uvicorn startup/access logs10 MB × 5
daemon.logSupervisor events (crashes, restarts, backoff)2 MB × 3

Server isn't responding?

# Is the listener up locally?

curl http://localhost:8765/health

What's the supervisor seeing?

tail -f daemon.log

Linux: full journal

journalctl --user -u remote-pc-mcp -f

Windows: is the autostart registered?

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.

Reachable on the LAN but not over Tailscale?

Another VPN with its own network adapter on the same PC can block Tailscale traffic while tailscale ping still succeeds. NordVPN with Meshnet turned on has done this on Windows. The server listens on every network by default (REMOTE_PC_MCP_HOST=0.0.0.0), so point the client's URL at an address it can reach on another private network, such as the PC's LAN or Meshnet address, or turn the other VPN's mesh off.

Stuck process / port already in use?

# Windows

install.bat --uninstall && install.bat

Linux

./install.sh --uninstall && ./install.sh

UI-driving tools

take_screenshot, click, move_mouse, type_text, press_key, and scroll require an interactive desktop session:

  • Windows: a user must be logged in and the screen unlocked. A service running under Session 0 cannot reach the desktop. The Startup-folder install gives you exactly this — the daemon runs in your user session.
  • Linux: needs an X11 or Wayland session. For screenshots specifically, install scrot, gnome-screenshot, or ImageMagick's import — sudo apt install scrot is the easiest.
Screen coordinates

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

只显示了开头部分;其余内容请在仓库中阅读