CloudFlare Previews Automatic WebMCP Support for Web Pages
| Source: InfoQ AI/ML
Tags: Cloudflare, WebMCP, Model Context Protocol, AI agents, browser automation, MCP
Cloudflare's developer preview lets any website enable a WebMCP (Web Model Context Protocol) interface via a single dashboard toggle, allowing browser-based AI agents to call structured tools like searchFlights or bookTicket instead of scraping HTML — a potential infrastructure shift for how agents interact with the open web.
Details
Cloudflare has launched a developer preview of WebMCP support, enabling any Cloudflare-hosted website to expose structured tool interfaces to browser-based AI agents with a single dashboard switch. The implementation uses a bridge.js module injected at the edge via HTMLRewriter — no code changes required on the site itself. Website owners select tool packs from a predefined library; two packs are available now: Content Credentials (for reading C2PA image provenance metadata) and Site MCP server (proxying an existing MCP server's tools to in-browser agents). The underlying approach replaces HTML scraping with explicit function calls. Instead of an AI agent parsing HTML to find a flight booking form and simulating clicks, it calls a searchFlights function directly. This is faster, uses fewer tokens, and is far more resilient to UI changes than traditional browser automation — which breaks every time a site redesigns its layout. For developers building web-browsing agents, WebMCP-enabled sites would behave like structured APIs. The key adoption question is whether site owners see enough business value in the structured agent interface — efficient agent transactions that complete on the site, as opposed to scraping approaches that might route around it. Cloudflare's one-click activation removes the technical barrier across its massive hosting footprint, making this more significant than a standalone developer tool launch. New tool packs can be enabled without site redeployment.