Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计提醒

webmcp-bridgeWebMCP 桥

Agent Skill

webmcp-bridge 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,912

周安装

333

GitHub Stars

公开资料未说明

下载量

2,771
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:webmcp-bridge(WebMCP 桥)
来源仓库:https://github.com/jolestar/webmcp-bridge
安装命令:
openclaw skills install webmcp-bridge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install webmcp-bridge

简介

webmcp-bridge 用于通过固定 UXC 链接连接 local-mcp 浏览器桥。

  • 支持操作本机 WebMCP 站点或适配器支持的站点,提升兼容性。
  • 适用于需要跨站点数据交互和功能调用的场景。
  • 安装命令为 openclaw skills install webmcp-bridge,需确认网络和端口权限。
  • 建议结合来源仓库 README 核验具体配置,注意是否会触发命令执行或文件修改。

SKILL.md

name
webmcp-bridge
description
Connect a website to the local-mcp browser bridge through a fixed UXC link. Use when the user needs to operate native WebMCP sites or adapter-backed sites through local-mcp, manage per-site browser profiles, or switch bridge presentation modes explicitly.

WebMCP Bridge

Use this skill to operate @webmcp-bridge/local-mcp through one fixed uxc shortcut command per site.

If the target site does not expose native WebMCP and does not already have a fallback adapter, switch to $webmcp-adapter-creator.

Prerequisites

  • uxc is installed and available in PATH.
  • npx is installed and available in PATH.
  • Network access is available for the target website.
  • On a fresh machine, or under an isolated HOME, install Playwright browsers first with npx playwright install.
  • For local repo development, you may replace the default npx -y @webmcp-bridge/local-mcp launcher with WEBMCP_LOCAL_MCP_COMMAND='node packages/local-mcp/dist/cli.js'.

Core Workflow

  1. Identify the bridge source mode before creating any link:

- Native or polyfill target: use --url <url>. - Built-in adapter preset: use --site <site>. - Third-party adapter module: use --adapter-module <specifier> and optionally --url <url>.

  1. Pick one stable site name and one site-scoped profile path:

- default profile root: ~/.uxc/webmcp-profile/<site> - never share one profile across different sites

  1. Create or refresh the fixed link for that site:

- command -v <site>-webmcp-cli - if the link is missing or the source config changed, run skills/webmcp-bridge/scripts/ensure-links.sh

  1. Inspect the bridge and tool schema before calling tools:

- <site>-webmcp-cli -h - <site>-webmcp-cli <operation> -h - <site>-webmcp-cli <operation> field=value - <site>-webmcp-cli <operation> '{"field":"value"}'

  1. Treat presentation mode as explicit runtime state, not command-name intent:

- check current state with <site>-webmcp-cli bridge.session.status - or <site>-webmcp-cli bridge.session.mode.get - --headless or --no-headless only sets the preferred default for bridge-managed sessions - the actual runtime mode is presentationMode

  1. Switch modes explicitly when needed:

- for normal automation, stay in headless - for login, MFA, or human collaboration, run <site>-webmcp-cli bridge.session.mode.set '{"mode":"headed"}' - then open or focus the visible session with <site>-webmcp-cli bridge.open - if the user manually closes that window, the headed owner session ends; run bridge.open again to start a new headed session on the same profile - close the visible owner session with <site>-webmcp-cli bridge.close

  1. Parse JSON output only:

- success path: .ok == true, consume .data - failure path: .ok == false, inspect .error.code and .error.message

When Only Bridge Tools Are Visible

If <site>-webmcp-cli -h only shows bridge.* tools, do not keep retrying site tools blindly. The bridge is alive, but the page runtime is not attached to site tools yet.

Use this recovery order:

  1. Inspect session state first:

- <site>-webmcp-cli bridge.session.status

  1. If the session is bootstrap-only or auth is incomplete:

- run <site>-webmcp-cli bridge.session.bootstrap - complete login in the browser window - then re-run <site>-webmcp-cli -h

  1. If a browser/profile already exists but the session is not attached to page tools:

- run <site>-webmcp-cli bridge.session.attach - then re-run <site>-webmcp-cli -h

  1. If the task needs a visible browser:

- run <site>-webmcp-cli bridge.session.mode.set '{"mode":"headed"}' - run <site>-webmcp-cli bridge.open

  1. Only call site operations after help output shows site tools again.

For auth-sensitive adapter sites such as x and google, seeing only bridge tools during first use is expected until bootstrap or attach completes successfully.

Link Contract

Every site gets one fixed command:

  • <site>-webmcp-cli

The link must keep one stable site profile and daemon lock:

  • profile path: ~/.uxc/webmcp-profile/<site>
  • daemon key: same as profile path

The generated command should default to:

  • use --headless
  • use --no-auto-login-fallback

This keeps automation deterministic while still allowing runtime switching through:

  • bridge.session.mode.get
  • bridge.session.mode.set
  • bridge.open
  • bridge.close

Do not treat one command invocation as a guarantee that the current runtime has already switched. Always inspect presentationMode when mode matters.

Guardrails

  • Prefer browser-side execution for privileged site actions. Do not move site credentials into local scripts.
  • Do not share one --user-data-dir across multiple unrelated sites.
  • Do not dynamically rename link commands at runtime. The skill author chooses the link name once.
  • For managed sessions, use bridge.session.mode.set instead of relying on a new launcher invocation to force a mode change.
  • For external attach sessions, bridge.session.mode.set is unavailable. Attach to a headed external browser if the task needs a visible window.
  • During bootstrap_then_attach, bootstrap is always headed. Do not try to switch mode until attach completes.
  • bridge.open and bridge.window.open return UNSUPPORTED_IN_HEADLESS_SESSION when the current runtime is headless.
  • For destructive writes, inspect tool help first and require explicit user intent.
  • Use --url only for the site the user asked for. Do not silently redirect hosts.

References

  • Common creation and invocation patterns:

- references/usage-patterns.md

  • Source mode selection and argument mapping:

- references/source-modes.md

  • Link patterns, naming, and profile layout:

- references/link-patterns.md

  • Common failures and recovery steps:

- references/troubleshooting.md

  • Concrete creation script:

- scripts/ensure-links.sh

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.01%
按下载量换算1,940

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills