Skip to content

webmcp.jsTyped WebMCP tools for web apps

Register validated, approval-aware browser tools with TypeScript, Zod, React bindings, and testing utilities.

webmcp.js logo

Status

WebMCP is an emerging browser API proposal. This library is an execution and safety layer around navigator.modelContext when that API exists. It does not define a protocol, ship a browser runtime, or create navigator.modelContext.

bash
pnpm add @webmcp-js/core zod

webmcp.js is not an official W3C, Chrome, Google, Microsoft, MCP, or MCP-B project.