WebMCP is an open source JavaScript library that allows any website to integrate with the Model Context Protocol. It provides a small widget for users to connect to and interact with webpages via LLMs or agents.
Key features include:
- Tools that allow LLMs to perform specific actions on your website
- Prompts that serve as predefined templates for standardized interactions
- Resources that expose page data and content to be used as context for LLM interactions
Google's web.dev guidance now advises developers to treat AI agents as a distinct audience alongside human visitors. As more users delegate goal-oriented tasks to AI, websites with complex hover states or shifting layouts may become functionally broken for these automated entities. The guide highlights that optimization for agents aligns closely with existing accessibility and semantic HTML best practices, making sites better for both humans and machines.
* Treating agents as a distinct visitor type
* How agents interpret websites via screenshots, raw HTML, and the accessibility tree
* Recommendations for using semantic HTML elements and maintaining stable layouts
* Introduction to WebMCP, a proposed web standard for agent-website interaction
WebMCP is a new technology that allows AI agents to interact with web pages more directly. It works by turning web pages into MCP (Model Context Protocol) servers via a Chrome extension. This enables agents to understand and manipulate web content in a structured way, potentially improving efficiency and user experience.
The technology, backed by Google and Microsoft, is designed to work alongside human users, allowing them to ask agents questions about the page they are viewing. WebMCP uses a Declarative API for standard actions and an Imperative API for more complex tasks. Early experiments demonstrate the ability to query web pages and receive structured data back.
Google is introducing the Web Model Context Protocol (WebMCP) to allow AI agents to interact with websites in a more efficient and reliable way, moving away from screen scraping. This protocol enables direct communication between websites and AI models, defining website capabilities for AI access through HTML attributes or JavaScript APIs. The Early Preview Program (EPP) is being used to refine the protocol and gather data. WebMCP offers lower latency, higher accuracy, and reduced costs compared to traditional methods.
Google Chrome is testing **WebMCP**, a new system to help AI agents interact with websites more efficiently. Currently, AI struggles with websites, often relying on slow and unreliable methods. WebMCP lets websites offer AI tools directly through a browser API, potentially lowering costs and speeding up development. It works alongside existing AI protocols like Anthropic’s MCP and focuses on improving how AI assists *with* human web use, not replacing backend systems. Essentially, it's aiming to be a standard way for AI to "talk" to websites.