WebMCP
Summary
WebMCP proposes a JavaScript API that lets web applications expose tools to AI agents via a Model Context Protocol, exposed through a navigator.modelContext extension. The draft defines a ModelContext interface for registering and managing tools, a ModelContextTool schema including name, description, inputSchema, and an execute callback, and a ModelContextClient for agent-driven interaction. It also outlines security, privacy, accessibility considerations and provides normative references; the work is a W3C Community Group Draft, not yet a standard.