返回顶部
g

google-webmcp谷歌网页MCP

Connect to Google Search and Gemini through the built-in local-mcp Google adapter and one fixed UXC link. Use when the user wants to run Google searches, chat with Gemini, or download generated Gemini images from an authenticated browser profile.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
115
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

google-webmcp

Google WebMCP

使用此技能可通过 @webmcp-bridge/local-mcp 中内置的 --site google 桥接预设来操作 Google 搜索和 Gemini。

如需通用桥接设置模式或非 Google 站点,请切换到 $webmcp-bridge。

前提条件

  • - uxc 已安装并可在 PATH 中使用。
  • npx 已安装并可在 PATH 中使用。
  • 可访问 https://www.google.com 和 https://gemini.google.com 的网络连接。
  • 在新机器或隔离的 HOME 环境下,首先使用 npx playwright install 安装 Playwright 浏览器。
  • Gemini 对认证敏感。当配置文件尚未登录时,预期会出现 bootstrapthenattach 行为。

核心工作流程

  1. 1. 确保固定 Google 链接存在:
- command -v google-webmcp-cli - 如果缺失或指向错误的配置文件,运行 skills/google-webmcp/scripts/ensure-links.sh
  1. 2. 在调用工具前检查桥接和工具模式:
- google-webmcp-cli -h - google-webmcp-cli search.web -h - google-webmcp-cli gemini.chat -h - google-webmcp-cli gemini.image.download -h
  1. 3. 当 Gemini 可能需要登录时,首先检查认证状态:
- google-webmcp-cli bridge.session.status - google-webmcp-cli auth.get - 如果会话未就绪,启动引导或切换到有头模式: - google-webmcp-cli bridge.session.bootstrap - google-webmcp-cli bridge.session.mode.set {mode:headed} - google-webmcp-cli bridge.open
  1. 4. 使用搜索工具获取公开搜索结果:
- google-webmcp-cli search.web {query:playwright browser automation,limit:10} - google-webmcp-cli page.get
  1. 5. 通过同一已认证的浏览器配置文件使用 Gemini:
- 文本:google-webmcp-cli gemini.chat {prompt:Summarize these results,mode:text,timeoutMs:180000} - 图像:google-webmcp-cli gemini.chat {prompt:a watercolor fox reading documentation,mode:image,timeoutMs:300000} - 下载当前可见图像:google-webmcp-cli gemini.image.download {limit:4,timeoutMs:120000}
  1. 6. 仅在必要时使用调试和导航辅助工具:
- google-webmcp-cli page.navigate {url:https://gemini.google.com/app} - google-webmcp-cli page.inspect {limit:20}
  1. 7. 仅解析 JSON 输出:
- 成功路径:.ok == true,使用 .data - 失败路径:.ok == false,检查 .error.code 和 .error.message

默认目标

内置预设使用:

bash
--site google

默认配置文件路径为:

bash
~/.uxc/webmcp-profile/google

使用以下命令刷新链接:

bash
skills/google-webmcp/scripts/ensure-links.sh

安全护栏

  • - 保持 Google 配置文件与其他站点隔离。
  • Google 使用 bootstrapthenattach;在托管配置文件完成认证之前,不要期望 Gemini 工具能正常工作。
  • 优先使用显式的 bridge.session.mode.set,而非重新启动命令来更改运行时模式。
  • 较长的 Gemini 生成任务可能需要数分钟。请增加 timeoutMs,而不是启动并行重试。
  • gemini.image.download 仅适用于当前或目标对话中可见的已生成图像。不要假设它能恢复不再可见的图像。
  • page.navigate 必须仅停留在 Google 拥有的主机上。
  • 如果用户手动关闭可见的 Google 窗口,有头所有者会话将结束。如果仍需要在同一配置文件上使用可见会话,请重新运行 google-webmcp-cli bridge.open。

参考

  • - 常用命令模式:
- references/usage-patterns.md
  • - 链接创建辅助工具:
- scripts/ensure-links.sh

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 google-webmcp-1776031185 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 google-webmcp-1776031185 技能

通过命令行安装

skillhub install google-webmcp-1776031185

下载

⬇ 下载 google-webmcp v1.0.1(免费)

文件大小: 4.31 KB | 发布时间: 2026-4-13 10:29

v1.0.1 最新 2026-4-13 10:29
Release latest bridge session recovery guidance, X article draft lifecycle support, and Google/Gemini stabilization updates.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部