talira

Compare

WebMCP polyfillMCP-B
What it isThe W3C Community Group's polyfill for document.modelContextWebMCP runtime and MCP bridge packages for websites
KindOpen sourceOpen source
Trust0.480.55
Stars35110
Last commit2026-11-232026-11-10
LicenceApache-2.0MIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyWorld Wide Web Consortium (W3C)MCP-B
Features
  • document.modelContext in browsers without native WebMCP
  • registerTool, getTools and executeTool with cancellation
  • toolchange, toolactivated and toolcancel events
  • frame exposure and origin filtering
  • no runtime dependencies
  • conditional loading only where the API is missing
  • document.modelContext where the browser lacks it
  • bridge from WebMCP tools to a full MCP server with prompts and resources
  • React hooks for registering tools
  • MCP over iframes and browser transports
  • local relay to desktop MCP clients
  • DOM reader for agents
Limitations
  • Declarative tools (from HTML forms) aren't implemented yet
  • Only fills in the page API: a browser agent still needs the browser itself to support WebMCP