WebMCP Lets Websites Expose Structured AI Tools Directly in the Browser

WebMCP is a browser-level standard that lets web applications register typed tools for AI agents instead of forcing them to scrape screenshots or the DOM. Developed within the W3C Web Machine Learning Community Group with engineers from Google and Microsoft, it extends Model Context Protocol concepts into the browser tab. Tools are registered through document.modelContext or navigator.modelContext, alongside declarative HTML attributes, using JSON Schema definitions. Because the tools run inside the active tab, they inherit the user's same-origin session without a separate authentication flow. The article's comparison argues this approach uses far fewer tokens per turn and holds up better against UI redesigns than screen-scraping or standalone backend servers.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in