Examples
- Vanilla JS —
webmcp(fn)+register()without framework - React —
useWebMCP+<Scope>+WebMCPProvider - Zod — whole schema vs per-field, JSON Schema fallback
All live in examples/ — also see Guide — Hooks and Analytics Step-by-Step for hook recipes, Schema for Zod/StandardSchema, and Demo for a live shopping cart.
bash
npm run build && npm testSee also: