Antigravity Gemini Web Bridge
Bridges the Google Gemini web app by automating a local Edge browser session to send prompts, retrieve responses, reset chats, and manage browser/connection status through the plugin.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Antigravity Gemini Web Bridge Plugin
一个独立、自包含的 Antigravity 插件,把你的 Gemini 网页端(gemini.google.com/app) 订阅额度直接接进 Antigravity:
主对话 MCP 工具(单次调用,不污染上下文)
web_gemini_ask(prompt, mode, new_chat):默认每次开启干净的新网页会话(new_chat: true),在主对话里把简单问答、草稿生成或长文本处理直接分流给网页端,省下 Antigravity 主额度。web_gemini_status():查看本地引擎、扩展连接状态与剩余网页额度。web_gemini_new_chat():重置网页会话。web_gemini_browser(action):显示 / 隐藏 / 重新拉起后台专用 Edge 浏览器。
侧边栏 MCP App 面板(零消耗 Antigravity 主额度)
通过
Plugins > Gemini Web在侧边栏打开独立对话面板,直接与127.0.0.1:18765通信,完全不消耗 Antigravity 主模型额度;支持按网页<chatId>自动恢复历史记录,并可一键Send to Antigravity将结果送回主对话。
本插件内置的后台服务与浏览器扩展精简改造自开源项目 Krittof/gemini-web-bridge-cli(MIT License),移除了独立黑框 CLI,改为由 Antigravity MCP 按需静默拉起与管理。
环境要求
Windows 10 / 11
Node.js 18+
Python 3.10+(推荐已安装
uv)Microsoft Edge(或 Chrome,默认优先使用 Edge)
Related MCP server: antigravity
安装步骤
将本仓库克隆到 Antigravity 插件目录:
git clone <你的仓库地址> "$env:USERPROFILE\.gemini\config\plugins\gemini-web-bridge" cd "$env:USERPROFILE\.gemini\config\plugins\gemini-web-bridge"运行一键安装脚本(构建前端面板、创建独立 Python 环境并初始化配置):
powershell -ExecutionPolicy Bypass -File .\install.ps1重启 Antigravity(或在 Plugins Manager 中启用
gemini-web-bridge)。
首次登录与使用
打开侧边栏
Plugins > Gemini Web面板,插件会在后台自动拉起本地引擎(状态从Starting...变为Extension Waiting)。点击工具栏
Browser按钮,调出专用 Edge 窗口:登录你的 Google 账号并打开
https://gemini.google.com/app;如首次未自动挂载扩展,打开
edge://extensions,开启 开发人员模式 → 加载解压缩的扩展 → 选择engine\extension目录,然后回 Gemini 页面按F5刷新。
状态变为绿色的
Connected后,再点一次Browser把专用 Edge 藏回后台即可正常使用。
已知边界与注意事项
普通问答 / 代码生成可正常返回完整正文(已自动过滤网页端思考摘要)。
当网页端触发 Google Search 联网搜索(尤其在中文界面下)时,扩展 DOM 抓取目前可能只捕获到搜索阶段提示而漏掉最终正文。
本工具仅在
127.0.0.1:18765本机回环运行,使用你本地正常登录的浏览器会话;请遵守相关服务条款,勿用于高频自动化滥用。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Account-less access to 45 Gemini models & autonomous agents via multi-rail MCP.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables local AI agents to generate code and interact with Google Antigravity (Gemini Pro) via MCP, consuming zero API tokens.-
- AlicenseAqualityDmaintenanceEnables MCP clients to use the local Antigravity CLI for natural-language queries, repository analysis, and agent execution, reusing the user's Antigravity subscription without exporting credentials.8MIT
- AlicenseNot gradedqualityCmaintenanceBridges a locally installed and signed-in Google Antigravity subscription to MCP coding agents such as Cursor, Claude Code, and Codex, so prompts are answered through the existing Antigravity session without a separate API key or token cost. Supports multi-turn conversations via session ids and lets agents on remote machines reach the Mac-hosted server over an SSH reverse forward.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Google Antigravity and MCP-compatible clients to delegate complex coding and reasoning tasks to a high-reasoning Gemini model through a persistent Chromium session, preserving Gemini Web history and audit logs.MIT