← All package files
Proposal-backed • Browser-vendor experimental

webmcp-registration.js

An experimental static wrapper for WebMCP, the browser API Google and Microsoft are building so websites can offer structured tools to AI agents instead of being blindly clicked.

What is webmcp-registration.js?

A JavaScript file that describes discoverable actions and context for agents using the emerging WebMCP pattern. WebMCP's core idea: instead of an AI agent guessing its way through your site's buttons and forms, your website declares structured tools ("check availability", "get a quote") that agents can call through the browser, with the user present and your site's UI in control.

Why AI agents need it

Point-and-click browsing is the slowest, most error-prone way for an agent to use a website. Declared tools give agents a reliable, site-approved interface. Browser vendors consider this important enough that WebMCP is one of four areas in Chrome's Lighthouse Agentic Browsing category, and that area itself has multiple named audits (schema validity, forms missing declarative WebMCP, and registered tools).

Sources: Chrome for Developers, Lighthouse agentic browsing scoringRegistered WebMCP tools audit

The business value for you

A first-mover position on the API most likely to define how browser agents interact with websites. Both major browser engines' vendors are behind it: the spec's editors come from Google's Chrome team and Microsoft's Edge team, and Chrome has moved from preview flags into an origin trial with a stable release milestone announced.

How it came to be

Google and Microsoft published a unified WebMCP proposal in August 2025; the W3C Web Machine Learning Community Group incubates it, and it is maintained as a Draft Community Group Report (current draft dated 10 July 2026). Chrome shipped an early preview behind a flag in early 2026, launched the WebMCP Early Preview Program in February 2026, and as of mid-2026 the API is in a Chrome origin trial (versions 149-156) with Prepare-to-ship status and stable shipping targeted at Chrome 157.

Sources: WebMCP Draft Community Group Report (W3C WebML CG)Web Machine Learning Community GroupChrome WebMCP Early Preview ProgramChrome Platform Status: WebMCP

Adoption

Honest status: this is the most experimental file in the package. The spec is a W3C Community Group draft (Draft Community Group Report dated 10 July 2026), not a standard; WebMCP is off by default in production Chrome today; Chrome Platform Status lists it as Prepare to ship with a stable milestone targeted at Chrome 157; Firefox and Safari have announced no timelines; and mainstream agents are not yet calling WebMCP tools at scale. The reason it's in the package anyway is trajectory, two browser vendors, a W3C incubation path, Lighthouse audits, and a published Chrome shipping milestone, and publishers who register tools before the default flips get the head start.

Sources: WebMCP Draft Community Group ReportChrome Platform Status: WebMCP (Prepare to ship; OT M149-156; shipping M157)

The technical reality

Real WebMCP integration means registering tools that execute against your site's functionality, ultimately a development task on your site. Chrome's Lighthouse docs expect live registration: declarative attributes on forms (toolname / tooldescription) or the imperative browser API (document.modelContext.registerTool). What we ship today is a static registration wrapper: our packaging convention that describes discoverable actions and context in WebMCP's vocabulary, installable without code changes. Two boundaries we state plainly: this file does not create live tool execution, and we do not yet claim it satisfies Chrome's Lighthouse WebMCP audits, we track the expected install pattern quarterly and will say so only when verified.

What happens if you skip it

Nothing today, browser agents will still click through your site the slow way. But when Chrome ships WebMCP on by default, agents will start probing for declared tools, and sites that prepared during the experimental window will be the ones agents interact with cleanly first.

Get positioned before the browser default flips

The free Pre-Check inventories your agent-readiness files, experimental ones included.

Run My Free Pre-Check