WebMCP implementation toolkit for Claude Code — browser-native structured tools for AI agents
npx claudepluginhub qdhenry/webmcp-toolkitA Claude Code plugin that provides expert-level guidance for implementing WebMCP in web projects — browser-native structured tools that let AI agents interact with websites through typed APIs instead of screen-scraping.
A Claude Code plugin that provides expert-level guidance for implementing WebMCP in web projects — browser-native structured tools that let AI agents interact with websites through typed APIs instead of screen-scraping.
WebMCP is a browser-native standard (Chrome 146+) that exposes structured tools for AI agents on websites. It provides two APIs:
window.navigator.modelContext — register tools via JavaScript with full programmatic controltoolname/tooldescription attributes on <form> elements for zero-JS tool exposure| Command | Description |
|---|---|
/webmcp | Main entry point — routes to setup, add-tool, debug, audit, or test workflows |
/webmcp-setup | Set up WebMCP in a project from scratch |
/webmcp-add-tool | Add a new imperative or declarative tool |
/webmcp-debug | Diagnose and fix WebMCP issues |
/webmcp-audit | Audit an existing implementation against best practices |
webmcpA router-pattern skill with full domain expertise:
Workflows — Step-by-step procedures for every WebMCP task:
setup-webmcp — Initial integration (prerequisites, strategy selection, tool registration)add-imperative-tool — Register tools via the JavaScript APIadd-declarative-tool — Annotate HTML forms as WebMCP toolsdebug-webmcp — Systematic diagnosis (8-step process)audit-webmcp — Best practices review with severity-categorized reportstest-webmcp — Full testing with the Model Context Tool Inspector extensionReferences — Deep domain knowledge:
imperative-api — Full JS API reference (registerTool, unregisterTool, provideContext, clearContext)declarative-api — HTML form attributes, schema auto-generation, respondWith patterntool-design — Naming conventions, description patterns, schema design, reliability strategiesevents-and-css — toolactivated/toolcancel events, :tool-form-active/:tool-submit-active pseudo-classestesting — Inspector extension usage, console testing, verification checklistsanti-patterns — 10 common mistakes with bad/good code examplesTemplates — Ready-to-use scaffolding:
imperative-tool — Single tool, multi-tool, and SPA lifecycle patternsdeclarative-form — Basic forms, auto-submit forms, event listeners, custom CSSAdd the marketplace and install the plugin from your terminal:
# Add the marketplace source
/plugin marketplace add qdhenry/WebMCP-Toolkit
# Install the plugin
/plugin install webmcp-toolkit@webmcp-toolkit
Add the following to your Claude Code settings file (.claude/settings.json in your project or ~/.claude/settings.json globally):
{
"extraKnownMarketplaces": {
"webmcp-toolkit": {
"source": {
"source": "github",
"repo": "qdhenry/WebMCP-Toolkit"
}
}
},
"enabledPlugins": {
"webmcp-toolkit@webmcp-toolkit": true
}
}
After installing, confirm the plugin is loaded:
/plugin list
You should see webmcp-toolkit in the output. Then try any slash command (e.g., /webmcp-setup) or invoke the skill directly.
chrome://flags/#enable-webmcp-testing flag enabled.claude-plugin/
plugin.json # Plugin manifest
skills/
webmcp/
SKILL.md # Router + essential principles
workflows/ # 6 step-by-step procedures
references/ # 6 domain knowledge files
templates/ # 2 scaffolding templates
commands/
webmcp.md # Main entry point
webmcp-setup.md # Quick start
webmcp-add-tool.md # Add a tool
webmcp-audit.md # Audit implementation
webmcp-debug.md # Debug issues
MIT
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.