WebMCP is a proposed web standard that lets a website register its own functions and forms as named tools an AI agent can call directly, instead of making the agent read the page and guess which button does what. A site declares "search products", "check availability" or "book a demo", each with a plain-language description and an input schema, and an agent working in the visitor's browser calls that tool the way it would call a function inside ChatGPT or Claude.
That matters because AI visibility has two halves. The first is being found and recommended. The second is whether an agent can actually do anything once it lands on your site. WebMCP is about the second half. This guide covers what WebMCP is, where it stands in browsers today, how it differs from MCP, llms.txt and schema markup, and how to get WebMCP on your own site, step by step, including the parts a non-developer can do this week.
Key takeaways
- WebMCP lets a page expose JavaScript functions or HTML forms as callable tools, each with a name, a description and an input schema, through
document.modelContext.registerTool(). - It is still a draft developed in the open in the W3C Web Machine Learning Community Group. Origin trials are live in Chrome 149 and Edge 150. Firefox and Safari have not shipped it.
- There are two ways in: the Imperative API (JavaScript) and the Declarative API (attributes on an existing HTML form).
- Lighthouse has an experimental Agentic Browsing category that checks WebMCP registration, the accessibility tree, layout stability and llms.txt.
- Almost nobody has it yet. Of 14,335 sites in the Faro Registry, 14,308 (99.8%) showed no WebMCP tool registration in their latest scan.
What is WebMCP?
WebMCP is a browser API that lets a website hand an AI agent a list of actions it supports, so the agent calls those actions directly instead of scraping the page. The WebMCP explainer on GitHub describes it as a way for developers to expose web application functionality as "tools": JavaScript functions with natural-language descriptions and structured schemas, designed for AI agents to use.
The name borrows from the Model Context Protocol (MCP), the standard AI assistants already use to call outside tools. The idea is the same: a tool has a name, a description the model can reason about, and a schema that says what input it accepts. The difference is where the tool lives. With WebMCP it lives in your page's own JavaScript and runs in the visitor's browser session.
The agents that can use these tools include assistants built into the browser, agents hosted in iframes and agents running in browser extensions. The specification is written for a person and an agent working together in an open browser tab. It is not a headless scraping standard, and it does not give an agent anything the logged-in visitor could not already do on that page.
Why does WebMCP matter for a business website?
WebMCP matters because an agent that cannot complete a task on your site will complete it somewhere else. Today an agent that wants to filter your products, check a date or submit a quote form has to read the HTML, work out which element is the search box, click it and hope the layout does not shift underneath it. That is slow, it costs the agent provider money, and it fails more often than a direct function call.
There is some early evidence on the size of the gap. An academic paper on arXiv tested a similar approach (also called webMCP, but a separate research proposal, not the W3C draft) across 1,890 real API calls in shopping, login and content management tasks. Giving agents pre-structured interaction data cut processing by 67.6% and cost by 34% to 63%, with task success of 97.9% against 98.8% for full HTML parsing. Near-identical results at a fraction of the cost is the economic case for tools over scraping.
For a business, that translates into a simple question: when an agent arrives with a job to do, can it finish the job on your site cheaply and reliably? If the answer is no, the agent has every reason to prefer a competitor that makes it easy.
How does WebMCP work?
WebMCP works by letting a page register tools with the browser, which then lists them for any agent working in that tab. The current draft gives developers two ways to do it.
The Imperative API: tools written in JavaScript
With the Imperative API, a developer calls document.modelContext.registerTool() with a name, a description, an input schema and the function to run. The example from the explainer looks like this:
await document.modelContext.registerTool({
name: "filter-templates",
description: "Filters the list of templates based on a natural language visual description.",
inputSchema: {
type: "object",
properties: {
description: { type: "string", description: "A visual description of templates to show." }
},
required: ["description"]
},
execute({ description }) {
filterTemplatesInUI(description);
}
});The agent reads the name and description, decides the tool fits the task, sends input that matches the schema, and the page updates as if the visitor had used the interface themselves. Tools can be registered and removed as the page state changes, so a checkout tool only appears once there is something in the cart.
The Declarative API: tools from existing HTML forms
With the Declarative API, an existing HTML form becomes a tool by adding attributes to it. Chrome's WebMCP best practices guide names them: toolname and tooldescription on the form. A clean, well-labelled search, booking or contact form is the natural first candidate, because the inputs, labels and submit action already exist.
The explainer still describes the declarative path as being explored, so expect details to change. The Imperative API is the more settled of the two today.
Is WebMCP live in browsers yet?
WebMCP is in testing, not in general release. The project's own implementation status page lists an origin trial live in Chrome 149 and an origin trial live in Edge 150. Developers can also turn it on locally with a Chrome flag. Firefox and Safari are listed only with links to their standards-position discussions, which means neither has shipped it or committed to a date.
The same page lists early agent support outside the browsers, including ChatGPT Desktop. That is the signal worth watching: once the agents people already use can call your tools, the standard stops being theory. WebMCP is one layer of the wider agentic web, where agents search, book and buy for people.
An origin trial is a time-limited test. Sites opt in with a token, and the feature can change before it ships. So the practical reading is: worth preparing for now, not yet something every visitor's browser supports.
How is WebMCP different from MCP?
WebMCP runs in the visitor's browser on a single page, while an MCP server runs on your own infrastructure and serves any AI client that connects to it. Both give a model a described function to call. They sit on opposite sides of the connection. Our MCP vs API guide compares an API, an MCP server and WebMCP side by side.
An MCP server is a backend service. Claude, ChatGPT or another host connects to it and can use its tools whether or not anyone has your website open. If you want that route, Faro's guide on how to build an MCP server walks through it, and the MCP server generator produces a starter server and Server Card. For the business case in plain English, read MCP for business.
A WebMCP tool is scoped to one page and one session. It can only do what that page already lets the logged-in visitor do. A support assistant built on your MCP server might look up any order. A WebMCP tool on the order-status page can only act on the order the visitor is already looking at. Most businesses that use both will use them for different jobs. To see which MCP servers marketing and sales teams already connect, read our best MCP servers guide.
Does WebMCP replace llms.txt or schema markup?
No, WebMCP does not replace llms.txt or schema markup, because those describe your site and WebMCP lets an agent act on it. An agent still has to find you, understand what you sell and trust it before it calls any tool. The table shows where each layer fits.
| Layer | What it gives an agent | Where it lives | Can the agent act on it? |
|---|---|---|---|
| llms.txt | A plain-text summary of your site | A file at your domain root (build one with the llms.txt generator) | No, read-only |
| Schema markup | Machine-readable facts about your business, products and pages | JSON-LD in your HTML (generate it with the AI schema generator) | No, read-only |
| MCP server | Backend tools and data any AI host can request | Your own servers | Yes, server-side |
| WebMCP | Functions and forms on one page | Your page's JavaScript, in the visitor's browser | Yes, scoped to that page and session |
If you want the reasoning on llms.txt itself, including why it is a cheap hedge rather than a ranking lever, see the llms.txt guide. For which schema properties agents actually use, see structured data for AI agents.
What does the Lighthouse Agentic Browsing check look for?
The Lighthouse Agentic Browsing category checks four things: WebMCP tool registration, the health of the accessibility tree, Cumulative Layout Shift and the presence of llms.txt. Google's scoring documentation marks the category as experimental, says it needs Chrome 150 or later, and says the WebMCP audits need the origin trial.
Unlike Performance or SEO, it does not give a 0 to 100 score. It shows a pass ratio, because Google says the standards are still emerging and the aim for now is to gather data. Each of the four checks maps to something you can fix:
- WebMCP registration: Lighthouse watches for tools registered through either API.
- Accessibility tree: agents use it as their main view of the page, so every button and field needs a programmatic name, valid roles and nothing clickable that is hidden from the tree.
- Layout stability: ads, images without dimensions and injected banners move elements between the moment an agent picks a target and the moment it clicks.
- llms.txt: a machine-readable summary at your domain root.
Three of the four need no WebMCP at all. That is why the groundwork is worth doing first.
How do I get WebMCP on my website?
You get WebMCP on your website by choosing a few high-value actions, exposing each one as a tool through the Declarative or Imperative API, and testing it in Chrome with the origin trial or the local flag. In order:
- Check where you stand. Run the free WebMCP readiness check. It looks for a discoverable tool registration and whether your buttons and forms expose the accessible names an agent needs. The guide to the WebMCP readiness report explains each flagged gap.
- Fix the read-only layers. Make sure agents can crawl you, publish an llms.txt file and add Organization and Product schema. The AI visibility checker covers all three in one scan.
- List your top five actions. Search, availability, quote, booking, add to cart, contact. These are your first tools. Chrome's guidance is one function per tool and no overlapping tools, because overlap confuses the agent.
- Start with your forms. If a form is already clean and labelled, the Declarative API is the lightest route: add a tool name and a description to it.
- Use JavaScript for the rest. Anything that is not a simple form, such as a filtered product search, goes through
registerTool(). Register the full set at once, and only report success once the page actually reflects the change. - Test it. Join the origin trial or enable the flag in Chrome for local testing, then run a Lighthouse audit in Chrome 150 or later and check the Agentic Browsing results.
Steps 1 to 3 need no developer. Steps 4 to 6 are a small, contained piece of front-end work, not a rebuild.
Which sites should add WebMCP first?
Sites where a visitor completes a structured action should add WebMCP first: online stores, booking and reservation sites, SaaS products with trials or quotes, and service businesses with lead forms. Ecommerce feels the pressure soonest, because shopping agents are already trying to compare and buy. Faro's look at which online stores AI agents can buy from covers the checkout side, and the Agentic Commerce Protocol explainer covers payment. The Universal Commerce Protocol, an industry standard for agentic commerce from discovery to checkout, covers the transaction layer; WebMCP covers the interaction layer on the page.
Content sites with nothing to submit gain less. For them, crawl access, schema and llms.txt do more of the work.
How many websites use WebMCP today?
Almost none. In the Faro Registry, 14,308 of 14,335 sites (99.8%) showed no WebMCP tool registration in their latest scan, run between late August and mid November 2026. The registry is the set of sites Faro has scanned, not a random sample of the web, but the direction is clear. Any business that registers even one well-described tool is ahead of nearly everyone in its category.
Frequently asked questions about WebMCP
Is WebMCP the same as MCP?
No. MCP connects AI hosts to tools on your servers. WebMCP exposes tools from a web page to an agent working in the visitor's browser. They share the same idea of a named, described, schema-checked tool, and many businesses will end up with both.
Which browsers support WebMCP?
Chrome 149 and Edge 150 have live origin trials, according to the project's implementation status page. Firefox and Safari have not shipped it. Treat it as a feature in testing, not something every visitor has.
Do I need a developer to add WebMCP?
For the audit and groundwork, no. For the tools themselves, a little. A clean form can become a tool by adding two attributes. Anything more involved needs a short piece of JavaScript using registerTool().
Does WebMCP affect Google rankings?
Not directly. WebMCP governs what an agent can do once it is on your site, not whether your pages rank. Google describes the Lighthouse Agentic Browsing category as experimental and focused on gathering data rather than ranking.
Is WebMCP only for ecommerce?
No. Any site with a repeatable action, such as booking a call, checking availability or requesting a quote, can expose it as a tool. Stores feel the pressure first because shopping agents are already active.
Who is building WebMCP?
The draft specification is published by the Web Machine Learning Community Group, with editors from Microsoft and Google. It is a Community Group report, not a W3C Standard, and the explainer, issues and implementation status are public on GitHub. Chrome and Edge are running origin trials.
How do I check whether my site is ready for WebMCP?
Run Faro's free WebMCP readiness check for tool registration and accessible names, then a Lighthouse audit in Chrome 150 or later for the full Agentic Browsing category.
In short
WebMCP turns a website from something an agent reads into something an agent can use. It is still a draft, tested in Chrome and Edge, and used by almost no one. That is the opportunity: the groundwork (crawl access, schema, an Open Knowledge Format bundle, llms.txt, a clean accessibility tree) pays off today, and the first few tools are a small job once it is in place. Start with the free WebMCP readiness check and see what an agent can and cannot do on your site.