Shipping WebMCP in docs pages: 13 tools for the browser agent, plus Chrome 153 gotchas

DavidAntoon · reddit · 2026-10-27

The FrontMCP maintainer details running a WebMCP server inside docs pages: via document.modelContext, a site registers 13 tools (searchdocs, getpage, runinplayground, etc.) that browser agents call directly instead of screenshot-clicking. Loading is 3-phase (5.4KB manifest, 540KB on first agent call, 311ms first call then 1-4ms). Key Chrome 153 gotchas: tool error messages are hidden from agents (put info in results), consequentialHint isn't returned, and Chrome for Testing enables WebMCP by default, which broke Lighthouse scores until startup was deferred.

Original post →

More from coding & agent

coding & agent channel →