WebMCP-orgWebMCP-orgOfficialยท3 Agent Skills Included

npm-packages

Expose website tools to AI agents via WebMCP

Registers website tools through the document.modelContext browser API so AI agents can discover and call them. Polyfills the WebMCP standard in any browser and bridges it to the full Model Context Protocol with prompts, resources, and transports. Eliminates custom integration work with ready React hooks, a Chrome extension, and a local relay for desktop clients.
npx skills add WebMCP-org/npm-packages --all -g -y
Available:

Gives your AI agent the build commands, package architecture, and WebMCP API rules it needs to work correctly inside this monorepo.

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install npm-packages?โ–ผ

Run `npx skills add WebMCP-org/npm-packages --all -g -y` in your terminal to install all skills in this suite globally.

How to let AI agents use tools on my website?โ–ผ

Add @mcp-b/global to your site and call document.modelContext.registerTool to expose tools that AI agents can discover and execute.

Does WebMCP work in browsers without native support?โ–ผ

Yes. The @mcp-b/webmcp-polyfill package provides the same document.modelContext API in any browser, with no code changes needed.

Can I register WebMCP tools from React?โ–ผ

Yes. Install @mcp-b/react-webmcp or usewebmcp and register tools directly inside your components with the useWebMCP hook.

Can desktop AI clients call my website tools?โ–ผ

Yes. The @mcp-b/webmcp-local-relay package connects any site running @mcp-b/global to desktop clients like Claude Desktop and Cursor.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’