Collections·14wExploring WebMCP: A New Standard for AI Agent and Website Interaction
WebMCP (Web Model Context Protocol) is an emerging JavaScript API specification backed by Google and Microsoft that enables web applications to expose their functionality to AI agents in a structured way. It introduces two APIs—a Declarative API for HTML form actions and an Imperative API for complex JavaScript interactions—allowing AI agents to interact with websites without scraping HTML or processing screenshots. Chrome offers an early preview, and the W3C Web Machine Learning Community Group has published a draft specification. WebMCP reduces token usage and resource consumption while enabling agents to collaborate with users in a shared interface, with broader rollout expected mid-year. Developers can experiment via Chrome's early preview or the MCP-B polyfill.