Originally published on my blog .
Version note: I wrote this against Angular 22.3 and the WebMCP draft as of November 2026. Every API shown here is experimental, and I will update the post after Angular 22.4 if anything changes.
Browser AI agents can already book a table or fill in a form for someone, but they do it the hard way. They take screenshots, read the DOM, guess which button is the right one, click, and hope. That is slow and expensive in tokens, and it breaks the moment you rename a CSS class or move a button.
WebMCP turns this around. Your page publishes a small contract of tools: named functions with a description and a JSON Schema for their input. The agent reads the contract and calls the function directly.
Angular 22 ships experimental support for it. In this article we build a small todo app that exposes seven tools to agents. One of them is a Signal Form that turns into a tool with no extra code.…