WebMCP lets a web page hand an AI agent a set of tools: named functions with a description and a JSON Schema for their input, registered on document. modelContext . A to-do page with four of them, about 95 lines of plain JavaScript, is enough to exercise the whole API: imperative tools, a read-o...
Source: [Dev.to](https://dev.to/gde/a-minimal-webmcp-demo-in-chrome-typed-tested-headless-and-driven-by-an-agent-109e)