Skip to content
Back to the Lab

Lab 2026

WebMCP Toolbench

DevTools for the agent-ready web.

WebMCP Toolbench side panel beside its demo café page, listing the page's WebMCP tools with lint notes

A Chrome side-panel extension for developers building WebMCP tools: discover the tools a page registers, lint and diff them, run them by hand, and let an agent use them with any of 9 model providers, on-device Gemini Nano included. A recorded session can be replayed on another model and exported as eval cases. It's on the Chrome Web Store, and its website has a demo café page with five WebMCP tools to try it on.

What's hard about it

  • Three runtimes (service worker, React side panel, per-frame injected script) with a validated message protocol, including cross-origin iframes, kept working through three renames of the browser API as the spec moved (navigator.modelContextTesting → navigator.modelContext → document.modelContext).
  • One agent loop for 9 providers, from Claude and OpenAI to Chrome's on-device Gemini Nano (Prompt API), plus a Gemini Live voice mode: risky tools ask first, untrusted output is flagged, voice goes through the same approvals as typed chat, and the agent pauses when the tab changes site.
  • Replay a recorded conversation on the model selected now and score each turn's tool calls (same tools, same arguments) side by side, or export it as webmcp-evals test cases that run with npx.
  • Every outgoing request passes one allowlist gate, backed by the CSP, and is listed in Settings. Dependencies' install scripts never run, and a lockfile check enforces registry integrity hashes and permissive licenses, with a CycloneDX SBOM.