LR

levra7/remote-harness-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

4 stars 0 forks 质量 69 趋势 19MIT

远程束MCP——通过原生MCP将任何PC、笔记本、服务器或安卓手机都变成Gemini的自主执行节点。

概览

在手机上的Gemini应用中输入任务——你的电脑、笔记本或服务器会执行,Gemini会反馈并带来真实的结果。 Gemini 在浏览器或手机上可以交流,但在你的电脑上却无法做任何事。这就弥合了这个差距。它是一个免费的开源服务器,你只需一个链接就能连接到(gemini.google.com/customize/connectors 或 Gemini 移动应用)。之后,Gemini 会获得: - 运行shell命令,构建和测试代码,管理git;- 读取、写入和编辑文件;- 搜索文件系统;- 启动长时间运行的作业并后续检查;- 监控CPU、内存和磁盘。 你的手机成了你拥有的每台机器的遥控器——而Gemini就是操作这些机器的代理人。 只要用白话问双子座,无论在哪里: - “检查为什么我的家用服务器变慢,并显示顶级进程” - “在 ~/projects/api 中拉取最新更改,运行测试并告诉我哪些失败了” - “修正配置中的错别字。

概述(AI 翻译)

一个MCP服务器,将Google Gemini从聊天机器人转变为完整的移动代理。 在手机上的Gemini应用中输入任务——你的电脑、笔记本或服务器会执行,Gemini会反馈并带来真实的结果。

英文 |🇷🇺 Русская версия


💡 这个想法

Gemini 在浏览器或手机上可以说话,但它不能在你的电脑上做任何事。 远程线束MCP弥补了这一差距。它是一个免费、开源的模型上下文协议(MCP)服务器,你只需单一链接连接到Gemini Spark(gemini.google.com/customize/connectors 或Gemini移动应用)。之后,Gemini获得以下服务:

  • 运行shell命令,构建和测试代码,管理git;
  • 读取、写入和编辑文件;
  • 搜索文件系统;
  • 开始长期执行的任务,并在后续检查;
  • 监视CPU、RAM和磁盘。

**结果:**你的手机成了你拥有的每台机器的遥控器——而Gemini就是操作这些机器的代理。


🔥 你能用它做什么

只要用白话问双子座,无论在哪里:

  • “检查为什么我的家用服务器变慢并显示顶级进程”
  • “拉取~/projects/api中的最新更改,运行测试并告诉我哪些失败了”

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

📱 Remote Harness MCP — control any PC from Gemini (App & Web)

An MCP server that turns Google Gemini from a chatbot into a full-fledged mobile agent. Type a task in the Gemini app on your phone — your PC, laptop or server executes it, and Gemini reports back with real results.

English | 🇷🇺 Русская версия


💡 The idea

Gemini in a browser or on a phone can talk, but it cannot do anything on your computer. Remote Harness MCP closes that gap. It is a free, open-source Model Context Protocol (MCP) server that you connect to Gemini Spark (gemini.google.com/customize/connectors or the Gemini mobile app) with a single link. After that, Gemini gets hands:

  • runs shell commands, builds and tests code, manages git;
  • reads, writes and edits files;
  • searches the file system;
  • starts long-running jobs and checks on them later;
  • watches CPU, RAM and disk.
 📱 Gemini app / 🌐 gemini.google.com (Spark)
              │  MCP (SSE / Streamable HTTP)
              ▼
     ☁️  Gateway  racknerd-5a24bf9.merino-carob.ts.net   ← relay only, TLS
              │  outbound WebSocket tunnel (no open ports)
              ▼
   💻 Your PC · laptop · VPS · home server  →  executes the task

Result: your phone becomes a remote control for every machine you own — and Gemini is the agent that operates them.


🔥 What you can do with it

Just ask Gemini in plain language, from anywhere:

  • “Check why my home server is slow and show the top processes”
  • “Pull the latest changes in ~/projects/api, run the tests and tell me what failed”
  • “Fix the typo in config.yaml and restart the service”
  • “Start a full backup in the background and tell me when it’s done”
  • “How much free disk space is left on my laptop?”
  • “Turn on the phone’s torch, and tell me its battery level and signal”

No SSH client, no terminal on your phone, no VPN — only a chat.


📸 In action

Three exchanges from one chat, each answered by a different machine on the other side of the bridge. The phone never opened a terminal.

The laptop describes itself — “@Rem Matebook-deb, give me the system and hardware specs”:

The phone reports its own battery, radio and VPN — “@Rem Phone, check”. The SSID and both addresses are mosaicked; everything else came from device_info:

The desktop is photographed, published and read back — “take a screenshot of @RemMatebook-deb”, then “describe what is running on the screens”:

在 GitHub 查看完整 README

安装

npx remote-harness-mcp
新手?先看 mcpskill.org 教程 →