WebMCP proposes a tool interface for browser agents

WebMCP is an early proposal for exposing website actions to browser-based AI agents through structured JavaScript functions and HTML forms.

By benchr Editorial Team · · Verified against the Chrome for Developers and W3C materials, June 9, 2026

WebMCP proposes a tool interface for browser agents: source nodes and citation routes.
Web and searchThe visual for WebMCP proposes a tool interface for browser agents pairs source nodes and citation routes.

WebMCP addresses a basic problem. When an agent receives a request such as "find a hotel in Istanbul and book it," it reaches a website built for human eyes and must infer which element is the search box, which button starts the booking, and what the date picker expects. That approach is brittle because the agent is guessing at intent from pixels and DOM nodes.

What WebMCP proposes

Instead of guessing, the agent reads a contract. The mechanics, per the Chrome and W3C materials:

  • A browser API, navigator.modelContext, through which a site declares its capabilities to agents running in the browser.
  • A "Tool Contract" — a structured list where the site states, in effect, "here is what you can do here," each entry a callable function with defined inputs.
  • Two styles of API. A declarative path for standard actions that can be described directly in HTML forms, and an imperative path, using JavaScript, for more dynamic interactions.

The standard is being developed in the W3C's Web Machine Learning Community Group, created by engineers at Google and Microsoft, and was published as a W3C Draft Community Group Report earlier in 2026. It is available as an early preview in Chrome, with Gemini in Chrome slated to support the APIs. Analysts have described the ambition as the "USB-C of agent–web interactions" — one standard interface replacing a tangle of bespoke scraping — which is a framing from commentary, not an official claim.

What the proposal changes

WebMCP would give browser agents a structured description of available actions instead of requiring them to infer every action from the visual interface or DOM. That could make supported actions more explicit, but the proposal's early status means developers should not assume a stable API or broad browser support.

If that direction holds, sites that expose clear, reliable tools may work better with agents than visually complex interfaces that are difficult to parse. The shift resembles the earlier rise of structured data and clean markup for search, but it applies to actions rather than retrieval. Our tools section and the model index track the broader agent ecosystem around it.

What it means for developers and site owners

  • Inventory likely actions. WebMCP is in early preview. Site owners can identify actions such as search, add to cart, book, or check status without treating the current API as stable.
  • Notice you may already be close. The declarative path leans on HTML forms. Clean, semantic forms with clear names are not just good accessibility practice — they are the raw material a contract like this would expose.
  • Separate actions from retrieval. WebMCP concerns callable actions. Structured, attributable content remains the relevant concern for retrieval; see how to get cited inside AI answers.
  • Plan for the governance questions. Exposing functions to agents raises real issues — authentication, rate limits, abuse, and what an agent is allowed to do without a human confirming. A serious adoption plan budgets for those, not just for declaring tools.

Caveat: proposed web standards do not always ship, and those that do may change along the way. Browser-version details in early coverage have varied, and a community-group report does not guarantee support from multiple vendors. Treat the current API as an early proposal.

Sources