Cloudflare is launching a developer preview of WebMCP, a feature that adds a Model Context Protocol (MCP) interface to any website hosted on Cloudflare with a single dashboard toggle — no code changes or origin modifications required. WebMCP is a new browser standard (shipping experimentally in Chrome 146) that exposes tools via `document.modelContext`, allowing AI agents browsing a site to interact with it directly rather than scraping. Cloudflare injects a small bridge script at the edge using HTMLRewriter, which registers tool packs in the visitor's browser. Two tool packs are included in the preview: a Content Credentials pack (reads C2PA image metadata) and a Site MCP Server pack (proxies an existing MCP server endpoint using the visitor's session). All tools run client-side with no server round-trips to Cloudflare. BrowserRun, Cloudflare's remote browser, can discover and call these tools, completing the agent-browsing loop.

7m read timeFrom blog.cloudflare.com
Post cover image
Table of contents
Copy link A developer preview of WebMCP on CloudflareCopy link What this does and how it worksCopy link Checking out content metadataCopy link Try it outCopy link Why we built this
6K Impressions1 Comment