What Is WebMCP? How My Website Gives AI Agents Tools WebMCP, a proposed web standard from the W3C's Web Machine Learning Community Group that lets a web page register JavaScript-based tools for an AI agent to call, is running as an origin trial in Chrome 149, according to the draft spec and Chrome's explainer. The author's site has registered 4 read-only tools since 1 October 2026 — search published content, list talks, read the speaking schedule, and get fees and booking info — each defined by a name, description, JSON Schema input and function, with the browser registering the contract and the server validating every call against the same schema. Sarah Drasner, who leads AI and the web ecosystem for Chrome at Google, contrasted the approach on 16 September with agents that screenshot, scroll and click the wrong button, writing that a WebMCP page instead tells the agent "here are the 4 things you can do here, with descriptions. What Is WebMCP? How My Website Gives AI Agents Tools So, WebMCP is a proposed web standard that lets a web page hand an AI agent using your browser a set of tools, each with a name, a description, a JSON Schema https://json-schema.org/ for its input and a function to run, so the agent calls the function instead of screenshotting and clicking its way around the page. Since 1 October 2026 every page on this site does it, with 4 tools, and this post is about what they are, how I built them and what WebMCP is actually good for. This morning I gave an AI agent that knew nothing about me except those 4 tools one question: “Where is Tejas speaking this month, and what would a workshop for my team cost?” It made 2 tool calls, get-speaking-schedule for the dates of October and get-booking-info for workshops, and came back with all 4 of my October conferences ticket links included and every workshop price, straight from the data my pages show. No scraping, no guessing, no squinting at a screenshot of a pricing table. Wild. Sarah Drasner https://sarah.dev , who leads AI and the web ecosystem for Chrome https://www.google.com/chrome/ at Google https://about.google/ , put the before and after better than I can in a post on 16 September https://x.com/sarah edo/status/2100224152841912686 : Agent: screenshots the page Agent: scrolls Agent: screenshots again Agent: clicks the wrong button Agent: screenshots again Page with WebMCP: hi, here are the 4 things you can do here, with descriptions My website is literally that page now lol. 4 things, with descriptions. TL;DR - WebMCP lets a page register tools that an AI agent using the browser can call: a name, a description, an input schema and a function. - It’s a draft web standard, and Chrome runs it as an origin trial from Chrome 149. - This site registers 4 read-only tools: search everything I’ve published, list my talks, read my speaking schedule, and get my fees and how to book me. - Each tool’s contract lives in one file: the browser registers it, the server checks every call against the same schema, and the two can’t drift apart. - A tool should hand a mistake back as a sentence and never throw, because a rejected call reaches the model as a bare UnknownError . - It’s good for anything people already do on your page that an agent could do with one function call: search, filter, book, check out. What is WebMCP? WebMCP is a proposed web standard that lets a web page offer an AI agent using the browser a set of tools to call. The spec is a draft report https://webmachinelearning.github.io/webmcp/ from the Web Machine Learning Community Group https://www.w3.org/community/webmachinelearning/ at the World Wide Web Consortium W3C https://www.w3.org/ , and its abstract is one sentence: “The WebMCP API enables web applications to provide JavaScript-based tools to AI agents.” The agent is whatever the browser hands those tools to, and the explainer from Chrome’s team https://googlechromelabs.github.io/webmcp-tools/demos/explainer/ puts it this way: “A WebMCP-aware extension or, eventually, the browser itself collects registered tools and presents them to the user’s agent.” So it can be an extension like the side panel Sarah built https://x.com/sarah edo/status/2102025642862600634 , the browser’s own assistant one day, or a program driving the browser from outside, like the demo at the top of this post, which reads the tools through Chrome DevTools https://developer.chrome.com/docs/devtools . What it doesn’t have to do anymore is steer the page by clicking around: it calls the functions. WebMCP is named after the Model Context Protocol MCP https://modelcontextprotocol.io/ , which I’ve explained on stage a bunch of times, and the way I put it at How to Web https://tej.as/talks/how-to-web-2025 is still how I think about it: it’s “just passing functions over the network… There’s a lot of people who will use big words to confuse and gatekeep you. Don’t listen to them. It’s all functions.” WebMCP is the same idea, with one change that makes it a whole different thing: the functions live in the web page you already have open. The 3 ways an agent can use a website, side by side: | | WebMCP | An MCP server | Screenshots and clicks | |---|---|---|---| | Where the tools are | In the web page itself | On a server somebody runs, which you connect to your AI app | Nowhere: the agent reads pixels and the page’s markup and guesses | | What the site has to build | A few functions in the site it already has | A second product next to the site | Nothing | | What breaks it | A tool whose contract changes | The server going down | A redesign, a popup, a slow load | | On tej.as | 4 tools since 1 October | Never built | How agents saw my site until 30 September | Which browsers support WebMCP? Chrome, as an origin trial https://developer.chrome.com/docs/web-platform/origin-trials from Chrome 149 Chrome’s WebMCP docs https://developer.chrome.com/docs/ai/webmcp . An origin trial is Chrome letting a site switch a feature on early for its own visitors, with a token that only works on that site’s origin think, its domain . My token goes in a