# WebMCP Agency > Research, tools and adoption data for WebMCP. A research site published by [Convertlyft](https://convertlyft.com/?utm_source=webmcpagency&utm_medium=referral&utm_campaign=llms-txt): guides to WebMCP, llms.txt and AI crawlers written from primary sources, a free checker, and a research crawl of 10,000 popular US web origins. WebMCP is a proposed web API (`document.modelContext`) drafted by the Web Machine Learning Community Group. It is not the Model Context Protocol (MCP) and not a W3C Standard. Guides are checked against the WebMCP draft of 19 November 2026. WebMCP Agency is a research site with a free checker and directory. A paid Deep Check report (US$19.00 per run) is priced on /pricing and is not on sale yet. It is not a service agency you can hire. Full text of every guide. The index of links is at https://webmcpagency.com/llms.txt. --- # What is WebMCP? URL: https://webmcpagency.com/what-is-webmcp Updated: 2026-11-20 · Checked against the WebMCP draft of 19 November 2026 > WebMCP in plain English: what it is, how document.modelContext works, its status in Chrome, what the spec says about security, and how it differs from MCP. WebMCP is a proposed web API that lets a web page offer its own JavaScript functions to AI agents as "tools". Each tool has a name, a plain-language description and an input schema, so an agent can call a function instead of clicking through the page. A page registers tools with `document.modelContext.registerTool()`. WebMCP is not a W3C Standard. It is a Draft Community Group Report from the Web Machine Learning Community Group. ## Why does WebMCP exist? WebMCP exists so a site can tell an AI agent what it can do, instead of the agent having to read the page and act like a person. Without it, an agent has to find the search box, type, click, wait and read the result. That is slow, and it breaks easily when the layout changes. With WebMCP, the site writes a tool, describes it in plain words, and states which inputs it needs. The agent reads the list and calls the tool directly. Two points matter for site owners: - **Tools run inside the page.** A tool runs in the page that registered it, with that page's DOM, storage and logged-in session, just like your own scripts. - **Agents find tools by visiting.** There is no remote catalog. A browser or agent learns about a site's tools only when it loads the site. Chrome says the API "is primarily designed for local browser workflows with a human in the loop". The explainer lists headless use (a browser with no visible window) as a goal, for tools built for a person in the loop. It also lists a non-goal: the API "is not intended for fully autonomous agents where a browser UI is not present". ## Who makes WebMCP, and is it a W3C standard? WebMCP is published by the Web Machine Learning Community Group. The spec says: "It is not a W3C Standard nor is it on the W3C Standards Track." The current draft is dated 19 November 2026. Its editors are Brandon Walderman and Samuel Dallstream (Microsoft) and Khushal Sagar and Dominic Farolino (Google). The proposal lives in the webmachinelearning/webmcp repository on GitHub. It holds the spec, the main explainer (README), a declarative API explainer for HTML forms, a continuations explainer, docs/service-workers.md and implementation-status.md. The README credits early authors from Microsoft and Google and says it was first published on 13 August 2025. The W3C Technical Architecture Group (TAG) has an open review labelled "CG early review". It was opened alongside a proposal to add WebMCP as a tentative deliverable of the WebML Working Group. That adoption is a proposal, not a done deal. ## How WebMCP works: the imperative API The "imperative" API is the JavaScript version. A page calls `registerTool()` once per tool. ### The entry point is document.modelContext The API lives on the page's document, as `document.modelContext`. It only exists in a secure context (HTTPS or localhost). You may still see `navigator.modelContext` in older posts and demos. That is the old name. On 19 May 2026 the spec scoped ModelContext to the Document. The reason: the initial about:blank document shares its Window with the next document, so tools could leak across that navigation. On 27 May 2026, on the W3C TAG's recommendation, the `modelContext` getter itself moved from navigator to document. Chrome's current docs use only `document.modelContext`. To update old code, see [navigator.modelContext to document.modelContext](https://webmcpagency.com/navigator-modelcontext). ### Registering a tool Call `document.modelContext.registerTool(tool, options)` to add a tool. It returns a Promise that rejects when something is wrong, so catch errors. Pass an AbortController's signal in `options` so you can remove the tool later. Check first that `document.modelContext?.registerTool` exists, so your code does nothing in browsers without WebMCP. ### Tool fields - **name** (required): the tool's ID. It must be 1 to 128 characters, using only ASCII letters, digits, underscore (_), hyphen (-) and dot (.). It must be unique in the document. - **title** (optional): a human-readable label. - **description** (required): plain-language text that tells the agent when to call the tool. It must not be empty. - **inputSchema** (optional): an object describing the inputs. - **execute** (required): the function that runs. It gets the input object and an options object with a signal. - **annotations** (optional): hints about the tool's behaviour. ### Annotations Annotations are hints. They all default to false. - **readOnlyHint**: the tool does not change any state and only reads data. - **untrustedContentHint**: the output contains untrusted data, from the point of view of the site registering the tool. - **consequentialHint**: the tool's actions are significant, real-world or cannot be undone, such as booking a flight or moving money. - **debugging**: the tool is for debugging and developer tooling. Chrome supports it from Chrome 156. ### When registerTool rejects The spec lists these cases: - An invalid name, an empty description, or a name already used in the same document: InvalidStateError. - The document is not allowed to use the "tools" feature: NotAllowedError. - The signal you passed is already aborted: the Promise rejects with the signal's abort reason. ### Removing a tool: the abort signal There is no `unregisterTool()`. To remove a tool, pass an AbortSignal in the second argument and later call `abort()` on its AbortController. Since Chrome 153, removing a tool does not cancel calls to it that are already running. ### Methods that were removed Earlier drafts had methods that are gone from the current spec: - `provideContext()` and `clearContext()` were removed on 5 March 2026, because they let one script overwrite tools registered by another. - `unregisterTool()` was removed on 27 March 2026, in favour of the abort signal. If a tutorial uses any of these, it was written for an older draft. ### Sharing tools with other origins By default, a tool is visible only to documents from the same origin as the page that registered it. A cross-origin document can see or call it only when every side opts in: - The page that registers the tool lists the caller's origin in `exposedTo`, in the second argument to `registerTool()`. - The caller lists the tool's origin in `fromOrigins` when it calls `getTools()`. - For a cross-origin iframe, the embedding page must also grant it the feature with `allow="tools"`. ### Reading and calling tools from the page The ModelContext interface also has `getTools()`, which returns registered tools, and `executeTool()`, which runs one with an input object. Agents choose tools by their names, descriptions and input schemas, so keep descriptions specific and schemas accurate. ## The declarative API: HTML forms as tools The "declarative" approach turns an existing HTML form into a tool by adding attributes, such as `toolname` and `tooldescription` on the `
`. No JavaScript is needed for the basic case. Status note: on 8 October 2026 the declarative API was removed from the spec. The spec now covers only the imperative `registerTool()` API. The declarative approach is still being explored in the declarative API explainer, and Chrome still documents it. Treat it as less settled than the JavaScript API. ## Which browsers support WebMCP? WebMCP is experimental. In Chrome, it has been a DevTrial since Chrome 146. An origin trial started in Chrome 149 and was first planned to end with Chrome 156. On 28 September 2026 Google posted an Intent to Extend Experiment on blink-dev to run it to Chrome 162, and Chrome's origin-trial registry, read 20 November 2026, lists the trial as active with that extension, ending 30 March 2027. No shipping version is set. For local testing, Chrome documents a flag at chrome://flags/#enable-webmcp-testing. Outside Chrome, the repository's implementation status says Edge has an origin trial live in Edge 150. Mozilla's standards position is neutral, and WebKit's position is oppose. ## Security: what the spec warns about The spec has a security and privacy section. It is non-normative, which means it gives guidance rather than rules. It warns that: - A tool's declared intent may not match what it does. Agents read descriptions to decide what to call, but cannot check a tool's real effects before running it. - Tools run with the page's logged-in session, so they can take high-privilege actions such as purchases. - Tool descriptions and outputs can carry prompt injection. Mitigations in the spec include turning WebMCP off with the header `Permissions-Policy: tools=()`, marking tools honestly with `untrustedContentHint` and `consequentialHint`, and the cross-origin opt-ins described above. Write tools with the same care as any form handler that can change user data. ## Who has announced WebMCP support The spec's editors work at Microsoft and Google, and Chrome is running the trials described above. For current status, check the webmachinelearning/webmcp repository and Chrome's WebMCP docs. ## Is WebMCP the same as MCP? No. WebMCP borrows the idea of tools from the Model Context Protocol (MCP), but it is a separate web API. The spec says a page using WebMCP can be thought of as an MCP server "that implement[s] tools in client-side script instead of on the backend". WebMCP tools run in a browser tab, with the user's session and the page's DOM. MCP tools usually run on a server. The explainer says WebMCP is designed "to complement, not replace" backend protocols like MCP. ## A short WebMCP timeline - **13 August 2025**: Explainer first published. - **Chrome 146**: DevTrial begins. - **5 March 2026**: `provideContext()` and `clearContext()` removed. - **27 March 2026**: `unregisterTool()` removed. - **19 May 2026**: ModelContext scoped to the Document. - **27 May 2026**: The `modelContext` getter moves from navigator to document. - **Chrome 149**: Origin trial begins, first planned to end with Chrome 156. - **28 September 2026**: Google posts an Intent to Extend Experiment on blink-dev, asking to run the origin trial to Chrome 162. Chrome's origin-trial registry, read 20 November 2026, shows the extension in effect, ending 30 March 2027. - **8 October 2026**: Declarative API removed from the spec. - **20 October 2026**: Fourth editor added. - **27 October 2026**: New draft published. - **19 November 2026**: Latest Draft Community Group Report. `getTools()` now returns `Tool` objects. ## What to do next - **Start with simple, high-value actions.** Expose a search, quote or booking tool with a precise description and a small input schema. - **Use document.modelContext, not navigator.modelContext.** Check that `document.modelContext?.registerTool` exists before registering. - **Add annotations.** Mark read-only tools and flag consequential ones. - **Plan for cleanup.** Keep an AbortController for each tool and call `abort()` when you no longer need it. - **Keep names stable and unique.** Descriptions should be plain English and honest about side effects. - **Expect changes.** Follow the repository and Chrome's trial notes. ## FAQ ### What is WebMCP in simple terms? A proposed web API that lets a page offer named JavaScript tools, with descriptions and input schemas, that AI agents can call directly instead of driving the page's buttons and forms. ### Is WebMCP a W3C standard? No. It is a Draft Community Group Report from the Web Machine Learning Community Group. The spec says it is not a W3C Standard and not on the W3C Standards Track. ### Is it navigator.modelContext or document.modelContext? document.modelContext. The spec moved the API from navigator to document in May 2026, after finding that tools could leak across a navigation and on the W3C TAG's advice. ### How do I remove a WebMCP tool? There is no `unregisterTool()`. Pass an AbortSignal when you register the tool, then call `abort()` on its controller. Since Chrome 153, removing a tool does not cancel calls already in progress. ### Which browsers support WebMCP? It is experimental. Chrome has had a DevTrial since Chrome 146 and an origin trial that started in Chrome 149. As of 20 November 2026, Chrome's origin-trial registry lists the trial as active, extended from Chrome 156 to Chrome 162, with an end time of 30 March 2027. No shipping version is set. Edge has an origin trial. Mozilla's position is neutral and WebKit's is oppose. ### How do I enable WebMCP in Chrome? For local testing, turn on the flag at chrome://flags/#enable-webmcp-testing and relaunch Chrome. To use it on a live site, join the WebMCP origin trial, which runs from Chrome 149. No shipping version is set. ### How do I implement WebMCP? Check that `document.modelContext?.registerTool` exists. Then call `document.modelContext.registerTool()` with a unique name, a non-empty description, an optional inputSchema and an execute function. Add annotations where they apply, and pass an AbortSignal so you can remove the tool later. ### What is WebMCP vs MCP? WebMCP tools run in a browser tab and use the page's session and DOM. MCP tools usually run on a server. WebMCP is meant to complement MCP, not replace it. ## Sources - [WebMCP, Draft Community Group Report (19 November 2026)](https://webmachinelearning.github.io/webmcp/) (read 2026-11-20) - [webmachinelearning/webmcp repository and README](https://github.com/webmachinelearning/webmcp) (read 2026-10-28) - [WebMCP implementation status](https://github.com/webmachinelearning/webmcp/blob/main/implementation-status.md) (read 2026-10-28) - [WebMCP declarative API explainer](https://github.com/webmachinelearning/webmcp/blob/main/declarative-api-explainer.md) (read 2026-10-28) - [WebMCP commit history](https://github.com/webmachinelearning/webmcp/commits/main) (read 2026-10-28) - [PR #132: Remove provideContext() and clearContext()](https://github.com/webmachinelearning/webmcp/pull/132) (read 2026-10-28) - [Issue #101: provideContext allows overwriting of previously registered tools](https://github.com/webmachinelearning/webmcp/issues/101) (read 2026-10-28) - [PR #156: Remove unregisterTool from proposal](https://github.com/webmachinelearning/webmcp/pull/156) (read 2026-10-28) - [PR #177: Scope ModelContext to Document](https://github.com/webmachinelearning/webmcp/pull/177) (read 2026-10-28) - [Issue #173: Make tools Document-scoped instead of Window-scoped](https://github.com/webmachinelearning/webmcp/issues/173) (read 2026-10-28) - [PR #184: Move the modelContext getter to Document](https://github.com/webmachinelearning/webmcp/pull/184) (read 2026-10-28) - [PR #338: Remove declarative API from spec](https://github.com/webmachinelearning/webmcp/pull/338) (read 2026-10-28) - [Chrome for Developers: WebMCP](https://developer.chrome.com/docs/ai/webmcp) (read 2026-10-28) - [Chrome for Developers: WebMCP imperative API](https://developer.chrome.com/docs/ai/webmcp/imperative-api) (read 2026-10-28) - [Chrome for Developers: WebMCP declarative API](https://developer.chrome.com/docs/ai/webmcp/declarative-api) (read 2026-10-28) - [Chrome Platform Status: WebMCP](https://chromestatus.com/feature/5117755740913664) (read 2026-10-28) - [blink-dev: Intent to Extend Experiment: WebMCP (28 September 2026)](https://groups.google.com/a/chromium.org/g/blink-dev/c/lkdLdy5VPoA/m/w-_Sgf06CQAJ) (read 2026-10-28) - [Chrome Platform Status: origin trials API (WebMCP, trial 4163014905550602241)](https://chromestatus.com/api/v0/origintrials) (read 2026-11-20) - [W3C TAG design review #1238](https://github.com/w3ctag/design-reviews/issues/1238) (read 2026-10-28) - [Mozilla standards position on WebMCP (#1412)](https://github.com/mozilla/standards-positions/issues/1412) (read 2026-10-28) - [WebKit standards position on WebMCP (#670)](https://github.com/WebKit/standards-positions/issues/670) (read 2026-10-28) --- # WebMCP in Chrome: status, flag and tools URL: https://webmcpagency.com/webmcp-chrome Updated: 2026-11-20 · Checked against the WebMCP draft of 19 November 2026 > WebMCP in Chrome: DevTrial from Chrome 146, origin trial from 149, extended to 162. How to turn it on, test it and audit it. As of 20 November 2026, WebMCP in Chrome has been a DevTrial since Chrome 146. An origin trial started in Chrome 149 and was planned to end with Chrome 156. On 28 September 2026 Google asked to extend it to Chrome 162; the extension is now in effect, with an end date of 30 March 2027. No shipping version is set. Developers can turn it on locally with the flag `chrome://flags/#enable-webmcp-testing`. This page covers browser support, how to switch WebMCP on, and the Chrome tools for testing it. If you are new to WebMCP, start with [what is WebMCP](https://webmcpagency.com/what-is-webmcp). ## Which browsers support WebMCP? Chrome and Microsoft Edge run WebMCP origin trials; Mozilla's position on WebMCP is "neutral" and WebKit's is "oppose". *Browser support as of 24 October 2026.* | Browser or agent | Status | |---|---| | Chrome | DevTrial from Chrome 146 (desktop and Android). Origin trial from Chrome 149 (desktop, Android, WebView), first planned to Chrome 156. Extended to Chrome 162, ending 30 March 2027. No shipping version set. | | Microsoft Edge | Origin trial live in Edge 150, per the WebMCP repository's status page. Microsoft's trial page lists expiry on 30 March 2027. | | Firefox | Mozilla's standards position is "neutral". A refreshed position was pending as of 9 October 2026 (per W3C TAG review #1238). | | Safari | WebKit's standards position is "oppose". | | Brave | Brave merged "[AI Chat]: Enable WebMCP by default" for its Leo AI chat on 12 November 2026; its Nightly builds published since then are version 1.102. Brave's release schedule gives 5 January 2027 for the 1.102.x release and says its dates are approximate. | | ChatGPT Desktop | Listed as supported. | | Meta Ray-Ban Display | "Coming soon" for Web Apps; off by default and enabled per device. | The Chrome plan comes from Google's "Intent to Experiment" post on the blink-dev mailing list, posted on 15 May 2026 and approved on 18 May 2026. Calendar dates for these releases are not stated there. On 28 September 2026 Google posted an "Intent to Extend Experiment: WebMCP" on blink-dev. It asks to run the origin trial on desktop through Chrome 162. Chrome's origin-trial registry now shows the extension in effect, ending 30 March 2027; tokens issued for the first period must be renewed (see [the WebMCP origin trial](https://webmcpagency.com/webmcp-origin-trial)). Chrome Platform Status lists no shipping milestone. ### Google, Gemini and WebMCP At Google I/O on 19 May 2026, Google announced the origin trial in Chrome 149. It also said Gemini in Chrome "will soon support WebMCP APIs". We have found no confirmation from Google that this has shipped. ### Microsoft Edge Microsoft co-edits the spec. Two of the four spec editors work at Microsoft, alongside two at Google. Edge runs its own WebMCP origin trial, which Microsoft lists as expiring on 30 March 2027. ## How do I turn on WebMCP in Chrome? To turn on WebMCP in Chrome for local testing, open `chrome://flags/#enable-webmcp-testing`, set it to Enabled and restart Chrome. For real visitors, register your origin for the "WebMCP" origin trial, which now runs from Chrome 149 to 162, ending 30 March 2027. ### For local testing: the flag 1. Open `chrome://flags/#enable-webmcp-testing` in Chrome. 2. Set it to Enabled. 3. Restart Chrome. This only changes your own browser. Visitors to your site are not affected. ### For real visitors: the origin trial An origin trial lets a site turn on an experimental feature for its visitors for a limited time, without them changing any settings. 1. Register your origin for the trial named "WebMCP" on the [Chrome origin trial signup page](https://developer.chrome.com/origintrials/#/register_trial/4163014905550602241). 2. Add the trial token you receive to your pages, as a meta tag or an `Origin-Trial` HTTP header. Chrome's [origin trials guide](https://developer.chrome.com/docs/web-platform/origin-trials) shows both. 3. Keep your feature check in place, because the trial will end and no shipping version is set. ```js if (document.modelContext?.registerTool) { // WebMCP is available: register your tools here. } ``` Always use `document.modelContext`. Older posts use `navigator.modelContext`, which the spec replaced in May 2026 (#177 on 19 May, #184 on 27 May). ### The early preview Before the origin trial, Chrome ran an early preview. Its blog post "WebMCP is available for early preview" was published on 10 February 2026. Chrome's WebMCP docs hub followed on 18 May 2026. ### Turning WebMCP off for a page WebMCP is controlled by a Permissions Policy feature called `"tools"`. By default it is allowed for the page's own origin (`'self'`). To switch it off, send this response header: ```http Permissions-Policy: tools=() ``` A cross-origin iframe (a frame from another site embedded in your page) gets WebMCP only if you allow it: ```html ``` If the policy blocks WebMCP, `registerTool()` rejects with `NotAllowedError`. ## How Chrome behaves in practice Chrome's docs add a few practical details: - `getTools()` returns tools in alphabetical order. - `executeTool()` returns `null` when the call triggers a navigation. - Tools are hidden from other origins unless the page lists the caller's origin in `exposedTo` and the caller names this origin in `fromOrigins`. Chrome's security guidance says: "Only expose your tools to origins that you trust". ## Chrome version notes Some behaviour depends on the Chrome version: | Chrome version | Change | |---|---| | 146 | DevTrial starts | | 149 | Origin trial starts | | 150 | Needed for the Lighthouse "Agentic browsing" category | | 153 | Removing a tool no longer cancels calls to it that are already running | | 155 | Passing JSON-stringified input to `executeTool()` is deprecated; pass an object | | 156 | `window.ontoolactivated` and `window.ontoolcancel` no longer work; listen on `document.modelContext`. The `debugging` annotation is available. Last origin trial version in the original plan. | | 162 | Last origin trial version after the extension (end time 30 March 2027, per Chrome's origin-trial registry). No shipping version is set. | ## The WebMCP inspector in DevTools Chrome DevTools has a WebMCP pane in the **Application** panel. It does three things: - Lists the tools the page has registered, with how many times each was called. - Logs each call with its input and output. - Lets you run a tool by hand. This is the quickest way to see whether your tools registered and whether an agent would see the names and descriptions you expect. ### For coding agents: Chrome DevTools MCP Chrome DevTools for agents (`chrome-devtools-mcp`) has two WebMCP tools, `list_webmcp_tools` and `execute_webmcp_tool`. They sit behind the `--categoryExperimentalWebmcp` flag. Chrome's "Modern Web Guidance" also includes a `webmcp` skill for coding agents. ### The DevTools Protocol The Chrome DevTools Protocol (CDP) has an experimental `WebMCP` domain. It includes the commands `enable`, `disable`, `invokeTool` and `cancelInvocation`, and the events `toolsAdded`, `toolsRemoved`, `toolInvoked` and `toolResponded`. ## Lighthouse WebMCP audits Lighthouse added an "Agentic browsing" category in version 13.2.0 (1 May; the release page gives no year) and turned it on by default in 13.3.0 (7 May). The category is informational and has no benchmark score. It needs Chrome 150 or later, and the WebMCP audits need the origin trial. | Audit | What it checks | |---|---| | `webmcp-registered-tools` | Lists the page's tools and warns when more than 40 are registered. | | `webmcp-schema-validity` | Flags form tools with `tooldescription` but no `toolname`, or the reverse. Also flags required fields without a `name`. | | `webmcp-form-coverage` | "Forms missing declarative WebMCP": lists forms without both attributes. Informational only. | The 40-tool figure is a Lighthouse warning, not a browser limit. Chrome's best-practices page says "there isn't a maximum number of tools allowed". ## Is there a WebMCP extension? You do not need an extension to use WebMCP in Chrome. The flag or the origin trial is enough. That registers your tools; to call them by hand, use the DevTools WebMCP pane. Searches for a "WebMCP extension" often lead to community projects. The WebMCP-org project (also known as MCP-B) publishes npm packages, including `@mcp-b/webmcp-polyfill`. Its `installWebMCP()` "keeps native support when present". These are community packages, not Chrome features. ## Checking your own site The DevTools pane shows you one page at a time. To see which pages across your site declare form tools, [run the free check](https://webmcpagency.com/#check). For a fuller look at agent readiness, see [Convertlyft's full WebMCP report](https://convertlyft.com/agent-readiness?utm_source=webmcpagency&utm_medium=referral&utm_campaign=guide-webmcp-chrome&utm_content=webmcp-report). Ready to build? Read [how to add WebMCP](https://webmcpagency.com/how-to-add-webmcp). The [spec tracker](https://webmcpagency.com/spec-tracker) follows changes that affect Chrome's behaviour. ## Page history - 20 November 2026: checked against the WebMCP draft of 19 November 2026; Brave's status re-read from Brave's own GitHub pages. - 20 November 2026: the origin trial extension to Chrome 162 is in effect (end date 30 March 2027, per Chrome's origin-trial registry); tokens issued for the first period must be renewed. - 28 October 2026: checked against the WebMCP draft of 27 October 2026; the request to extend the trial is dated 28 September 2026 (UTC). - 26 October 2026: added the request to extend the origin trial to Chrome 162; fixed the origin trial token link. - 24 October 2026: first published; checked against the WebMCP draft of 20 October 2026. ## FAQ ### Which Chrome version supports WebMCP? As of 20 November 2026, WebMCP has been a DevTrial since Chrome 146. Chrome's origin trial started in Chrome 149 and was planned to end with Chrome 156. On 28 September 2026 Google asked to extend it to Chrome 162; the extension is now in effect, ending 30 March 2027. No shipping version is set. ### How do I turn on WebMCP in Chrome? For local development, enable chrome://flags/#enable-webmcp-testing. To turn it on for real visitors, register your origin for the WebMCP origin trial. ### Does Microsoft Edge support WebMCP? As of 24 October 2026, the WebMCP repository's status page lists an origin trial live in Edge 150. Microsoft's origin trial page lists the WebMCP trial as expiring on 30 March 2027. ### Is there a WebMCP inspector in Chrome DevTools? Yes. The Application panel has a WebMCP pane that lists registered tools, logs each call with its input and output, and lets you run a tool by hand. ## Sources - [Intent to Experiment: WebMCP (blink-dev)](https://groups.google.com/a/chromium.org/g/blink-dev/c/gmYffo5WOE8/m/OJxuQRP3AAAJ) (read 2026-10-23) - [Chrome for Developers: WebMCP](https://developer.chrome.com/docs/ai/webmcp) (read 2026-10-23) - [Chrome blog: Join the WebMCP origin trial](https://developer.chrome.com/blog/ai-webmcp-origin-trial) (read 2026-10-23) - [Chrome blog: WebMCP is available for early preview](https://developer.chrome.com/blog/webmcp-epp) (read 2026-10-24) - [Chrome at I/O 2026](https://developer.chrome.com/blog/chrome-at-io26) (read 2026-10-24) - [WebMCP implementation status](https://github.com/webmachinelearning/webmcp/blob/main/implementation-status.md) (read 2026-10-23) - [Microsoft Edge origin trial: WebMCP](https://developer.microsoft.com/microsoft-edge/origin-trials/trials/0b76fe60-b266-458e-a285-04e375c0c31a) (read 2026-10-24) - [Mozilla standards position on WebMCP (#1412)](https://github.com/mozilla/standards-positions/issues/1412) (read 2026-10-24) - [WebKit standards position on WebMCP (#670)](https://github.com/WebKit/standards-positions/issues/670) (read 2026-10-24) - [Chrome DevTools: WebMCP pane](https://developer.chrome.com/docs/devtools/application/webmcp) (read 2026-10-23) - [Chrome blog: agent-ready toolkit](https://developer.chrome.com/blog/agent-ready-toolkit) (read 2026-10-23) - [Chrome DevTools Protocol: WebMCP domain](https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/master/pdl/domains/WebMCP.pdl) (read 2026-10-23) - [Lighthouse releases](https://github.com/googlechrome/lighthouse/releases) (read 2026-10-23) - [Lighthouse: Agentic browsing](https://developer.chrome.com/docs/lighthouse/agentic-browsing) (read 2026-10-23) - [Lighthouse audit: registered WebMCP tools](https://developer.chrome.com/docs/lighthouse/agentic-browsing/registered-webmcp-tools) (read 2026-10-23) - [Lighthouse audit: forms missing declarative WebMCP](https://developer.chrome.com/docs/lighthouse/agentic-browsing/forms-missing-declarative-webmcp) (read 2026-10-23) - [Chrome for Developers: WebMCP best practices](https://developer.chrome.com/docs/ai/webmcp/best-practices) (read 2026-10-24) - [Chrome for Developers: WebMCP imperative API](https://developer.chrome.com/docs/ai/webmcp/imperative-api) (read 2026-10-23) - [WebMCP-org npm packages](https://github.com/WebMCP-org/npm-packages) (read 2026-10-24) - [WebMCP, Draft Community Group Report (19 November 2026)](https://webmachinelearning.github.io/webmcp/) (read 2026-11-20) - [Chrome for Developers: Build secure WebMCP tools](https://developer.chrome.com/docs/ai/webmcp/secure-tools) (read 2026-10-24) - [Intent to Extend Experiment: WebMCP (blink-dev, 28 September 2026)](https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6abaf48e.47c66538.78312.00c4.GAE%40google.com) (read 2026-10-26) - [Chrome Platform Status: WebMCP](https://chromestatus.com/feature/5117755740913664) (read 2026-10-26) - [W3C TAG design review #1238](https://github.com/w3ctag/design-reviews/issues/1238) (read 2026-10-26) - [Chrome origin trials: WebMCP (trial registry entry)](https://developer.chrome.com/origintrials/#/view_trial/4163014905550602241) (read 2026-11-20) - [Chrome for Developers: Get started with origin trials](https://developer.chrome.com/docs/web-platform/origin-trials) (read 2026-10-26) - [Brave: [AI Chat] Enable WebMCP by default (brave-core #40616)](https://github.com/brave/brave-core/pull/40616) (read 2026-11-20) - [Brave: Add support for the WebMCP protocol to Leo (brave-browser #55232)](https://github.com/brave/brave-browser/issues/55232) (read 2026-11-20) - [Brave Release Schedule (Brave's wiki)](https://github.com/brave/brave-browser/wiki/Brave-Release-Schedule) (read 2026-11-20) --- # The WebMCP origin trial: dates, extension and token renewal URL: https://webmcpagency.com/webmcp-origin-trial Updated: 2026-11-20 > Chrome's WebMCP origin trial is extended to Chrome 162, ending 30 March 2027. Why tokens issued for the first period stopped working, and how to renew. Chrome's WebMCP origin trial has not ended: as of 20 November 2026, Chrome's origin-trial registry lists it as active, extended from Chrome 156 to Chrome 162, with an end time of 30 March 2027. What did end are tokens issued for the trial's first period. On the sites we sampled, those tokens expired on 17 November 2026, and Chrome ignores expired tokens, so WebMCP switched off for visitors to those pages until the owner renews. WebMCP is still not on by default in Chrome, and Chrome has not announced when it will be. ## The WebMCP origin trial at a glance | | What Chrome's sources say (read 20 November 2026) | | --- | --- | | Trial name | WebMCP | | Status | Active | | First milestone | Chrome 149 | | Original last milestone | Chrome 156 | | Extended last milestone | Chrome 162 | | End time in the registry | 30 March 2027, 00:00 UTC | | On by default in stock Chrome | No. Chrome's feature entry lists no shipping milestone | | Local testing without a token | `chrome://flags/#enable-webmcp-testing` | The figures come from Chrome's origin-trial registry (the same data behind the public trial page) and the WebMCP feature entry on Chrome Platform Status. ## Why the trial was extended Google posted an "Intent to Extend Experiment: WebMCP" to the blink-dev list in late September 2026. Its stated reason: > OT feedback has suggested improvements to the API, which we are implementing. The OT extension would enable us to get data on those improvements as well as to continue getting data on the rest of the feature. The intent gives the original last milestone as 156 and the extension's end milestone as 162. The registry shows the extension in effect. The original Intent to Experiment, posted on 15 May 2026, planned the trial for Chrome 149 to 156. ## Why WebMCP stopped working on some sites An origin-trial token is a string a site puts on its pages. Chrome's docs give three ways: a `` tag in the ``, an `Origin-Trial` HTTP header, or a token added from script. Each token carries an expiry time, and Chrome's docs say "Chrome ignores invalid or expired tokens". For an extended trial, the docs say you receive an email asking you to renew your registration and put a new token on each enrolled origin. A token issued for the first period does not stretch on its own. On 20 November 2026 we decoded the origin-trial tokens on 60 sites from our [directory](https://webmcpagency.com/directory). 34 carried a WebMCP token. Of those, 22 had tokens that expired on 17 November 2026 and 12 had tokens that run to 30 March 2027. Until a site with an expired token puts a renewed one on its pages, visitors using normal Chrome do not get its WebMCP tools. That is a small sample, not a census, and the share will change as owners renew. ## How to renew your WebMCP token Chrome's origin-trial docs give these steps for an extended trial: 1. Go to **My Registrations** on the Chrome origin trials site. 2. For each origin registered for the extended trial, click **RENEW**. 3. Copy the new token. 4. Make it available on every page that should remain in the trial. You can provide more than one token, so you can add the new one before removing the old one. If you did not register before, register on the WebMCP trial page and add the token the same way. ## How to check your token's expiry Chrome's docs say you can see the origin trials available to a page in the **Application** panel of Chrome DevTools. If your token is in a meta tag, you can also read its expiry in the DevTools console. A token is base64; after the first 69 bytes (version, signature and length) comes a JSON payload with the origin, the feature and an expiry in seconds: ```js for (const m of document.querySelectorAll('meta[http-equiv="origin-trial"]')) { const bytes = Uint8Array.from(atob(m.content), (c) => c.charCodeAt(0)); const p = JSON.parse(new TextDecoder().decode(bytes.slice(69))); console.log(p.feature, p.origin, new Date(p.expiry * 1000).toISOString()); } ``` A WebMCP token whose date is in the past is being ignored. Tokens sent in an `Origin-Trial` header do not appear in the page, so look at the response headers in the Network panel instead. ## What it means for your site today - **Tokens issued for the first period have expired.** If WebMCP on your site depended on one, real visitors in normal Chrome stopped getting your tools when it expired. Renew it. - **Your tools still work on your own machine with the flag.** `chrome://flags/#enable-webmcp-testing` turns WebMCP on locally without a token, so local testing can hide an expired token. - **Nothing is on by default yet.** Even with a valid token, WebMCP is an experiment in Chrome. Chrome has not set a shipping milestone. - **The API is still changing.** The extension exists because Chrome is changing the API. Check [what changed in the draft](https://webmcpagency.com/spec-tracker) before you build on it. - **Edge runs its own trial.** Microsoft's origin-trial page lists a separate WebMCP trial for Edge, expiring 30 March 2027. For other reasons tools fail to register, see [WebMCP not working](https://webmcpagency.com/webmcp-not-working). Our [free check](https://webmcpagency.com/#check) reads the tool forms declared in your HTML. ## FAQ ### Has the WebMCP origin trial ended? No. As of 20 November 2026, Chrome's origin-trial registry lists the WebMCP trial as active, extended to Chrome 162 with an end time of 30 March 2027. Its original end milestone was Chrome 156. ### Why did my WebMCP tools stop working in Chrome? If you registered for the trial during its first period, your token may have expired. Chrome ignores expired tokens, so the page stops getting WebMCP. Chrome's origin-trial docs say to renew the registration and put the new token on every page that should stay in the trial. ### How do I renew a WebMCP origin trial token? Chrome's docs say: go to My Registrations on the origin trials site, click RENEW for each origin registered for the extended trial, copy the new token, and make it available on every page that should remain enrolled. You can provide more than one token if needed. ### Is WebMCP on by default in Chrome? No. A page gets WebMCP in Chrome through a valid origin-trial token, or on a developer's own machine through the chrome://flags/#enable-webmcp-testing flag. As of 20 November 2026, Chrome's feature entry lists no milestone for shipping it on by default. ### When does WebMCP ship in Chrome? Chrome has not announced a shipping milestone. Google's Intent to Extend Experiment, posted in late September 2026, says origin-trial feedback suggested improvements to the API, which Chrome is implementing, and that the extension is to gather data on them. ## Sources - [Chrome origin trials: WebMCP (trial registry entry)](https://developer.chrome.com/origintrials/#/view_trial/4163014905550602241) (read 2026-11-20) - [Chrome Platform Status: origin trials API (WebMCP, trial 4163014905550602241)](https://chromestatus.com/api/v0/origintrials) (read 2026-11-20) - [Intent to Extend Experiment: WebMCP (blink-dev, September 2026)](https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6abaf48e.47c66538.78312.00c4.GAE%40google.com) (read 2026-11-20) - [Intent to Experiment: WebMCP (blink-dev, 15 May 2026)](https://groups.google.com/a/chromium.org/g/blink-dev/c/gmYffo5WOE8/m/OJxuQRP3AAAJ) (read 2026-10-23) - [Get started with origin trials (Chrome for Developers)](https://developer.chrome.com/docs/web-platform/origin-trials) (read 2026-11-20) - [WebMCP (Chrome for Developers)](https://developer.chrome.com/docs/ai/webmcp) (read 2026-11-20) - [Chrome Platform Status: WebMCP feature entry](https://chromestatus.com/feature/5117755740913664) (read 2026-11-20) - [Chromium Dash: Chrome release schedule](https://chromiumdash.appspot.com/schedule) (read 2026-11-20) - [Microsoft Edge origin trials: WebMCP](https://developer.microsoft.com/microsoft-edge/origin-trials/trials/0b76fe60-b266-458e-a285-04e375c0c31a) (read 2026-10-24) --- # WebMCP token expired: what happened and how to renew URL: https://webmcpagency.com/webmcp-token-expired Updated: 2026-11-20 > WebMCP origin-trial tokens from the first trial period expired on 17 November 2026. How to see if yours did, and how to renew it, from Chrome's own docs. If your WebMCP tools stopped working in Chrome around 17 November 2026, your origin-trial token has most likely expired. The trial itself is still running: Chrome's registry lists it as active, extended to Chrome 162 with an end time of 30 March 2027. But tokens issued for the first period did not extend on their own, and Chrome's docs say "Chrome ignores invalid or expired tokens". So if your page carries only an expired token, visitors in ordinary Chrome do not get your tools. To fix it, renew the token under **My Registrations** on the Chrome origin trials site and put the new token on every page. Our [free check](https://webmcpagency.com/#check) shows whether Chrome finds your tools. ## What happened on 17 November 2026 An origin-trial token is a signed string that turns an experimental Chrome feature on for one origin until a set time. WebMCP is not on by default in Chrome, so for real visitors a page gets it only through a valid token. The WebMCP trial was planned for Chrome 149 to 156. Google then posted an Intent to Extend Experiment, and Chrome's registry now shows the extension in effect: | | Chrome's trial registry, read 20 November 2026 | | --- | --- | | Status | Active | | Original last milestone | Chrome 156 | | Extended last milestone | Chrome 162 | | End time | 30 March 2027, 00:00 UTC | Extending a trial does not change tokens that were already issued. Chrome's docs say that when a trial is extended, "you'll receive an email warning that you need to renew registration and provide a new token for each origin enrolled in the trial", and that "When your token expires, you will get an email with a renewal link." On the morning of 20 November 2026 we fetched the home page of every site that our [directory](https://webmcpagency.com/directory) then listed as having built its own tools that worked in Chrome. That was 484 sites, and 457 home pages were fetched. 365 of the 457 carried a WebMCP token in a meta tag or a response header. Of those 365: - **208 carried only expired WebMCP tokens.** 207 expired on 17 November 2026 and 1 on 19 November 2026. - **157 carried at least one token that was still valid.** Most of those ran to 30 March 2027. These counts come from one GET of each home page and are judged by the token's expiry date only; tokens added by script are not counted. 27 of the 484 home pages were not fetched: 26 answered with an error status such as 403, and 1 site's robots.txt request failed. The counts, method and limits are in [the sweep's data file](https://webmcpagency.com/data/token-sweep-2026-11-20.json), which names no sites. This count did not load the pages in Chrome. Each listing in [our directory](https://webmcpagency.com/directory) says whether that site's tools worked in stock Chrome when we last verified it, and gives the date. ## How to tell if your token has expired **In Chrome DevTools.** Chrome's troubleshooting guide says "DevTools provides origin trial information in the Application panel, for the selected frame". Open DevTools, go to **Application** and select the top frame. Each token is listed with its status. Chrome's docs define the status this way: "Expired: Token has passed its expiration date. To re-enable the origin trial, the token must be renewed." **From the console.** If your token is in a meta tag, this prints each token's feature, origin and expiry: ```js for (const m of document.querySelectorAll('meta[http-equiv="origin-trial"]')) { const bytes = Uint8Array.from(atob(m.content), (c) => c.charCodeAt(0)); const p = JSON.parse(new TextDecoder().decode(bytes.slice(69))); console.log(p.feature, p.origin, new Date(p.expiry * 1000).toISOString()); } ``` A `WebMCP` line with a date in the past is a token Chrome ignores. **In the response headers.** If you send the token in an `Origin-Trial` HTTP header, it is not in the page. Open the **Network** panel, select the page request and look for `Origin-Trial` under the response headers. Your CDN or framework config may be where it is set. **Check that the flag is off.** `chrome://flags/#enable-webmcp-testing` turns WebMCP on in your own browser without a token. If the flag is on, your tools keep working for you even with an expired token. Turn it off before you test. ## How to renew your WebMCP token Chrome's origin-trial docs give these steps for an extended trial: 1. Go to **My Registrations** on the Chrome origin trials site. 2. For each origin registered for the extended trial, click **RENEW**. 3. Copy the new token. 4. Make it available on every page that should remain enrolled in the trial. Chrome's docs add: "You can provide multiple tokens if necessary." So you can ship the new token next to the old one and remove the expired one later. Put the new token where the old one was: - **A meta tag** in the ``: ``. - **An `Origin-Trial` response header.** Then reload with the flag off and check the Application panel again. ## Three mistakes to check while you are there - **The token's origin must match the page.** A token is issued for one origin. The console snippet above prints the origin inside each token. If you serve the site on more than one hostname, each needs a token that covers it. - **Third-party tokens go in an external script.** Chrome's docs say a third-party token "must be provided in an external JavaScript file included with a ` ``` Replace `/api/search` with your own endpoint. Chrome also adds two CSS pseudo-classes, `:tool-form-active` and `:tool-submit-active`. Chrome's default style for them is a dashed outline. You can restyle them so people see when an agent is using a form. **One caution.** On 8 October 2026 the editors removed the declarative API from the spec "for now" (#338). It still lives in the declarative explainer and in Chrome's implementation. Use only the four attributes above. Attributes such as `tooltitle` and `toolparamtitle` appear in some tutorials, but we found no primary source for them. ## How do I register a script tool with JavaScript? (Step 2, option B) A script tool is a JavaScript function you register with `document.modelContext.registerTool()`. Use it when the action needs logic, returns data, or has no form. The method takes two arguments: 1. **The tool.** Fields: `name`, `title` (optional), `description`, `inputSchema` (optional), `execute`, and `annotations` (optional). 2. **Options.** `signal` (an `AbortSignal`) and `exposedTo` (a list of origins). Here is a complete, minimal script tool: ```js const tools = new AbortController(); async function registerSearchTool() { if (!document.modelContext?.registerTool) return; // No WebMCP in this browser. try { await document.modelContext.registerTool( { name: 'search_articles', title: 'Search articles', description: 'Search the articles on this site by keyword. Returns up to 10 matches, each with a title and URL.', inputSchema: { type: 'object', properties: { query: { type: 'string', description: 'Words to search for, for example "return policy".' }, }, required: ['query'], }, annotations: { readOnlyHint: true }, async execute({ query }, { signal }) { const res = await fetch(`/api/search?q=${encodeURIComponent(query)}`, { signal }); if (!res.ok) throw new Error(`Search failed with status ${res.status}`); const results = await res.json(); return results.slice(0, 10).map((r) => ({ title: r.title, url: r.url })); }, }, { signal: tools.signal }, ); } catch (err) { // Rejects on an invalid or duplicate name, an empty description, // or when the page is not allowed to use the "tools" feature. console.warn('WebMCP tool not registered:', err.name, err.message); } } registerSearchTool(); // Later, to remove every tool registered with this signal: // tools.abort(); ``` What each part does: - **Feature detection.** `document.modelContext?.registerTool` is only there in browsers that support WebMCP. The entry point is `document`, not `navigator`. The spec moved it on 27 May 2026 (#184). - **`title`** is a top-level field on the tool. It does not go inside `annotations`. - **`inputSchema`** is a JSON Schema object. Describe every property. - **`annotations`** has four booleans, all `false` by default: `readOnlyHint`, `untrustedContentHint`, `consequentialHint` and `debugging`. Chrome documents `debugging` from Chrome 156. - **`execute`** receives the input object and an options object with a `signal`. Pass that signal on to `fetch` so a cancelled call stops its work. - **`await` and `catch`.** `registerTool()` returns a Promise. It rejects with `InvalidStateError` for an invalid name, an empty description or a duplicate name in the same document. It rejects with `NotAllowedError` when the page lacks the `tools` permission. It also rejects if the signal is already aborted. Always catch it, or you get unhandled rejections. - **Teardown.** There is no `unregisterTool()` in the current spec. To remove a tool, call `abort()` on the controller whose signal you passed. One controller can remove a whole group of tools at once. Older code may call `navigator.modelContext`, `provideContext()`, `clearContext()` or `unregisterTool()`. They were removed or replaced between March and May 2026. Update that code. ### Sharing a tool with another origin By default, other origins cannot see your tools. To share one, list the trusted origin in `exposedTo`. It goes in the options argument, next to `signal`, not inside the tool: ```js await document.modelContext.registerTool(tool, { signal: tools.signal, exposedTo: ['https://partner.example'], }); ``` The caller must also name your origin in `fromOrigins` when it calls `getTools()`. Both lists accept only secure origins. An origin that cannot be parsed, or is not trustworthy, makes the call return a promise rejected with a `SecurityError`. ## Step 3: Test it You can test locally without an origin trial token: 1. **Turn on the flag.** Open `chrome://flags/#enable-webmcp-testing`, enable it and restart Chrome. 2. **Open the WebMCP pane.** In DevTools, go to the Application panel and open the WebMCP pane. It lists registered tools with call counts. It logs each call with its input and output. You can also run a tool by hand from there. 3. **Check from code.** `document.modelContext.getTools()` returns the registered tools. Chrome's docs say it returns them in alphabetical order. 4. **Run Lighthouse.** The "Agentic browsing" category arrived in Lighthouse 13.2.0 and is on by default from 13.3.0. It is informational and has no score benchmark. It needs Chrome 150 or later, and the WebMCP audits need the origin trial. The audits list your tools (with a warning above 40), check form tools for schema problems, and flag forms that have no declarative attributes. If you use a coding agent, Chrome's DevTools MCP server (chrome-devtools-mcp) offers `list_webmcp_tools` and `execute_webmcp_tool` behind the `--categoryExperimentalWebmcp` flag. To reach real visitors, [register for the WebMCP origin trial](https://developer.chrome.com/origintrials/#/register_trial/4163014905550602241). It is now extended to Chrome 162, ending 30 March 2027. Add the token it gives you to your pages. Tokens issued before the extension must be renewed: see [the WebMCP origin trial](https://webmcpagency.com/webmcp-origin-trial). To see how your site looks to agents overall, you can run our [free checker](https://webmcpagency.com/#check). The publisher of this site also offers [Convertlyft's full agent-readiness report](https://convertlyft.com/agent-readiness?utm_source=webmcpagency&utm_medium=referral&utm_campaign=guide-how-to-add-webmcp&utm_content=webmcp-report). ## Step 4: Make it safe Chrome's security guide says it is "impossible to guarantee safety inside of a large language model". The spec lists prompt injection, misleading tools and privacy leaks as risks. These steps reduce them: - **Mark actions that matter.** Set `consequentialHint: true` on tools that buy, send, delete or change data. Chrome says this lets the agent or browser ask the user to confirm first. - **Mark untrusted output.** Set `untrustedContentHint: true` when a tool returns content you did not write, such as reviews, comments or other web content. - **Mark read-only tools.** Set `readOnlyHint: true` on tools that only read data. - **Never ask for passwords in tool inputs.** A tool runs in the user's live session, so it does not need credentials. The spec also warns that too many inputs can leak private data, a "personalization-to-fingerprinting pipeline". Ask only for what the action needs. - **Only expose tools to trusted origins.** Leave `exposedTo` out unless you need it. Chrome's advice is: "Only expose your tools to origins that you trust." - **Turn WebMCP off where you do not want it.** Send `Permissions-Policy: tools=()` on those pages. The feature is called `tools`, and its default allowlist is `'self'`. A cross-origin iframe needs `allow="tools"` to register tools. - **Write honest descriptions.** The spec notes that agents cannot check what a tool does before calling it. Say exactly what happens, especially for anything that costs money. Chrome also says WebMCP is "primarily designed for local browser workflows with a human in the loop". Design your tools so a person can follow what the agent does. ## By platform ### Shopify On 5 August 2026 Shopify announced WebMCP support for Liquid and Hydrogen storefronts, with nothing to install or configure. Shopify's WebMCP docs, read on 20 November 2026, say the tools are on every Liquid storefront, and on Hydrogen 2026-10 storefronts that render `ShopifyScripts` or call `initializeShopifyScripts`. On storefront pages the docs list 12 tools: `search_catalog`, `browse_store`, `get_product`, `show_variant`, `get_cart`, `create_cart`, `update_cart`, `cancel_cart`, `proceed_to_checkout`, `manage_orders`, `ask_business` and `get_ucp_profile`. Checkout pages register their own. So on a Liquid store, do not start by adding tools. First open your storefront in Chrome and look at the WebMCP pane to see what is already registered. Do not register a tool with the same name as an existing one: a duplicate name in the same document makes `registerTool()` reject. Add custom tools only for actions Shopify does not cover, and give them distinct names. On Hydrogen, Shopify's docs say to set `webMcp` to `false` to turn the tools off; for Liquid we found no documented off switch. [WebMCP on Shopify](https://webmcpagency.com/webmcp-shopify) goes through each tool and what we saw on 228 stores. ### WordPress WordPress has no official WebMCP support today. The WordPress AI plugin has an open issue, "Add WebMCP experiment" (#448, opened 20 April 2026). An open pull request, #1081, adds 14 block-editor tools, but it is not merged. For now, add tools yourself. Put the script tool code from Step 2 in your theme's script or in a custom block, and load it on the pages where the tools make sense. For forms, add the declarative attributes in the form's HTML if your form plugin lets you edit it. ### Webflow We found no official Webflow documentation for WebMCP. Webflow's own "MCP server" is a separate server-side product, not WebMCP. The likely route is to add the script tool code through Webflow's custom code embed. This is not officially documented, and we only found it in a third-party tutorial. Test carefully with the DevTools pane before you rely on it. ### Next.js and React Neither Next.js nor React has official WebMCP support. The API is browser-only, so register tools in a client component, inside `useEffect`, and abort in the cleanup function: ```jsx 'use client'; import { useEffect } from 'react'; export function SiteTools() { useEffect(() => { if (!document.modelContext?.registerTool) return; const controller = new AbortController(); document.modelContext .registerTool( { name: 'search_articles', description: 'Search the articles on this site by keyword. Returns up to 10 matches.', inputSchema: { type: 'object', properties: { query: { type: 'string', description: 'Words to search for.' } }, required: ['query'], }, annotations: { readOnlyHint: true }, async execute({ query }, { signal }) { const res = await fetch(`/api/search?q=${encodeURIComponent(query)}`, { signal }); return res.json(); }, }, { signal: controller.signal }, ) .catch((err) => { if (err.name !== 'AbortError') console.warn('WebMCP tool not registered:', err); }); return () => controller.abort(); // Removes the tool when the component unmounts. }, []); return null; } ``` Render `` on the pages that should offer the tool. The cleanup matters: without it, a remount tries to register the same name again and the Promise rejects. For TypeScript, the README mentions the `webmcp-types` npm package for typings. There are also community packages from the WebMCP-org (MCP-B) project. They are community work, not official: - `@mcp-b/webmcp-polyfill`: its `installWebMCP()` keeps native support when present. - `@mcp-b/react-webmcp`: React hooks. - `usewebmcp`: core-only hooks. - `@mcp-b/global`: a polyfill plus an MCP bridge. The older `@mcp-b/mcp-react-hooks` package is deprecated. For ready-made tool definitions to adapt, see our [WebMCP examples](https://webmcpagency.com/examples). ## FAQ ### Do I need the Chrome origin trial to use WebMCP? Not for local testing. Turn on chrome://flags/#enable-webmcp-testing in your own browser. To reach real visitors, register for the WebMCP origin trial, now extended to Chrome 162 and ending 30 March 2027. No shipping version is set. ### Should I build a form tool or a script tool? Use a form tool when you already have a working HTML form. Use a script tool when the action needs logic, returns data, or has no form. Note that the form (declarative) API was removed from the spec on 8 October 2026 and now lives in the explainer and in Chrome. ### Is there a limit on how many tools I can register? Chrome's best-practices page says there is no maximum number of tools. Lighthouse shows a warning when a page registers more than 40 tools. That is a Lighthouse threshold, not a browser limit. ### Does WebMCP replace my MCP server? No. Chrome describes MCP as the backend option and WebMCP as the frontend option, with tools tied to an open tab. Chrome's comparison page recommends using both. ## Sources - [WebMCP, Draft Community Group Report, 19 November 2026](https://webmachinelearning.github.io/webmcp/) (read 2026-11-20) - [WebMCP repository (README)](https://github.com/webmachinelearning/webmcp) (read 2026-10-23) - [WebMCP implementation status](https://github.com/webmachinelearning/webmcp/blob/main/implementation-status.md) (read 2026-10-23) - [WebMCP declarative API explainer](https://github.com/webmachinelearning/webmcp/blob/main/declarative-api-explainer.md) (read 2026-10-23) - [WebMCP commit history](https://github.com/webmachinelearning/webmcp/commits/main) (read 2026-10-23) - [WebMCP-org community npm packages](https://github.com/WebMCP-org/npm-packages) (read 2026-10-23) - [Chrome for Developers: WebMCP overview](https://developer.chrome.com/docs/ai/webmcp) (read 2026-10-23) - [Chrome for Developers: WebMCP imperative API](https://developer.chrome.com/docs/ai/webmcp/imperative-api) (read 2026-10-23) - [Chrome for Developers: WebMCP declarative API](https://developer.chrome.com/docs/ai/webmcp/declarative-api) (read 2026-10-23) - [Chrome for Developers: Secure your WebMCP tools](https://developer.chrome.com/docs/ai/webmcp/secure-tools) (read 2026-10-23) - [Chrome for Developers: WebMCP best practices](https://developer.chrome.com/docs/ai/webmcp/best-practices) (read 2026-10-23) - [Chrome for Developers: WebMCP vs MCP](https://developer.chrome.com/docs/ai/webmcp/compare-mcp) (read 2026-10-23) - [Blink-dev: Intent to Experiment, WebMCP](https://groups.google.com/a/chromium.org/g/blink-dev/c/gmYffo5WOE8/m/OJxuQRP3AAAJ) (read 2026-10-23) - [Chrome blog: Join the WebMCP origin trial](https://developer.chrome.com/blog/ai-webmcp-origin-trial) (read 2026-10-23) - [Microsoft Edge origin trial: WebMCP](https://developer.microsoft.com/microsoft-edge/origin-trials/trials/0b76fe60-b266-458e-a285-04e375c0c31a) (read 2026-10-23) - [Chrome DevTools: WebMCP pane](https://developer.chrome.com/docs/devtools/application/webmcp) (read 2026-10-23) - [Chrome blog: agent-ready toolkit](https://developer.chrome.com/blog/agent-ready-toolkit) (read 2026-10-23) - [Lighthouse: Agentic browsing audits](https://developer.chrome.com/docs/lighthouse/agentic-browsing) (read 2026-10-23) - [Lighthouse: Registered WebMCP tools audit](https://developer.chrome.com/docs/lighthouse/agentic-browsing/registered-webmcp-tools) (read 2026-10-23) - [Lighthouse: Forms missing declarative WebMCP](https://developer.chrome.com/docs/lighthouse/agentic-browsing/forms-missing-declarative-webmcp) (read 2026-10-23) - [Shopify changelog: WebMCP support for Liquid and Hydrogen storefronts](https://shopify.dev/changelog/webmcp-liquid-hydrogen) (read 2026-11-20) - [WebMCP tools (Shopify developer docs)](https://shopify.dev/docs/api/web-mcp) (read 2026-11-20) - [WordPress AI plugin: Add WebMCP experiment (issue #448)](https://github.com/WordPress/ai/issues/448) (read 2026-10-23) - [Webflow developer changelog (MCP filter)](https://developers.webflow.com/home/changelog?filter=MCP) (read 2026-10-23) - [Intent to Extend Experiment: WebMCP (blink-dev, 28 September 2026)](https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6abaf48e.47c66538.78312.00c4.GAE%40google.com) (read 2026-10-26) - [Chrome Platform Status: WebMCP](https://chromestatus.com/feature/5117755740913664) (read 2026-10-26) - [WordPress AI plugin: Add WebMCP experiment (PR #1081)](https://github.com/WordPress/ai/pull/1081) (read 2026-10-26) --- # WebMCP not working: a troubleshooting checklist URL: https://webmcpagency.com/webmcp-not-working Updated: 2026-11-20 · Checked against the WebMCP draft of 19 November 2026 > Why WebMCP tools fail to register or vanish in Chrome: expired trial tokens, missing flag, insecure pages, name and description errors, permissions policy. If WebMCP is not working, check the token first: Chrome only gives a page WebMCP through a valid origin-trial token (or the testing flag on your own machine), and tokens issued for the trial's first period expired on 17 November 2026 on the sites we checked. Chrome ignores expired tokens, so tools that worked last month can silently disappear. If the token is valid, the usual causes are an insecure page, a tool name or description that breaks the WebMCP rules, a duplicate name, or a permissions policy that turns the feature off. Work down the checklist below in order. Our [free check](https://webmcpagency.com/#check) reads the WebMCP tool forms in your HTML and tells you what is wrong with them. ## 1. Is WebMCP switched on in this browser? WebMCP is not on by default in Chrome. A page gets it in one of two ways: - **A valid origin-trial token on the page**, for real visitors. - **`chrome://flags/#enable-webmcp-testing`**, for local development on your own machine. If tools work for you but not for anyone else, you probably have the flag on and no valid token. Turn the flag off and test again. ## 2. Has your origin-trial token expired? Chrome's origin-trial registry lists the WebMCP trial as active, extended to Chrome 162 with an end time of 30 March 2027. Tokens issued for the first period do not extend on their own. Chrome's docs say "Chrome ignores invalid or expired tokens" and that, for an extended trial, you renew under **My Registrations** and put the new token on every enrolled page. [The WebMCP origin trial guide](https://webmcpagency.com/webmcp-origin-trial) shows how to read your token's expiry date and renew it. Also check that the origin inside the token matches the page's origin. The same guide shows how to read it. ## 3. Is the page a secure context? `document.modelContext` exists only in a secure context, per the WebMCP draft's IDL. That means HTTPS, or `localhost` during development. On a plain `http://` page, `document.modelContext` is `undefined`. ## 4. Are you calling the right object? The current draft puts the API on the document: ```js if (document.modelContext?.registerTool) { // register tools here } ``` Older examples use `navigator.modelContext`, `provideContext`, `clearContext` or `unregisterTool`. None of those are in the current draft. To remove a tool now, pass an `AbortSignal` when you register it and abort it later. ## 5. Does registerTool reject? `registerTool()` returns a Promise. Await it and log the error. The draft defines these rejections: | Error | Cause | Fix | | --- | --- | --- | | `InvalidStateError` | Name is not 1 to 128 characters of ASCII letters, digits, `_`, `-` or `.` | Rename it, for example `search_products` | | `InvalidStateError` | Description is empty | Write a description that says what the tool does | | `InvalidStateError` | Another tool with the same name is already registered in this document | Use unique names, or abort the old registration first | | `NotAllowedError` | The document does not have the `tools` permission | See the next step | Spaces in names are a common cause: `search products` breaks the rule, `search_products` passes. If the signal you pass is already aborted, the Promise also rejects. ## 6. Is a permissions policy blocking it? The draft makes WebMCP a policy-controlled feature named `tools`, allowed for the page's own origin by default. - A response header `Permissions-Policy: tools=()` turns it off for the page. - A cross-origin iframe needs `allow="tools"` on the `