Skip to main content
Glama
Windows Project Bridge

Windows Project Bridge

by Dengyanzhao

Windows 项目桥接

在 Gemini 网页端读取本机项目、提交文件修改,并在隔离的 WSL 终端中运行项目命令。桥接软件运行在 Windows 上,项目范围由你在窗口里选择。

开始使用

  1. 从仓库的 Releases 下载绿色版,解压整个文件夹,再打开 WindowsProjectBridge.exe。

  2. 选择项目文件夹。首次使用可保留默认的 请求审批。

  3. 点击 生成 Gemini 链接 获取临时 HTTPS 地址。已有域名可使用 自有域名配置指南 创建固定入口。

  4. 在 Gemini 网页的 设置 → 关联应用 → 自定义应用 添加软件显示的完整 /mcp 地址,再输入软件显示的配对码。

  5. 在 Gemini 聊天里通过 @ 选择这个关联应用。可以先让它列出当前项目的文件。

Gemini 自定义应用的可用性取决于账号、地区、界面语言等条件。网页端连接需要公网 HTTPS。 Gemini 自定义应用帮助 · Google MCP 接入文档

Related MCP server: Arrgon

权限和运行环境

项目权限

文件和终端操作

请求审批

写文件或运行命令前,在软件窗口逐次确认

帮我审批

普通文档的小改动和基本只读命令可以自动执行

完全允许访问项目文件夹

Gemini 可以直接修改当前项目或运行项目命令

终端使用 WSL2 的 Ubuntu-22.04,项目挂载在 /workspace。终端与外网及 Windows 上其他项目目录隔离。绿色版把设置及加密配对信息保存在同目录的 data。固定域名的配对可以在同一台电脑、同一个 Windows 账号下重复使用。分享软件时使用 Release 中的原始 ZIP。

只需要文件工具时,可直接使用绿色版。完整离线版包含 WSL 安装包、Ubuntu 镜像和一组可运行 pdfLaTeX、BibTeX 的 TeX Live 依赖。WSL 的首次安装可能要求管理员权限和重启。 微软 WSL 离线安装说明

从源码运行

需要 Windows x64、Python 3.12 和 Git。源码运行和构建步骤见 构建说明。命令沙盒使用随仓库提供的 Ubuntu bubblewrap,授权声明和对应源码位于 third-party/。

贡献与反馈

问题报告请写明桥接版本、Windows/WSL 版本、连接方式和脱敏后的错误信息。配对码、Tunnel Token、OAuth 凭据和项目内容应留在本机。

许可证

项目源码采用 MIT 许可证。随附的第三方组件适用各自的许可,授权声明见 third-party/。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Gemini Spark to securely read, edit, and search a selected local workspace, execute shell commands, and integrate development tools via MCP with user approval safeguards.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Google Gemini to autonomously read, write, search, and patch code files and run whitelisted developer commands inside a sandboxed local workspace for edit-and-verify coding workflows.
      1
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Connects Gemini Apps to a Windows PC, letting Gemini read hardware and process information and browse, search, and read files in a dedicated workspace. File writes, PowerShell commands, and screenshots run only after the PC owner approves each specific request locally.
      MIT