What is WebMCP?

WebMCP is a proposed web standard that lets a web page expose tools to AI agents running in the browser. The page registers each tool with a name, a description and an input schema, in JavaScript or with HTML form attributes, and the agent calls it directly. It is a W3C community group draft, testable in Chrome through an origin trial.

Full guide Is your website agent-ready? A practical checklist for AI agents Where WebMCP fits next to the page fixes and protocol files that make a site agent-ready. Read the guide →

At a glance

Status
W3C Web Machine Learning Community Group draft report, not on the standards track
Editors
From Microsoft and Google
Browser support
Chrome origin trial, Chrome 149 to 156
How a page uses it
document.modelContext.registerTool(), or toolname and tooldescription attributes on a form
Safety
Sensitive actions can ask the user to confirm
Related
Inspired by MCP, the Model Context Protocol, but runs in the page

How to spot it

  • On a page: script that calls document.modelContext.registerTool() (older code used navigator.modelContext), or forms with toolname and tooldescription attributes.
  • In your traffic: WebMCP calls run inside the visitor’s browser, so they show up as the normal requests your page makes, from an agentic browser rather than a crawler.
  • Testing: Cloudflare’s agent-readiness checker and Chrome Lighthouse both detect WebMCP tools.

Related terms

Quick answers

Is WebMCP live?

Not generally. It is a community group draft that agents can use in Chrome's origin trial. Most agents cannot call WebMCP tools yet.

Is WebMCP the same as MCP?

No. MCP connects AI apps to tools on servers. WebMCP lets a web page offer tools to an agent inside the browser, using the page's own logic and the user's session.

Does Lighthouse check WebMCP?

Chrome's Lighthouse Agentic browsing category includes WebMCP audits, which need the origin trial to run.

Sources