WebMCP: Make Your Website AI-Agent-Ready in Chrome 149 Google and Microsoft co-developed WebMCP, a proposed W3C browser standard now in a public origin trial in Chrome 149, to make websites natively compatible with AI agents. The standard lets developers declare structured, callable actions via HTML or JavaScript, replacing DOM scraping. Shopify, Expedia, and Target are already testing it. Your website is already broken for AI agents. It just hasn’t mattered yet. Agents that try to book a flight, file a support ticket, or add an item to a cart are left scraping DOM elements, guessing at form fields, and hoping the CSS selectors don’t change between requests. Google’s answer is WebMCP — a proposed W3C browser standard, co-developed with Microsoft, now in a public origin trial in Chrome 149. Official Chrome docs are live https://developer.chrome.com/docs/ai/webmcp , Shopify, Expedia, and Target are already testing it, and the tooling to get started takes about 10 minutes. Here’s what it does and how to implement it. What WebMCP Is WebMCP extends the browser’s Navigator interface with a new navigator.modelContext object. Instead of making an agent reverse-engineer your UI, you declare the actions it’s allowed to take — as structured, callable tools — directly in your HTML or JavaScript. The agent discovers them, calls them with typed inputs, and gets structured outputs back. The standard is available as an origin trial in Chrome 149 through Chrome 156, announced at Google I/O 2026. Before that, it was testable behind a Chrome flag. It requires HTTPS. It’s Chrome-only for now, with Microsoft involved in the W3C incubation — Edge support is the logical next step, though no timeline has been announced. Two Ways to Implement It WebMCP offers two implementation paths. The declarative API requires no new JavaScript. The imperative API handles everything else. Declarative: HTML Form Attributes Add toolname and tooldescription to an existing HTML form. That’s it. The browser handles tool registration automatically.