WebMCP Explained: Browser Tools for AI Agents and Where Edge Stands
By Mirko Peters · · Updated
What WebMCP is: a proposed browser API that lets web pages register tools for AI agents, how it relates to MCP, its documented API and limits, and Microsoft Edge's testing and origin trial status.
WebMCP lets a website tell an AI agent what it can do. Instead of the agent guessing from the page layout, the page registers named tools in JavaScript, and the browser controls how an agent can call them. This article explains the idea, the documented API, the limits and what Microsoft Edge has said, using only the pages I could read.
Key points
- WebMCP is a proposed browser API that lets a web page register tools that AI agents can call. The browser mediates access.
- The proposal lists authors with Microsoft and Google email addresses, says its site is open source, and is a proposal rather than a finished standard.
- Tools are registered in JavaScript through navigator.modelContext, with a name, description, input schema and execute callback.
- It needs an open browsing context. Headless tool calls and built-in tool discovery are not part of the proposal.
- Microsoft Edge said in September 2026 that its implementation is ready for testing. An origin trial runs until March 30, 2027.
The idea in one paragraph
WebMCP is described in its proposal as a browser API that lets a web page register tools for AI agents. The page acts as the provider, and only a top-level browsing context such as a tab can do this. Tool calls run as JavaScript callbacks in the page. Microsoft's Edge team describes it as a web API, specified with the Web Machine Learning Community Group, for human-agent collaboration on your site. It lets you expose existing front-end code as structured tools that a browsing agent can use.
Who is behind it and how final it is
The proposal lists five authors. The page states no affiliations, but judging by the email addresses in the author block, Brandon Walderman and Andrew Nolan are associated with Microsoft, and David Bokan, Khushal Sagar and Hannah Van Opstal with Google. The document is hosted under webmachinelearning.github.io, and the page says the site is open source (no license is named). It carries a date of August 13, 2025, lists open questions and TODO items, and is not presented as a finished standard. Expect details to change.
How it relates to MCP
The proposal says WebMCP's primitives align with MCP's tools, resources and prompts. The browser implements the data layer, so the web is not tied to one MCP version, and MCP-compatible agents can use WebMCP tools with minimal translation. In WebMCP the tools live in an open web page, and the browser mediates access.
The documented API
From the proposal:
navigator.modelContext.provideContext({ tools: [...] })registers tools. Each call replaces earlier tools and context.registerTool()andunregisterTool(name)add or remove single tools without resetting the rest.- A tool descriptor has a
name, adescription, aninputSchemain a JSON Schema style and anexecute(args, agent)callback. agent.requestUserInteraction()asks the user for input, such as a confirmation, while a tool runs.- Feature detection uses
"modelContext" in window.navigator.
A declarative approach, such as a manifest, is mentioned only as a future possibility with the syntax to be decided. The proposal also notes an inconsistency between its prose, which mentions an agent property on Window, and its code examples, which use navigator.modelContext.
Limits stated in the proposal
- It needs an open browsing context. Headless tool calls are a future consideration.
- Developers must keep the UI in sync when tool calls change state.
- Complex UIs may need refactoring.
- There is no built-in tool discovery mechanism.
- There is no dedicated security section. The text mentions browser-mediated access, user consent for tool calls, local handling of tool calls in the browser and embedders managing capabilities for iframes.
What Microsoft Edge says
The Microsoft Edge blog post "New in Edge for developers" of September 21, 2026 says Edge's WebMCP implementation is ready for testing. Microsoft points to samples and a browser extension for running and debugging WebMCP tools in the webmcp-labs repository. The WebMCP section names no flag for enabling it. The post's general introduction to testable features says you can test locally or register for an origin trial, without naming WebMCP specifically. Edge has a separate WebMCP origin trial page, described below.
The Edge origin trial page for WebMCP describes the feature as letting websites register tools for agents hosted by the site or in Chrome. It lists an expiry date of March 30, 2027 and no Edge version numbers. Registration needs a GitHub sign-in, acceptance of the terms and a domain. You then add the token as a <meta> tag or an Origin-Trial header. The terms say the feature is experimental, may change or end at any time and may never ship beyond the trial. They recommend feature detection so sites degrade gracefully.
A cautious path for site owners
- Pick one stable, low-risk page action, such as search or filtering.
- Describe it as a tool with a clear name, description and input schema.
- Wrap it in feature detection so the page works without WebMCP.
- Ask for user confirmation with
requestUserInteraction()for anything that changes data. - Test in an Edge build or origin trial and expect the API to change.
What the sources do not say
None of the pages I read connect WebMCP to Microsoft 365 agents, Copilot or Agent 365. They also do not name stable Edge version numbers, a default-on date or a security model beyond the points above. Treat claims that go further as unverified.
Related
Sources
- WebMCP proposal (Web Machine Learning Community Group)
- New in Edge for developers, September 2026 (Microsoft Edge Blog)
- WebMCP origin trial (Microsoft Edge Developer)
FAQ
What is WebMCP?
According to the WebMCP proposal, it is a proposed browser API that lets a web page register tools that AI agents can call. Only a top-level browsing context, such as a tab, can act as the provider. Tool calls run as JavaScript callbacks in the page, and the browser arbitrates access.
Is WebMCP the same as MCP?
No. The proposal says WebMCP's primitives align with MCP's tools, resources and prompts, and that MCP-compatible agents can use WebMCP tools with minimal translation. WebMCP itself is a web API that runs in the browser page.
How does a page register a tool?
The proposal describes navigator.modelContext with provideContext, which replaces previously registered tools, and registerTool and unregisterTool for single tools. A tool has a name, a description, an inputSchema and an execute callback. The proposal notes that the examples and prose are not fully consistent.
Can I test WebMCP in Microsoft Edge?
The Microsoft Edge blog of September 21, 2026 says Edge's implementation is ready for testing and mentions samples and a debugging extension in the webmcp-labs repository. A Microsoft Edge origin trial page lists an expiry of March 30, 2027 and calls the feature experimental.
Does WebMCP connect to Microsoft 365 agents?
The pages I read do not mention Microsoft 365 agents, Copilot or Agent 365 in connection with WebMCP. They describe a browser API for sites and browsing agents. Any link to Microsoft 365 is not documented there.