Releases: MCPCat/webmcp-react
Releases · MCPCat/webmcp-react
v0.1.0
Initial release of webmcp-react — React hooks for exposing app functionality as WebMCP tools via navigator.modelContext.
Highlights
<WebMCPProvider>— manages polyfill lifecycle, provides context to child hooksuseMcpTool— register tools with Zod schemas (type-inferred) or raw JSON SchemauseWebMCPStatus— check if WebMCP is available- Built-in polyfill with
navigator.modelContextTestingshim - SSR-safe, React Strict Mode safe
- Ships CJS + ESM + TypeScript declarations