webmcp-polyfill
Installation
SKILL.md
MCP-B Polyfill for WebMCP
Before writing code
Fetch live docs:
- Web-search
site:github.com mcp-b READMEfor the polyfill repository, packages, and API documentation - Web-search
site:npmjs.com mcp-bfor the latest package names and versions - Fetch the MCP-B GitHub README for installation, usage, and React hooks API
- Web-search
mcp-b polyfill react hooks useMcpServerfor React integration patterns - Web-search
mcp-b vanilla javascript navigator.modelContextfor vanilla JS usage
Conceptual Architecture
What MCP-B Is
MCP-B (Model Context Protocol for Browser) is an open-source polyfill that implements the navigator.modelContext API for browsers without native WebMCP support. It allows developers to build and test WebMCP tools today, regardless of native browser support.