WebMCP Tool Generator

•
3.6k
•

Generates, compiles, and validates site-specific WebMCP initialization scripts for robust browser automation and page-native tools.

The webmcp-gen skill enables developers to author custom, site-specific WebMCP (Model Context Protocol for Web) tools by writing clean manifests, compiling them into lightweight initialization scripts, and testing them within Chrome using Stagehand. It automates the entire scaffolding, page exploration, and validation lifecycle, allowing AI agents to interact with web pages using native browser APIs directly inside the page context without relying on heavy external drivers.

Key Features

01Integrates with the browse CLI to quickly inspect target web pages, DOM elements, and snapshots.
023,637 GitHub stars
03Compiles structured JSON manifests into optimized webmcp.init.js browser injection scripts.
04Generates runnable Stagehand examples to test tool registration and execution in real-time.
05Validates tool implementations with automated test runs and outputs detailed evaluation reports.
06Scaffolds WebMCP artifact structures based on target domain and task workflows.

Use Cases

01Creating custom browser-side tools for specific websites to handle complex UI states and DOM interactions.
02Debugging and validating browser-native JavaScript tool actions locally before deployment.
03Generating WebMCP-compatible injection scripts to enhance Stagehand-driven web automation pipelines.