What is WebMCP? Chrome's browser-native API for AI agents
AI agents are getting good at using the web. But the way they interact with it today is fragile: CSS selectors, XPath queries, visual parsing, and DOM scraping that breaks every time a designer ren...

Source: DEV Community
AI agents are getting good at using the web. But the way they interact with it today is fragile: CSS selectors, XPath queries, visual parsing, and DOM scraping that breaks every time a designer renames a class. Chrome 146 ships an early preview of something that changes this: WebMCP. The problem with how agents use the web today When an AI agent needs to fill out a flight search form, it typically does something like this: Take a screenshot or parse the DOM Guess which input is "origin" vs "destination" Figure out the date picker format Click submit and hope the page structure hasn't changed This works poorly. It's slow, brittle, and requires constant maintenance as sites update their UI. The agent is essentially learning to use a UI designed for humans, not machines. WebMCP flips this model. What is WebMCP? WebMCP is a proposed web standard that lets websites publish structured tools directly to in-browser AI agents. Instead of the agent scraping the DOM to guess how a form works, the