webmcp-polyfill

Installation
SKILL.md

MCP-B Polyfill for WebMCP

Before writing code

Fetch live docs:

  1. Web-search site:github.com mcp-b README for the polyfill repository, packages, and API documentation
  2. Web-search site:npmjs.com mcp-b for the latest package names and versions
  3. Fetch the MCP-B GitHub README for installation, usage, and React hooks API
  4. Web-search mcp-b polyfill react hooks useMcpServer for React integration patterns
  5. Web-search mcp-b vanilla javascript navigator.modelContext for 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.

Why Use the Polyfill

Related skills
Installs
2
GitHub Stars
29
First Seen
Mar 31, 2026