Skip to main content

Chrome's WebMCP could end brittle AI web scraping

· Do Minh Tuan · Future Pulse 🔮

Chrome's WebMCP could end brittle AI web scraping

Google has started origin trials for WebMCP, short for Web Model Context Protocol, in Chrome 149. The idea is to let a website expose a set of functions that an AI agent can call directly, instead of forcing the agent to look at the page and guess which button does what.

Origin trials, if the term is unfamiliar, are how Chrome tests a feature with real sites before it becomes a standard. Developers opt in, use it in production, and report what breaks. It is a beta with real users, which is either brave or reckless depending on how the feature lands.

The problem WebMCP targets is real and expensive. Today, an agent that wants to book an appointment on your site has to interpret the page. It reads the DOM, which is the structure of the HTML, and tries to work out that the button labelled 'Continue' is the one to press. Rename a CSS class, move a field, change a label, and the agent's assumptions break. That is why so much agent automation feels fragile.

A direct function removes the guessing. The site says: here is an action, here are its parameters, call it if you need it. What matters is the contract, not the layout.

Why this is the right direction

I have spent enough time around test automation to have a strong opinion about selectors. Every UI test that depends on the shape of the page is a test that will break for a reason that has nothing to do with the feature. The same is true of agents that scrape. The brittleness is not a bug in the agent. It is a consequence of asking software to infer intent from presentation.

Exposing an explicit action is how software talks to software. APIs work because the contract is written down. WebMCP is an attempt to give the browser a version of that for agents, and I think it is a better foundation than computer vision on screenshots.

There is also a security story, at least in principle. If a site declares which actions exist and what they require, the browser can mediate. An agent that is allowed to search but not to purchase is a policy the site and the browser can enforce, instead of a hope.

What I would want to verify

The security model is the part I would read first. An agent calling functions on your site is a new kind of attack surface. I would want to know what stops a malicious page from declaring an action that looks like a bank transfer, and what stops a compromised agent from calling a destructive function repeatedly. Whether the user sees and approves the action, and at what granularity, decides how much I trust it.

An origin trial is where those questions get answered in public, which is the point. But teams adopting early should expect the answer to change, and should not build a business process on the first version of the API.

Adoption is the second question. A standard like this only helps if sites implement it. I expect big commerce and booking platforms to move, because they want agent traffic. I doubt a ten-person SaaS will bother until an agent fails on their site and they lose a customer. That gap is where the standard either proves its value or stalls.

And there is the question of who the agent is. A site exposing actions to any agent that asks is a site exposing actions to scrapers with better manners. Identity, rate limits and consent decide whether this is a useful interface or a new way to be abused. That is the part that worries me most.

Preparation that still helps

The advice for anyone building a site is to do very little, and that is deliberate. Chasing an origin trial is a poor use of a quarter, especially if your product does not depend on agent traffic yet.

The useful preparation is internal. If your front end is a pile of components with business logic scattered through event handlers, you already know that exposing clean actions would be hard. Splitting the logic into functions with clear inputs, separate from the presentation, makes your app easier to test today and easier to expose tomorrow. That is a good idea regardless of what happens to WebMCP.

The second useful thing is to watch your analytics for agent traffic. If you see a growing share of sessions that behave strangely, like fast navigation and form fills with no mouse movement, that is your signal that agents are already using your site without permission. Knowing that is worth more than an early implementation.

The bigger question

I think most sites are designed for human eyes. Every layout decision assumes someone will look at it. Agents do not look. They parse.

WebMCP is one answer to that mismatch: make the site legible to a machine on purpose, rather than by accident. The competing answer is better agents that can operate any interface the way a person does. Both will exist. The first is cheaper and more reliable when a site cooperates. The second is what happens when a site does not.

I would bet on cooperation winning for high-value transactions, like booking and checkout, because those are the places where a failed click costs real money. For everything else, agents will keep squinting at the page.

For a founder in Vietnam building an e-commerce or booking product for overseas customers, that is worth noting. If AI assistants become a real channel, the sites that expose clean actions will get the bookings and the ones that rely on scraping will get the errors. That is a small edge now and could be a large one in a few years.

Written with AI assistance, reviewed and edited by Do Minh Tuan.