WebMCP
The standard, documented against the specification
What the API actually looks like, where it stands, and what it does not replace. Every claim is sourced to the specification, the explainer or the Chrome documentation, and dated.
What WebMCP is, and what it is not
A browser API that lets a page hand an AI agent a list of named, typed functions instead of a DOM to guess at. Here is the shape of it, the state of it, and the honest case for building on it now.
6 sources · reviewed 27 August 2026
Registering WebMCP tools with JavaScript
The imperative API is the stable path into the standard. What a good tool looks like, how the abort signal keeps a single-page app honest, and the mistakes that make an agent call the wrong function.
5 sources · reviewed 27 August 2026
The declarative API: tools from forms you already have
The cheapest possible entry into WebMCP is annotating a form and letting the browser derive the schema. It is also the part of the specification that is least finished — here is the state of it, without inventing attribute names.
4 sources · reviewed 27 August 2026
Turning WebMCP on in Chrome
Flags, the origin trial, and the difference between the two. Plus how to confirm your tools registered, rather than assuming they did because the code ran.
5 sources · reviewed 27 August 2026
WebMCP versus MCP, raw APIs and browser automation
Four ways an agent can reach your product, what each costs you, and the one question that decides between them: who is holding the credential.
5 sources · reviewed 27 August 2026
The WebMCP security model, and the parts that are still open
Session-based access is a genuine improvement over handing an agent an API key. It is not a complete threat model, and the specification says so. What to rely on, what to gate, and what to tell a compliance officer.
5 sources · reviewed 27 August 2026
navigator.modelContext is deprecated. Move to document.modelContext
The specification relocated the API in July 2026 and Chrome 150 deprecated the old position while the origin trial still serves it. A short migration with a long tail of quiet breakage if you skip it.
4 sources · reviewed 27 August 2026
Shipping WebMCP before the browsers catch up
A polyfill provides document.modelContext where the browser does not, a React hook ties registration to component lifecycle, and a relay bridges page tools to desktop clients. What each is for, and where the seams are.
4 sources · reviewed 27 August 2026