WebMCP
A proposed web standard aimed at preparing websites for the AI agent era. It extends the MCP protocol and was systematically presented by Google engineers at a Google I/O Connect workshop.
Core Facts
MCP采用客户端-服务器架构,AI编程工具作为MCP客户端,外部服务作为MCP服务器
WebMCP is an extension of MCP in web scenarios, allowing websites to declare within their pages the callable tools they expose and their schemas.
The core capabilities of a Chrome extension include content scripts, background service workers, and popup pages.
Timeline (last 90 days)
The "context" in the WebMCP protocol refers to the scope visible to tools, such as a page, a route, or an iframe; when the context switches, the set of available tools changes accordingly.
For sites that use bundlers, jumping from a tool activity record to the original source code relies on source maps; if the build artifacts do not include source maps, positioning accuracy decreases, and retaining source maps is a practice worth noting when debugging WebMCP applications.
WebMCP tools are registered in the page via JavaScript, and registration typically binds a handler function and a parameter schema description; DevTools jumping from an activity record to the registration code relies on the registration source information retained at runtime.
Developers can jump directly from the activity records of a WebMCP tool to the tool's registration location (such as a piece of JavaScript code) and test and debug these tools as they would any other JavaScript code.
The WebMCP panel in DevTools supports manually triggering tools, for example directly querying hotel information in New York, making it convenient to reproduce specific scenarios without having to trigger them through natural language conversation every time.
In the DevTools demonstration, after the user sends the agent a request to "find me a hotel in Tokyo, filtered by gym and breakfast", the left panel lists the WebMCP tools that were invoked along with the input and output of each invocation.
The WebMCP tool activity section of DevTools can display the input, output, and further details of each tool invocation in an agent request.
The WebMCP panel in DevTools is a runtime mapping of the WebMCP mechanism, turning the abstract tool registry into an observable list.
WebMCP tools are essentially JavaScript code and can be verified with unit tests and integration tests to check whether they run stably under deterministic inputs.
Traditional unit tests and integration tests cannot cover the AI Agent's tool selection, parameter passing and multi-step journey completion under non-deterministic invocations.
40 more timeline events
All Facts (20)
MCP采用客户端-服务器架构,AI编程工具作为MCP客户端,外部服务作为MCP服务器
80%VerifiedWebMCP is an extension of MCP in web scenarios, allowing websites to declare within their pages the callable tools they expose and their schemas.
75%VerifiedThe core capabilities of a Chrome extension include content scripts, background service workers, and popup pages.
70%VerifiedAI代理操控计算机面临的安全风险包括提示注入攻击、权限升级和不可逆操作等问题
70%VerifiedThe biggest security risk of allowing AI to directly invoke web capabilities is security itself; WebMCP-type protocols must have built-in permission authorization models, user confirmation mechanisms before critical operations, and tool source trustworthiness verification.
65%VerifiedFor content platforms, AI agents may bypass advertising to directly capture value, while for e-commerce, SaaS, and tool-based services they may bring new traffic and transaction entry points; this difference in incentives will influence the adoption of WebMCP.
65%VerifiedA persistent connection is established via WebSocket between the Browser Tools MCP browser extension and the MCP Server.
65%UnverifiedThe idea behind WebMCP is to have websites proactively expose a machine-readable capability interface, enabling AI agents to invoke webpage functionality as if calling an API.
60%UnverifiedThe technical essence of a Skill is a combination of tool use and prompt engineering, taking the form of predefined structured prompt templates or custom scripts.
60%UnverifiedWebMCP tools are registered in the page via JavaScript, and registration typically binds a handler function and a parameter schema description; DevTools jumping from an activity record to the registration code relies on the registration source information retained at runtime.
50%UnverifiedThe "context" in the WebMCP protocol refers to the scope visible to tools, such as a page, a route, or an iframe; when the context switches, the set of available tools changes accordingly.
50%UnverifiedThe WebMCP panel in DevTools is a runtime mapping of the WebMCP mechanism, turning the abstract tool registry into an observable list.
50%UnverifiedFor sites that use bundlers, jumping from a tool activity record to the original source code relies on source maps; if the build artifacts do not include source maps, positioning accuracy decreases, and retaining source maps is a practice worth noting when debugging WebMCP applications.
50%UnverifiedWebMCP tools are essentially JavaScript code and can be verified with unit tests and integration tests to check whether they run stably under deterministic inputs.
50%UnverifiedTraditional unit tests and integration tests cannot cover the AI Agent's tool selection, parameter passing and multi-step journey completion under non-deterministic invocations.
50%Unverifiedclaude-seo includes Agent Readiness-related capabilities, specifically involving Lighthouse Agentic Browsing, WebMCP, and llms.txt.
50%UnverifiedIn addition to the document.modelcontext imperative API, WebMCP also provides a declarative syntax to be compatible with traditional agents that do not support WebMCP.
50%UnverifiedWebMCP is still at an early stage, and the standard is still being developed.
50%UnverifiedWebMCP's core API is document.modelcontext, through which agents can list and call the tools exposed by the page.
50%UnverifiedIn the short term, WebMCP's most direct value is in automated testing and RPA scenarios, where tool declarations are far more stable and cheaper to maintain than screenshot clicking.
50%