WebMCP Lets AI Agents Interact With Websites via Structured Browser Tools
WebMCP is a draft W3C standard, backed by Google and Microsoft, that allows AI agents to interact with websites through declared, structured tools rather than guessing at page elements. It shipped as an early preview in Chrome 146, with the entry point accessible via document.modelContext in the browser. Developers can implement it either declaratively by adding attributes to existing HTML forms, or programmatically by registering tools with JavaScript using a feature-detection shim. Each tool requires a name, a description for the agent, and an input schema, and executes within the user's own browser session using their existing permissions. Security guidance emphasizes least-privilege exposure, treating tool inputs as untrusted, and adding confirmation steps before any destructive actions such as deletions or payments.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in