Book a demo →

WebMCP

Definition

WebMCP is a proposed browser API that lets a website offer tools to AI agents: actions with a name, a description and an input schema that an agent calls instead of clicking through the page. It is a draft of a W3C Community Group, not a W3C standard, and Chrome tests it in an origin trial from Chrome 149.

In short

WebMCP lets a page tell an AI agent what it can do there, such as search, filter or book, as tools the agent calls directly. Without it, an agent has to work out the buttons and fields itself. The specification is a Community Group draft dated 1 December 2026, and it says of itself that it is “not a W3C Standard nor is it on the W3C Standards Track”.

Status

The specification is explicit about what it is. It is published by the Web Machine Learning Community Group, with editors from Microsoft and Google, and its status section reads: “It is not a W3C Standard nor is it on the W3C Standards Track.” Chrome’s documentation calls WebMCP “a proposed web standard”. Chrome tests it in an origin trial.

DateStepSource
10 February 2026Chrome makes WebMCP available for prototyping to participants in its early preview programChrome for Developers blog
As of 7 October 2026Chrome’s documentation invites sites to join the WebMCP origin trial from Chrome 149; a Chrome flag enables it for local developmentChrome for Developers
1 December 2026Current Draft Community Group ReportWeb Machine Learning Community Group

How it works

The specification describes tools as “JavaScript functions with natural language descriptions and structured schemas that can be invoked by agents, browser’s agents, and assistive technologies.” Chrome’s documentation offers two ways to create them.

The declarative API turns an HTML form into a tool. Two attributes on the form, toolname and tooldescription, name the tool and say what it does, and the form fields become its parameters. Chrome’s documentation gives this example:

<form toolname="createSupportRequest" tooldescription="Submits a request for customer support.">
</form>

When an agent calls such a tool, Chrome writes, “the browser brings the form into focus and populates its field. The form remains visible to the user.” Submitting is left to the user unless the page adds the toolautosubmit attribute.

The imperative API registers tools in JavaScript with document.modelContext.registerTool(). According to Chrome, registration “requires a name, description, and input schema”. The input schema is a JSON Schema, and an execute function carries out the action. Optional annotations such as readOnlyHint and consequentialHint tell the agent whether a tool only reads data or triggers something significant or irreversible.

WebMCP, MCP, llms.txt and actuation

WebMCP takes the idea of tools from the Model Context Protocol. The specification says that pages using it “can be thought of as Model Context Protocol [MCP] servers that implement tools in client-side script instead of on the backend.” Chrome’s comparison page adds that “WebMCP is not an extension or a replacement of MCP”, and that its tools “exist only when your page is open.”

ApproachWhere it runsWhat it gives an agentWho calls or reads it
MCPOn a serverTools, resources and prompts of a serviceAny MCP client
WebMCPIn the page, with the user’s current sessionTools for actions on that pageAny agent or client with access to the rendered page
llms.txt, structured dataFiles and markup on the siteA description of the contentSystems that read the site’s content
Actuation, without WebMCPIn the pageNo declared tools; the agent interprets buttons and fieldsBrowser agents

Sources: Chrome for Developers, “When to use WebMCP and MCP” (MCP and WebMCP rows) and “WebMCP” (actuation), retrieved 2 December 2026.

Chrome defines actuation as “the act of an agent simulating manual mouse clicks and text input, as though it were the human user engaging with your website.” That is how an AI browser works on a page without WebMCP. llms.txt and structured data describe what is on a page. WebMCP describes what an agent can do there. NLWeb takes a third route: instead of tools in the browser, a site offers a query interface that answers questions in natural language.

Security

The specification’s security section treats prompt injection as a key risk, where “malicious instructions are embedded in tool metadata, inputs, or outputs to manipulate agent behavior or compromise systems.” One form it names is tool poisoning: a malicious website hides instructions in a tool’s name, description or parameter descriptions. Chrome’s tool security guidance states that “it’s impossible to guarantee safety inside of a large language model (LLM).”

Chrome recommends untrustedContentHint for tools that return user-generated or external content, and consequentialHint: true for actions such as booking travel or transferring money, “so the agent or browser can request user confirmation before execution.” By default, other websites and cross-origin iframes cannot observe or use a page’s tools. A site can share a tool with named origins through the exposedTo option.

What it means for a website

Chrome writes that WebMCP “can be added as a progressive enhancement”: the page keeps working for people, and agents get tools on top. Sites can join the origin trial from Chrome 149, and developers can test locally with the flag chrome://flags/#enable-webmcp-testing. Chrome also lists limits. The API is “primarily designed for local browser workflows with a human in the loop”, and an agent has to visit a site to find out whether it offers tools. Chrome adds that WebMCP “is under active discussion and subject to change in the future”, and the specification is still a draft. Shopping, one of the use cases Chrome names for WebMCP, is covered under agentic commerce.

Source

  • Web Machine Learning Community Group, “WebMCP” (Draft Community Group Report, 1 December 2026). Source for the abstract, the status, the editors, the description of tools, the comparison with MCP servers and the security risks (retrieved 2026-12-02): https://webmachinelearning.github.io/webmcp/
  • Chrome for Developers, André Cipriani Bandarra, “WebMCP is available for early preview” (published 10 February 2026). Source for the early preview (retrieved 2026-12-02): https://developer.chrome.com/blog/webmcp-epp
  • Chrome for Developers, “WebMCP” (published 18 May 2026, last updated 7 October 2026). Source for “a proposed web standard”, actuation, the origin trial from Chrome 149, the local flag, progressive enhancement, the limits and the frameworks (retrieved 2026-12-02): https://developer.chrome.com/docs/ai/webmcp
  • Chrome for Developers, “Declarative API” (published 18 May 2026, last updated 25 September 2026). Source for the form attributes, the code example and how a called form behaves (retrieved 2026-12-02): https://developer.chrome.com/docs/ai/webmcp/declarative-api
  • Chrome for Developers, “Imperative API” (published 18 May 2026, last updated 26 November 2026). Source for registerTool, the input schema and the annotations (retrieved 2026-12-02): https://developer.chrome.com/docs/ai/webmcp/imperative-api
  • Chrome for Developers, “When to use WebMCP and MCP” (published 11 March 2026, last updated 27 October 2026). Source for the comparison of WebMCP and MCP (retrieved 2026-12-02): https://developer.chrome.com/docs/ai/webmcp/compare-mcp
  • Chrome for Developers, “WebMCP tool security” (published 9 June 2026, last updated 1 September 2026). Source for the security hints and the default exposure of tools (retrieved 2026-12-02): https://developer.chrome.com/docs/ai/webmcp/secure-tools

Frequently asked questions

What is WebMCP?

A proposed browser API that lets websites offer tools to AI agents. The specification sums it up in one sentence: “The WebMCP API enables web applications to provide JavaScript-based tools to AI agents.” An agent can then call a tool, such as a search or a support form, instead of clicking through the page.

Is WebMCP a W3C standard?

No. The specification is a Draft Community Group Report of the Web Machine Learning Community Group, dated 1 December 2026, and states: “It is not a W3C Standard nor is it on the W3C Standards Track.” Chrome’s documentation calls it “a proposed web standard”.

What is the difference between WebMCP and MCP?

MCP connects agents to a service through a server and is available as long as the server runs. WebMCP tools live in a web page, use the user’s current session and exist only while the page is open. Chrome writes that “WebMCP is not an extension or a replacement of MCP”.

Which browsers support WebMCP?

Chrome tests WebMCP in an origin trial from Chrome 149, and developers can turn it on locally with a Chrome flag (Chrome documentation, last updated 7 October 2026). Chrome also notes experimental support for WebMCP in the frameworks React, Angular and Vue.