AI 开源雷达

XTxiaoting14332/gemini-agent-mcp

让 Gemini 通过远程 MCP 操作 NAT 后本地机器的文件与命令

★ 42 协议: GPL-3.0 最近提交: 0d 传输方式: http 仓库地址 ↗

解决什么问题

没有它,Gemini Web/CLI 无法访问本地工作区,也无法读写文件、跟踪差异或执行 shell 命令。它通过轻量网关和 Go 客户端打通这条链路。

适用客户端

安装命令

npx wrangler secret put ADMIN_PASSWORD
npx wrangler secret put CLIENT_TOKEN
npx wrangler secret put SESSION_SECRET
npx wrangler deploy

一键配置

{
  "mcpServers": {
    "workstation": {
      "httpUrl": "https://your-gateway.example.com/mcp/<deviceId>",
      "headers": {
        "Authorization": "Bearer <DEVICE_GATEWAY_TOKEN>",
        "X-Gateway-Token": "<DEVICE_GATEWAY_TOKEN>"
      }
    }
  }
}

安全标记

维护状态

最近提交2026-12-05(0d)
Star42
待处理 issue0
协议GPL-3.0
已归档否
数据抓取于2026-12-05

原文摘录

以下为仓库 README 原文,未做改写,用于核对上面的摘要。

A remote MCP (Model Context Protocol) agent harness that lets Gemini Web or CLI clients inspect workspaces, read and edit files, track diffs, and execute shell commands on local machines behind NAT via a lightweight gateway and Go client binary.

同类替代