WebMCP
Proposed web API letting sites expose JavaScript functions or HTML forms as tools with natural-language descriptions and schemas for in-browser AI agents.
Tags
Description
Pages register tools with document.modelContext.registerTool() (navigator.modelContext was deprecated in Chrome 150 and removed in Chromium). The spec is a W3C Web Machine Learning Community Group draft report dated 27 October 2026, not on the standards track. Origin trials: Chrome from 149 and Microsoft Edge from 150 (Edge trial expires 2027-03-30). Tools can be invoked by agents built into the browser, hosted in iframes, or running in extensions. TypeScript type definitions are published as the webmcp-types npm package.
Related
- Model Context Protocol (MCP): Open protocol that standardizes how AI applications connect to external tools, data sources and prompts via MCP servers.
Guides & comparisons
- Discover a site's agent interfaces (Skill): A probe-then-pick workflow for finding the best machine interface a website offers (MCP, A2A, OpenAPI, Agent Skills, llms.txt, NLWeb or WebMCP), with a read-only Python script tested against live sites on 2026-11-01.
Sources
- https://github.com/webmachinelearning/webmcp
- https://webmachinelearning.github.io/webmcp/
- https://developer.chrome.com/blog/ai-webmcp-origin-trial
- https://learn.microsoft.com/en-us/microsoft-edge/web-platform/release-notes/150
- https://developer.microsoft.com/en-us/microsoft-edge/origin-trials/trials/0b76fe60-b266-458e-a285-04e375c0c31a
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)