WebMCP
WebMCP is an experimental browser API, in a Chrome origin trial, that lets a page offer named tools to an agent running in the browser; the API is still changing in ways that break existing code.
Published 2026-11-26. Updated 2026-11-29. Facts checked 2026-11-26. Read as Markdown
- Status
- Experimental
- Version
- Draft CG Report 2026-11-24; Chrome origin trial 149 to 162 (extension approved) (2026-11-24)
- Owner
- W3C Web ML Community Group (Google, Microsoft)
- Layer
- Capabilities (can agents act?)
- Where on a site
JavaScript in the page- Specification
- webmachinelearning.github.io
In short
-
A page registers tools with
document.modelContext.registerTool(). An agent in the browser can then call them instead of clicking through the page [1]. - It is experimental. The spec is a W3C Community Group draft dated 2026-11-24. Chrome runs an origin trial from version 149 to 156, with an approved extension to 162 (stable on 2027-02-02). Edge's trial ends 2027-03-30 [1][2][3].
- A breaking change landed on 2026-11-19, and Chrome developer relations said more would follow [4][5].
- Shopify (2026-10-28) and Cloudflare, for Commerce.com storefronts (2026-10-21), switched it on by default [6][7].
- None of the 14 sites we scanned showed WebMCP in its homepage HTML, but a static scan cannot see tools added by scripts.
WebMCP lets a page tell browser agents what it can do
Browser agents today read the screen and click buttons, and they often fail on complex forms. WebMCP lets the page tell the agent what it can do, such as "search flights", "add to cart", "book a slot". Each tool has a name, a description, an input schema and a function that runs in the page [1]. Because the tool runs inside the page, it uses the person's own signed-in session, with no separate API or login.
It borrows ideas from MCP but is a different thing. MCP is a protocol between an agent and a server, while WebMCP is a JavaScript API inside a browser tab.
There is no file, only JavaScript on the page
- No file. Everything is JavaScript on the page.
-
The entry point is
document.modelContext, available only on secure (HTTPS) pages. Methods in the current draft includeregisterTool(),getTools(),executeTool()andwaitForToolsUntil(), the last added on 2026-11-24 [1][4]. -
Removed in 2026 were the
navigator.modelContextentry point (moved in May),provideContext()andclearContext(). The declarative form attributes (toolname,tooldescription) were removed from the spec on 2026-10-08 and survive only in an explainer [4][8]. -
For the origin trial, register for the
WebMCPtrial and send the token in a<meta http-equiv="origin-trial">tag or anOrigin-Trialheader [2]. -
For permissions, a
toolsPermissions Policy feature controls the API; cross-origin iframes needallow="tools"[1].
The exact shape of a tool object changed on 2026-11-19, when a Tool interface replaced the earlier dictionary [5]. Check the current draft before writing code.
About half a percent of Chrome page loads register tools
- The Chrome team reported tool registrations on about 0.51% of all Chrome page loads by 2026-10-28, above its trial's warning threshold [9].
- Agent Protocols Watch found WebMCP tools on 283 of 744,767 sites checked (2026-11-04) [10]. CrawlCheck found it on 5 of 5,669 top-10,000 homepages (2026-11-25) [11]. Ora counted 2,711 of 181,111 sites its users scanned (2026-11-25) [12].
- The gap between page loads and site counts suggests a few large platforms account for most use.
- Firefox and Safari had given no public signal, according to Chrome Status [2].
In our scan of 14 sites on 2026-11-26, 0 of 14 had WebMCP hints in the homepage HTML [13]. Tools injected by external scripts or added after sign-in would not show up in that scan.
Experiment on a test page first
- On Shopify or Commerce.com, find out which tools your store already exposes and what they can change.
-
Elsewhere, experiment on a test page with the trial or the polyfill (
@w3c/webmcp-polyfill). Do not build core flows on it before the API settles. - Treat tool calls like any user input. Keep server-side checks, and mark tools that change data.
- Lighthouse's experimental Agentic Browsing category includes WebMCP audits, which help with a quick check [14].
Questions
Is WebMCP the same as MCP?
No. MCP connects an agent to a server over HTTP. WebMCP is a browser API that lets a page offer tools to an agent running in that browser. They share ideas such as named tools with input schemas.
Which browsers support WebMCP?
Chrome and Edge, through origin trials, as of November 2026 [2][3]. Firefox and Safari had not signaled support [2].
Sources
| # | Source | Publisher | Primary or secondary | Checked | Status |
|---|---|---|---|---|---|
| 1 | https://webmachinelearning.github.io/webmcp/ | W3C Web Machine Learning CG | primary | 2026-11-26 | experimental (CG draft, 2026-11-24) |
| 2 | https://chromestatus.com/feature/5117755740913664 | Google Chrome | primary | 2026-11-26 | experimental (origin trial) |
| 3 | https://developer.microsoft.com/en-us/microsoft-edge/origin-trials/trials/0b76fe60-b266-458e-a285-04e375c0c31a | Microsoft | primary | 2026-11-26 | experimental (expires 2027-03-30) |
| 4 | https://github.com/webmachinelearning/webmcp/commits/main/index.bs | W3C Web Machine Learning CG | primary | 2026-11-26 | change history |
| 5 | https://github.com/webmachinelearning/webmcp/pull/348 | W3C Web Machine Learning CG | primary | 2026-11-26 | merged 2026-11-19 |
| 6 | https://www.shopify.com/news/fall-26-edition-developer | Shopify | primary | 2026-11-26 | vendor announcement (2026-10-28) |
| 7 | https://blog.cloudflare.com/webmcp-commerce/ | Cloudflare | primary | 2026-11-26 | vendor announcement (2026-10-21) |
| 8 | https://github.com/webmachinelearning/webmcp/blob/main/declarative-api-explainer.md | W3C Web Machine Learning CG | primary | 2026-11-11 | proposal (explainer) |
| 9 | https://groups.google.com/a/chromium.org/g/blink-dev/c/lkdLdy5VPoA/m/i7z0TIoUCQAJ | Chrome WebMCP team | primary | 2026-11-26 | usage report (2026-10-28) |
| 10 | https://agentprotocolswatch.com/ | Agent Protocols Watch | primary | 2026-11-26 | adoption data (2026-11-04) |
| 11 | https://crawlcheck.io/api/census?frame=top10k | CrawlCheck | primary | 2026-11-26 | adoption data (2026-11-25) |
| 12 | https://ora.ai/protocol-adoption | Ora | primary | 2026-11-26 | adoption data (2026-11-25) |
| 13 | Our scans of 14 sites, 2026-11-26 (scanner 0.2.0) | Agents404 | primary (own data) | 2026-11-26 | own data |
| 14 | https://developer.chrome.com/docs/lighthouse/agentic-browsing | Google Chrome | primary | 2026-11-11 | experimental audit category |
Recent changes
- 2026-11-25 MCP on 15,468 of 181,111 scanned sites (Ora)
- 2026-11-19 WebMCP replaces RegisteredTool with a Tool interface (breaking change)
- 2026-11-12 Elementor ships a free Agent Ready scanner and settings for WordPress
- 2026-11-11 W3C draft Agentic Web WG charter names chairs, adopts WebMCP as input
- 2026-11-02 UCP on 4.7% of popular domains (Radar scan)
- 2026-10-28 Shopify turns on WebMCP for every store
Primary sources
| # | Source | Publisher | Checked |
|---|---|---|---|
| 1 | https://webmachinelearning.github.io/webmcp/ | W3C Web ML CG | 2026-11-26 |
| 2 | https://chromestatus.com/feature/5117755740913664 | Chrome Status | 2026-11-26 |