Skip to main content
Packages are the primary entry point for this documentation. Start with a package overview when you need to choose the right building block, then move into that package’s reference page for API details. Cross-package concepts stay in Explanation. Task-oriented setup stays in Tutorials and How-To Guides.

Core runtime

@mcp-b/webmcp-types

Zero-runtime TypeScript types for the WebMCP core surface, schema inference, and Navigator augmentation.

@mcp-b/webmcp-polyfill

Strict WebMCP runtime polyfill for navigator.modelContext in browsers that do not ship the API yet.

@mcp-b/global

Full MCP-B runtime entry point that layers transport and extension APIs on top of the strict WebMCP surface.

@mcp-b/webmcp-ts-sdk

Browser-adapted MCP TypeScript SDK that provides BrowserMcpServer and supports dynamic tool registration.

@mcp-b/transports

Tab, iframe, extension, and user-script transport classes for moving MCP messages through browser boundaries.

@mcp-b/mcp-iframe

Custom element that exposes tools, prompts, and resources from an iframe to its parent page.

React

usewebmcp

Strict-core React hook for registering navigator.modelContext tools without the broader MCP-B runtime layer.

@mcp-b/react-webmcp

Full React integration for MCP-B, including tool hooks, prompts, resources, sampling, elicitation, and client providers.

Tooling

@mcp-b/webmcp-local-relay

Local relay server that connects browser-hosted WebMCP tools to desktop MCP clients over stdio and WebSocket.

@mcp-b/chrome-devtools-mcp

Chrome DevTools Protocol bridge that lets MCP clients inspect browsers and discover WebMCP tools from live pages.

@mcp-b/extension-tools

Chrome Extension API tool classes for tabs, bookmarks, history, storage, scripting, and related agent workflows.

@mcp-b/smart-dom-reader

Token-efficient DOM extraction library for AI agents, selector generation, and structured page understanding.

agent-skills-ts-sdk

Parser, validator, prompt builder, and patch utilities for the AgentSkills SKILL.md format.