W3C WebMCP toolkit for Chrome 146. Expose any website as a structured MCP server for AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
AI Disclosure: This README was written with AI assistance and reviewed for accuracy.
Make any website agent-ready in 10 minutes. Built for navigator.modelContext.
March 2026 update: Google shipped WebMCP in Chrome 146 Canary. Google, Microsoft, and W3C co-authored the specification. This is not a startup experiment β it's Big Tech stamping a new web standard.
webmcp-sdk is the only TypeScript-first implementation toolkit. We built it before the spec finalized and we maintain it as the standard evolves.If you're building for the agentic web, the window to establish yourself as an early implementer is right now.
Google and Microsoft co-authored the W3C WebMCP specification. The standard shipped in Chrome 146 Canary (February 2026). We built the implementation toolkit.
The raw navigator.modelContext API is low-level. webmcp-sdk gives developers a TypeScript-first, production-ready layer on top of it:
useWebMCPTool() registers on mount, cleans up on unmountIf you are building for the agentic web, this is the toolkit.
This works in Node or tests with no browser setup.
When navigator.modelContext is available in the browser, kit.register(...) also registers the tool there automatically. There is no separate init() step.
Canonical docs and example in this repo:
docs/browser-hello-quickstart.mdexamples/browser-hello/If WebMCP is available, your tool is now agent-readable.
For the full browser proof path, including build, local serve, visible result, and auto-registration checks, follow docs/browser-hello-quickstart.md and use examples/browser-hello/.
Pair with agent-wallet-sdk to accept x402 micropayments inside your WebMCP tools:
WebMCP is a W3C draft specification that adds a navigator.modelContext API to browsers. It lets AI agents interact with web pages through a standardized interface β registering tools, reading structured context, and calling functions declared by the page.
Key links:
Companion note in this repo:
docs/claude-code-polyfill-bridge.mdwebmcp-sdk works with Claude Code's Chrome Extension through the @mcp-b/global polyfill. Here's how the pieces connect:
How it works: When Claude Code's Chrome Extension visits a page that has webmcp-sdk tool registration code on it, the extension detects navigator.modelContext (provided by the polyfill in pre-stable Chrome, or natively in Chrome 146+). Claude discovers your registered tools and can invoke them directly from the chat interface.
Setup for site owners:
You can also start from the repo example in examples/browser-hello/ and swap its demo.hello tool for your real tool.
What Claude Code users get: When visiting your page with the Claude Chrome Extension active, your site's tools appear alongside Claude's built-in MCP tools. No configuration needed on the user's side - discovery is automatic through navigator.modelContext.
Tracking native support: GitHub Issue #30645 on anthropics/claude-code tracks native WebMCP support in the Claude Chrome Extension. The polyfill bridges the gap until that ships.
Compatibility matrix:
| Browser | WebMCP Support | Notes |
|---|---|---|
| Chrome 146 Canary | Native navigator.modelContext | Full support, no polyfill needed |
| Chrome stable (pre-146) | Via @mcp-b/global polyfill | Works with Claude Chrome Extension |
| Edge | Expected (Chromium-based) | Tracking W3C spec adoption |
| Firefox / Safari | Not yet | W3C working group stage |
Chrome's Content Security Policy blocks tool handlers from calling private APIs directly. The Proxy Relay routes those calls through a local HTTP server (or a Service Worker) so your tools can reach authenticated, internal, or CORS-restricted endpoints without opening up your CSP.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/webmcp-make-any-website-agent-ready)<a href="https://allmcps.com/mcp/webmcp-make-any-website-agent-ready"><img src="https://allmcps.com/api/badge/webmcp-make-any-website-agent-ready?style=directory" alt="WebMCP β Make Any Website Agent Ready on AllMCPs" /></a>