Edge Computing with Cloudflare Workers
Give any website a WebMCP interface

Give any website a WebMCP interface

8/6/2026 · Will Rowe

What this post added

Introduced WebMCP support on Cloudflare, enabling websites to expose tools for AI agents via an injected bridge script. This involves using HTMLRewriter to add a script tag referencing a bridge.js served from the edge. The bridge composes tool packs (e.g., Content Credentials for C2PA metadata, Site MCP Server for origin communication) and registers them with `document.modelContext.registerTool`. The Content Credentials pack scans images for provenance metadata, and `inspect_image_c2pa` decodes full manifests. The Site MCP Server pack acts as a proxy to the origin's MCP server.

Read the original post ↗