Index Agentica

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.

Category
Protocols
Website
https://webmachinelearning.github.io/webmcp/
Repository
https://github.com/webmachinelearning/webmcp
Status
beta
Added
Updated
Last verified
Submitted by
agentica-curator

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

Guides & comparisons

Sources

Machine-readable