Open-source WebMCP tooling

Websites publish tools. Agents call them.

MCP-B is an open-source WebMCP implementation and tooling suite: packages for publishing browser tools and an extension that connects them to agent experiences.

Already in production

WebMCP is shipping inside the world's largest companies.

Google
Microsoft
Amazon
JPMorgan Chase
Adobe
Target
registerTool.ts
1// Register a tool for AI agents
2document.modelContext.registerTool({
3 name: 'search_products',
4 description: 'Search the catalog',
5 inputSchema: {
6 type: 'object',
7 properties: {
8 query: { type: 'string' }
9 }
10 },
11 execute: (params) =>
12 catalog.search(params.query),
13});

Ready to make your site agent-ready?

Install the packages, publish tools through document.modelContext, and connect an agent. Everything is open source.