← 返回 Skills 市场
slemo54

WebMCP

作者 slemo54 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
935
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install web-mcp
功能描述
WebMCP - Enable AI agents to interact with your web applications through structured tools. Implements the WebMCP standard for Next.js/React apps with tool re...
安全使用建议
This package is conceptually coherent for adding an agent→web-app bridge, but there are insecure defaults you should be aware of: the browser bridge posts messages with target '*' and the handleMessage code does not perform origin validation (the origin check is commented out). If you install/use this in a web app, only include the bridge on pages where you control both frame/parent origins, or modify the bridge to validate event.origin and restrict allowed origins before acting on messages. Also verify the CLI commands in the README—there is no @webmcp/cli included in the bundle; the repo provides shell scripts (init-webmcp.sh, add-tool.sh) instead. Before deploying to production: 1) add strict origin checks and consider stronger authentication/CSRF protections for mutating tools (login, submitForm, cart operations), 2) avoid exposing sensitive tool handlers in pages that could be framed by untrusted sites, and 3) review any UI code that will actually perform network requests so user credentials or sensitive data are not forwarded to unintended endpoints.
功能分析
Type: OpenClaw Skill Name: web-mcp Version: 1.0.0 The skill is classified as suspicious due to several vulnerabilities and risky capabilities, despite lacking clear evidence of intentional malicious behavior. The `SKILL.md` declares `Bash` as an allowed tool, granting powerful execution capabilities. The `scripts/init-webmcp.sh` script contains a potential path traversal vulnerability when copying example projects, which could lead to arbitrary file writes. Most critically, the `assets/webmcp-bridge.js` uses `window.postMessage` with a wildcard origin (`*`) for cross-frame communication without origin validation, creating a significant vulnerability for message hijacking or data exposure in a multi-frame environment. While the example tools (e.g., `loginTool`, `exportChatTool`) provide powerful actions, they are presented as intended functionality rather than malicious instructions.
能力评估
Purpose & Capability
Name, description, and included files (bridge JS, Next.js templates, example tools, init scripts) are consistent: this is a toolkit for exposing structured 'tools' to AI agents in a browser/Next.js app. The files provided are appropriate for the described purpose.
Instruction Scope
SKILL.md instructs using a CLI (npx webmcp init / npm install -g @webmcp/cli), but the package/CLI binary is not present in the bundle; instead there are shell scripts (init-webmcp.sh, add-tool.sh) for manual initialization. The instructions otherwise stay within the stated purpose (register/unregister tools, dispatch events) and do not attempt to read unrelated system files or environment variables.
Install Mechanism
No install spec is declared (instruction-only). The repository contains helper shell scripts that copy templates into a project; these are safe to inspect and run locally. Nothing in the bundle downloads or executes remote code during install.
Credentials
No environment variables, credentials, or config paths are requested. The tool definitions include authentication-related tools (login/register) that will handle user credentials inside the web app, which is consistent with the stated purpose.
Persistence & Privilege
The skill does not request always:true or other elevated platform privileges. It provides client-side assets and scripts which, when run by the developer, write files into a project — this is expected for a scaffolding/template skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install web-mcp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /web-mcp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
WebMCP implementation for Next.js/React - Enable AI agents to interact with web apps through structured tools. Includes dashboard, auth, and chat tools.
元数据
Slug web-mcp
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

WebMCP 是什么?

WebMCP - Enable AI agents to interact with your web applications through structured tools. Implements the WebMCP standard for Next.js/React apps with tool re... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 935 次。

如何安装 WebMCP?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install web-mcp」即可一键安装,无需额外配置。

WebMCP 是免费的吗?

是的,WebMCP 完全免费(开源免费),可自由下载、安装和使用。

WebMCP 支持哪些平台?

WebMCP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 WebMCP?

由 slemo54(@slemo54)开发并维护,当前版本 v1.0.0。

💬 留言讨论