/webmcp-browser-agents:webmcp-setupfrom webmcp-browser-agents
Scaffolds a WebMCP project enabling Chrome flags, installing MCP-B polyfill, registering tools via navigator.modelContext.registerTool(), and configuring dev environment. Use when starting a new WebMCP-enabled website.
Ships in webmcp-browser-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetch live docs:
https://webmachinelearning.github.io/webmcp/ — the W3C Community Group draft report, which is the normative spec for navigator.modelContext. Start here, not with vendor docs.https://developer.chrome.com/docs/ai/webmcp for Chrome's implementation notes and API overview.site:github.com mcp-b polyfill README for polyfill installation and quickstart.webmcp chrome flag enable for current browser flag names and version requirements — these change per milestone.site:chromestatus.com webmcp for feature status and shipping milestones.Standards status: WebMCP is a W3C Community Group Draft Report hosted by the Web Machine Learning CG — it is not a W3C Standard and is not on the W3C Standards Track. Chrome is the reference implementation; other engines have participated in discussion without shipping. Plan for the API surface to move, keep the polyfill path viable, and re-check browser support rather than assuming it broadened.
WebMCP project setup prepares a website to expose tools to AI agents:
WebMCP for Testing flag, or install the MCP-B polyfillmcp-b packages for vanilla JS or Reactnavigator.modelContext.registerTool()my-webmcp-site/
├── src/
│ ├── webmcp/
│ │ ├── tools.js # Tool definitions and registration
│ │ ├── schemas.js # JSON Schemas for tool inputs
│ │ └── interactions.js # User interaction handlers
│ ├── index.html # Page with optional declarative form attributes
│ └── app.js # Main application entry
├── package.json
└── tests/
└── webmcp.test.js
my-webmcp-react-app/
├── src/
│ ├── webmcp/
│ │ ├── tools.ts # Tool definitions
│ │ ├── schemas.ts # JSON Schemas
│ │ ├── McpProvider.tsx # MCP-B React provider/hooks wrapper
│ │ └── interactions.ts # User interaction logic
│ ├── App.tsx
│ └── index.tsx
├── package.json
├── tsconfig.json
└── tests/
└── webmcp.test.tsx
registerTool), Declarative (HTML attributes), or both?To enable native WebMCP in Chrome Canary:
chrome://flagsFor browsers without native WebMCP, the MCP-B polyfill provides the same API surface. Fetch the README for exact installation commands, as packages and APIs may have changed.
Fetch the latest Chrome blog post and MCP-B README for exact commands, package names, and API patterns before scaffolding.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/webmcp-authenticationImplement WebMCP authentication patterns — browser session inheritance, cookie-based auth, role-gated tool registration, and conditional tool exposure. Use when managing which tools are available based on user authentication state./webmcp-commerce-toolsImplement commerce-specific WebMCP tools — product search, cart management, checkout, returns, subscriptions, and support. Use when building agentic shopping experiences on e-commerce websites./webmcp-context-providerImplement the WebMCP provideContext API — bulk tool registration, contextual metadata, page state sharing, and dynamic context updates. Use when providing rich context and multiple tools to agents simultaneously./webmcp-declarative-formsImplement the WebMCP Declarative API — annotate HTML forms with toolname and tooldescription attributes for automatic tool extraction. Use when making existing forms agent-ready with minimal code changes./webmcp-dev-patternsApply WebMCP cross-cutting development patterns — SPA routing, error handling, performance optimization, multi-site agents, accessibility, SEO, and production deployment. Use when architecting WebMCP-enabled sites or solving cross-cutting concerns./webmcp-mcp-bridgeIntegrate WebMCP client-side tools with backend MCP servers and UCP endpoints — bridge browser-based agent interactions with server-to-server protocols. Use when connecting front-end WebMCP to existing backend API infrastructure.npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin webmcp-browser-agentsOther plugins' skills for the same job