← Back to Skills Marketplace
935
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install web-mcp
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install web-mcp - After installation, invoke the skill by name or use
/web-mcp - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 935 downloads so far.
How do I install WebMCP?
Run "/install web-mcp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is WebMCP free?
Yes, WebMCP is completely free (open-source). You can download, install and use it at no cost.
Which platforms does WebMCP support?
WebMCP is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created WebMCP?
It is built and maintained by slemo54 (@slemo54); the current version is v1.0.0.
More Skills