运行时依赖
安装命令
点击复制技能文档
Google 网页MCP
Use this 技能 to operate Google 搜索 and Gemini through the built-in --site google bridge pre设置 in @网页mcp-bridge/local-mcp.
For generic bridge 设置up patterns or non-Google sites, switch to $网页mcp-bridge.
Prerequisites uxc is 安装ed and avAIlable in PATH. npx is 安装ed and avAIlable in PATH. Network 访问 to https://www.google.com and https://gemini.google.com. On a fresh machine, or under an isolated HOME, 安装 Playwright browsers first with npx playwright 安装. Gemini is auth-sensitive. Expect bootstrap_then_attach behavior when the 性能分析 is not 签名ed in yet. Core 工作流 Ensure the fixed Google link exists: command -v google-网页mcp-命令行工具 if missing or pointed at the wrong 性能分析, 运行 技能s/google-网页mcp/scripts/ensure-links.sh Inspect the bridge and 工具 模式 before calling 工具s: google-网页mcp-命令行工具 -h google-网页mcp-命令行工具 搜索.网页 -h google-网页mcp-命令行工具 gemini.chat -h google-网页mcp-命令行工具 gemini.image.下载 -h 检查 authentication 状态 first when Gemini may need 签名-in: google-网页mcp-命令行工具 bridge.会话.状态 google-网页mcp-命令行工具 auth.获取 if the 会话 is not ready, 启动 bootstrap or switch to headed: google-网页mcp-命令行工具 bridge.会话.bootstrap google-网页mcp-命令行工具 bridge.会话.mode.设置 '{"mode":"headed"}' google-网页mcp-命令行工具 bridge.open Use 搜索 工具s for public 搜索 结果s: google-网页mcp-命令行工具 搜索.网页 '{"查询":"playwright browser 自动化","limit":10}' google-网页mcp-命令行工具 page.获取 Use Gemini through the same 认证d browser 性能分析: text: google-网页mcp-命令行工具 gemini.chat '{"prompt":"Summarize these 结果s","mode":"text","timeoutMs":180000}' image: google-网页mcp-命令行工具 gemini.chat '{"prompt":"a watercolor fox reading documentation","mode":"image","timeoutMs":300000}' 下载 current visible images: google-网页mcp-命令行工具 gemini.image.下载 '{"limit":4,"timeoutMs":120000}' Use 调试 and navigation 辅助工具s only when necessary: google-网页mcp-命令行工具 page.navigate '{"url":"https://gemini.google.com/应用"}' google-网页mcp-命令行工具 page.inspect '{"limit":20}' 解析 JSON 输出 only: 成功 path: .ok == true, consume .data 失败 path: .ok == false, inspect .error.code and .error.message Default Tar获取
The built-in pre设置 uses:
--site google
The default 性能分析 path is:
~/.uxc/网页mcp-性能分析/google
Refresh the link with:
技能s/google-网页mcp/scripts/ensure-links.sh
防护rAIls Keep the Google 性能分析 isolated from other sites. Google uses bootstrap_then_attach; do not expect Gemini 工具s to work until the managed 性能分析 is 认证d. Prefer explicit bridge.会话.mode.设置 over relaunching the command to change 运行time mode. Long Gemini generations can legitimately take minutes. Increase timeoutMs instead of spawning parallel retries. gemini.image.下载 works on visible 生成d images in the current or tar获取 conversation. Do not assume it can 恢复 images that are no longer visible. page.navigate must stay on Google-owned hosts only. If the user closes the visible Google window manually, the headed owner 会话 ends. 运行 google-网页mcp-命令行工具 bridge.open agAIn if you still need a visible 会话 on the same 性能分析. References Common command patterns: references/usage-patterns.md Link creation 辅助工具: scripts/ensure-links.sh