Skip to content

A Minimal WebMCP Demo in Chrome: Typed, Tested Headless, and Driven by an Agent

7.3 relevance
Score Breakdown
technical depth
8
novelty
8
actionability
7
community
4
strategic
6
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

WebMCP demo with typed, tested headless Chrome and agent integration, highly relevant to AI agent orchestration.

AI/ML dev.to
A Minimal WebMCP Demo in Chrome: Typed, Tested Headless, and Driven by an Agent
Summary

WebMCP enables web pages to expose typed, JSON Schema-defined tools to AI agents via `document.modelContext`. A 95-line to-do page with four tools validates the API through TypeScript checks (`webmcp-types` 0.2.1), headless Puppeteer tests, and Google's `webmcp-evals` smoke runner—all without a model or API key. Chrome 158's on-device model was unavailable on Linux, so the agent used Gemini via the extension's server; permission prompts correctly blocked writes while read-only tools ran unasked.

Author

xbill

More from xbill →