AI agents are starting to book, order and fill in forms on the web for people. Today most of them do it the hard way: they read the screen and simulate clicks and typing. Google calls this actuation. It is slow, and it breaks as soon as a button moves.
WebMCP is a proposed web standard that takes a different route. Instead of the agent guessing what a button does, the website declares it.
What WebMCP is
With WebMCP, a website registers tools: actions such as “search flights” or “book a table”, each with a name, a description and a schema for the input it needs. Chrome collects these tools and presents them to the AI agent the user is running. The agent then calls a tool with structured input, and the page carries out the work visibly.
There are two ways to build tools:
- The imperative API: tools defined in JavaScript with document.modelContext.registerTool().
- The declarative API: an ordinary HTML form annotated with attributes such as toolname and tooldescription, so the browser can describe it to agents.
WebMCP is available as an origin trial from Chrome 149, and developers can try it locally with the chrome://flags/#enable-webmcp-testing flag. Google describes the API as under active discussion and subject to change.
WebMCP
How WebMCP works
From guessing at buttons to calling clearly described tools
- 1
Your website
Registers tools
Each tool has a name, a description and an input schema.
Imperative API
document.modelContext.registerTool() Declarative API
<form toolname tooldescription> - 2
Chrome
Collects and presents them
Only to agents the user runs, within the tools permission policy.
User confirmation for actions with consequences
- 3
AI agent
Calls a tool
Structured input, and the page visibly does the work.
{ "date": "2026-11-04", "guests": 4 }
Before: the agent reads the screen and simulates clicks and typing
With WebMCP: the site states what each action does and what it needs
Chrome DevTools · Application · WebMCP
Available tools
Every tool found on the tab, with how often it was called
book_table×3
Invoked tools
A log of every call: input, output and status
- Completed
- In progress
- Canceled
- Error
Run tool
Test a tool by hand, without the agent
Run toolOrigin trial from Chrome 149 · local testing via chrome://flags/#enable-webmcp-testing
What the new DevTools support does
Agent behaviour is hard to see from the outside. Chrome DevTools now has a WebMCP pane in the Application panel that makes it visible:
- Available tools: a live list of every WebMCP tool found on the tab, with its description and how often it has been called.
- Invoked tools: a log of every call from an agent, with the exact input the agent sent, the output and the status: Completed, In progress, Canceled or Error.
- Run tool: test any tool by hand with your own input, without going through the agent's decisions.
- Filters by name, status and tool type (declarative or imperative).
This helps with the two most common problems. If the input breaks the schema, the error shows in the output. If an agent never uses a tool, the call counter shows whether it was ever considered, which usually points to a name or description that needs work. For automated testing, the Chrome DevTools MCP server can also list and run WebMCP tools as an experimental option.
Built with people in the loop
WebMCP is designed for a person working in their own browser, not for agents running unattended. Tools run in the visible page, a declarative form is not submitted unless the site allows it, and tools marked as having consequences can require the user to confirm. Access is controlled by a tools permission policy, which by default does not reach cross-origin iframes.
Google also notes the limits: agents must visit a site to find its tools, complex interfaces may need some rework, and agent developers must still guard against malicious text in untrusted content.
What it means for your business
Customers will increasingly arrive through an AI agent rather than on their own. The companies that describe their key actions clearly, such as requesting a quote, booking a meeting or checking an order, will be the easiest for those agents to work with.
- Pick the few actions that matter most on your site.
- Expose them as WebMCP tools, starting with forms you already have.
- Decide which actions need a human to confirm, and mark them.
- Test and monitor them in DevTools, the same way you test the rest of the site.
This is the same thinking we apply to AI agents inside companies: clear tools, clear permissions and a person in control. If you want to prepare your website or platform for AI agents, book a discovery call and we will show you where to start.
Sources
- Chrome for Developers: WebMCPWhat WebMCP is, the origin trial from Chrome 149, the testing flag, human-in-the-loop design and limitations
- Chrome for Developers: WebMCP and AI agentsHow agents use WebMCP tools instead of actuation
- Chrome DevTools: Debug WebMCP toolsThe WebMCP pane in the Application panel: available and invoked tools, statuses, filters and Run tool
- Chrome for Developers: WebMCP imperative APIdocument.modelContext.registerTool(), tool annotations and the tools permission policy
- Chrome for Developers: WebMCP declarative APIAnnotating HTML forms with toolname and tooldescription, and forms not being submitted automatically