VOOZH about

URL: https://thenewstack.io/webmcp-chrome-ai-agents/

⇱ WebMCP turns any Chrome web page into an MCP server for AI agents - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2026-03-17 11:50:12
WebMCP turns any Chrome web page into an MCP server for AI agents
AI Agents / Frontend Development / Model Context Protocol (MCP)

WebMCP turns any Chrome web page into an MCP server for AI agents

WebMCP turns web pages into MCP servers via a Chrome extension, letting AI agents interact with sites directly. Google and Microsoft back the new standard.
Mar 17th, 2026 11:50am by David Eastman
👁 Featued image for: WebMCP turns any Chrome web page into an MCP server for AI agents
Riswan Ratta for Unsplash+
About two weeks ago, I posted about websites returning Markdown to make life easier for AI agents. While agents are already quite proficient at using browsers, it can still be fiddly, lengthy, and time-consuming. I mentioned adding microdata in the HTML as cues to help navigation, but what about allowing them to use MCP directly on the page? So you see, WebMCP almost suggests itself. When agents access the DOM, they can do a good job of working through actions using only recognisable components in HTML declarations. Old web testing tools like Selenium worked this way. When a page is fairly regular (which, of course, is exactly what the web has become as it has migrated into a consumer shop front), it is not hard to navigate. But as humans slowly make way for AI agents, and as agents work alongside humans, it makes sense to ease their passage. So with a Chrome extension, a web page can now act like an MCP server. This approach was fostered by Microsoft and Google last year. And this is not unrelated to what OpenAI is doing with their Apps SDK and ChatGPT Atlas. But with WebMCP, the action is client-side.

The human web user is still in the picture

When I first read about this, I assumed it was purely so an AI agent could “bypass” the web and speak directly to the page in a structured way. But perhaps because Google still needs humans for ad revenue, the human is still very much in the loop. Because you may be browsing a site and want to ask an agent a question about the page, the agent needs some knowledge of the context before and during your question. You can imagine a user bringing up an AI chat next to a page and asking about something on the screen. So don’t just imagine an agent hitting a headless browser for some task, but also a user interrupting their own browsing session to query the site. And again, as with MCP and security elicitation, the agent has to be able to return to the user to ask clarifying questions. The full proposal mentions two APIs: the Declarative API for standard HTML-style actions within a page, and the Imperative API for complex actions that require JavaScript.

Using WebMCP with Chrome

While the Chrome examples are pretty recent, some inquisitive users have already been experimenting with them. I’ll look at one example, based on Google’s current documentation. You are obviously at the whim of Google on the bleeding edge, so sign up to their program first to get updates. The first step is to join the early Google Chrome preview program (EPP) via the invite page here. You need Chrome version 146.0.7672.0 or higher. After looking at the version in the About box, only to see it start updating itself as if looking at Schrödinger’s cat, I could see I was good: 👁 Image
Then there is a flag we need to flip the “WebMCP for testing” (that is, the service is off by default), you do this by navigating internally with chrome://flags/#enable-webmcp-testing 👁 Image
And then relaunch with your new choice, checking back to see if the change stuck. In case you were not aware, this is all experimental: 👁 Image
You can then install the inspector, which lets you see the WebMCP tools (i.e., registered functions) under the hood. With that installed, you can go to the live demo page. You’ll see the mock flight search page (well, I assume it is mock) and the inspector in the panel on the right that effectively picks out the available MCP tools, such as “searchFlights”: 👁 Image
So, for example, we could browse “by hand”, as it wer,e on the left side, and use the form to get information about the following flight (I definitely do not recommend this flight right now) : 👁 Image
Sadly, this query was not supported: 👁 Image
Naturally, I politely obliged the mock app with the required example data (so no, this is not a real flight search,) and wgotet back a mock result screen as intended: 👁 Image
So we can now use these details within the inspector tool: 👁 Image
This returns the same mock HTML page. Now, if we had an actual agent, we could see the structured reply. I generated a Gemini API key from Google AI Studio, set the key within the inspector, and queried the agent about the flight page: 👁 Image
That “interact with the page” is interesting, as for a user, this is a slightly new context to be operating in – to be asking an agent about the page they are looking at. As an aside,e the page on the introductory site webmcp.dev mentions (and shows) a small blue square at the bottom-right corner of the page to indicate that WebMCP is available. The Google Chrome example doesn’t have this, but these are very early days so that implementations may vary. After sending my English query, I got this structured result back:
User prompt: "What flights are available?"
AI calling tool "listFlights" with {}
Tool "listFlights" result: 
[
 {
 "id":7,
 "airline":"Spirit Airlines",
 "airlineCode":"NK",
 "origin":"LHR",
 "destination":"JFK",
 "departureTime":"08:49",
 "arrivalTime":"07:05",
 "duration":"22h 16m",
 "stops":0,"price":932
 },
 {
 "id":8,
 "airline":"Southwest Airlines",
 etc
This looks like the JSON equivalent results for the mock HTML flight results page above. So we can see that we can get back results intended for an AI agent workflow, but we can also have the agent sit with the human and get back a website. In this example, the query front end would present the data neatly and probably ask for a filter to refine the results. Just as a quick check, the tool sees no WebMCP behind a normal page, in this ca,se The New Stack: 👁 Image
So it seems that for now at least, the human web has a stay of execution. Humans can use WebMCP to enhance their web experience, not just by an AI agent.
TRENDING STORIES
David has been a London-based professional software developer with Oracle Corp. and British Telecom, and a consultant helping teams work in a more agile fashion. He wrote a book on UI design and has been writing technical articles ever since....
Read more from David Eastman
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: OpenAI.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.