# MCP-B

> WebMCP runtime and MCP bridge packages for websites

Source: https://talira.ai/catalog/mcp-b-j08fxmey
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [ai / agents / tool integration](https://talira.ai/categories/ai/agents/tool-integration), [ai / mcp / transports](https://talira.ai/categories/ai/mcp/transports)
- Licence: MIT[^3]
- Pricing: Free and open source[^1][^2]
- Pricing notes: Free and open source (MIT). MCP-B also sells consulting.
- Free tier: yes[^1][^2]
- Supports: [WebMCP](https://talira.ai/standards/webmcp.md)[^1][^4]
- Backed by: [MCP-B](https://talira.ai/orgs/mcp-b.md)

MCP-B is a set of open source TypeScript packages for WebMCP, the proposed browser API (`document.modelContext`) that lets a web page register tools an AI agent in the browser can call. `@mcp-b/global` adds `document.modelContext` where the browser has no native support and bridges the page's tools to the full Model Context Protocol, with prompts, resources, `listTools` and browser transports, so MCP clients can reach them. Other packages add React hooks (`@mcp-b/react-webmcp`, `usewebmcp`), MCP over iframes, transports, a local relay and a DOM reader for agents. Its docs point to the W3C Community Group's own polyfill for the standard API alone, and to MCP-B's packages for the MCP features. MCP-B, the company behind them, says it helped inspire the WebMCP spec; the packages aren't an official W3C or MCP project.

## Links

- Website: https://mcp-b.ai/
- GitHub: https://github.com/WebMCP-org/npm-packages
- Docs: https://docs.mcp-b.ai/

## Problems it solves

- add WebMCP tools to my website today with a polyfill so browser AI agents can call them
- let AI agents call functions in my single-page app instead of clicking the UI
- expose my web app's actions as MCP tools from the browser

## Features

- document.modelContext where the browser lacks it
- bridge from WebMCP tools to a full MCP server with prompts and resources
- React hooks for registering tools
- MCP over iframes and browser transports
- local relay to desktop MCP clients
- DOM reader for agents

## Trust

Overall: 0.55 out of 1.
Signals: maintenance 1.00, adoption 0.41, momentum 0.27, community 0.48, backing 0.30, extensibility 0.00.

- last commit 14 days ago
- 102 commits in the last 90 days
- latest release @mcp-b/webmcp-polyfill@6.2.0 14 days ago
- 110 GitHub stars
- 15 contributors
- has a company behind it

## Alternatives

- [WebMCP polyfill](https://talira.ai/catalog/webmcp-polyfill-2jwyfjh8.md): The W3C Community Group's polyfill for document.modelContext
- [n8n](https://talira.ai/catalog/n8n-7sdcvrwd.md): Build the agent. Understand its workflow.
- [Arcade.dev](https://talira.ai/catalog/arcade-dev-jbqata92.md): The actions runtime for enterprise AI agents

## Sources

[^1]: https://github.com/WebMCP-org/npm-packages (checked 24 Nov 2026)
[^2]: https://mcp-b.ai/ (checked 24 Nov 2026)
[^3]: https://github.com/WebMCP-org/npm-packages/blob/main/LICENSE (checked 24 Nov 2026)
[^4]: https://docs.mcp-b.ai/how-to/choose-runtime (checked 24 Nov 2026)
