WebMCP polyfill lands on npm: let web pages expose tools to browser agents

philnash · x · 2026-11-19

A polyfill for WebMCP (w3c-oss/webmcp-polyfill) is now available. WebMCP is the API that lets web pages expose tools to browser agents via document.modelContext. The polyfill follows the Web Machine Learning Community Group draft, uses types from webmcp-types, and ships with zero runtime JavaScript. Published on npm as @w3c/webmcp-polyfill under Apache-2.0, with WPT tests and a public roadmap (31 stars).

Original post →

More from coding & agent

coding & agent channel →