Skip to content
InfoQ·

🤖CloudFlare Launches WebMCP Preview for AI-Ready Websites

AI agents now have a direct line to your site's functions

TL;DR

CloudFlare introduces WebMCP, enabling browser-based AI agents to interact directly with web pages through structured tools. This removes the need for scraping and guessing, making interactions faster and more efficient.

CloudFlare has launched a developer preview of WebMCP, allowing browser-based AI agents to interact with unmodified web pages via structured tools. Instead of scraping or guessing, these agents can call explicit functions like searchFlights or bookTicket directly through the document.modelContext API or declarative JavaScript API. This is a big deal for developers and businesses looking to integrate AI into their workflows without worrying about UI changes breaking automation scripts. The preview supports Chrome 145+ and includes two initial tool packs: Content Credentials and Site MCP server, with more on the way.

CloudFlare Launches WebMCP Preview for AI-Ready Websites — InfoQ

Key Points

1

WebMCP enables direct interaction between browser-based AI and unmodified websites via document.modelContext API or declarative JavaScript API

2

CloudFlare's preview supports two initial tool packs: Content Credentials, Site MCP server

3

Tool packs can be enabled without redeploying the site, enhancing flexibility for developers

4

WebMCP uses bridge.js module injected into served webpages using HTMLRewriter to compose and register tools

5

Supports Chrome 145+ only; requires enabling WebMCP in Cloudflare Dashboard's Agent Readiness > Labs

Why It Matters

If you're building an AI-driven automation tool, WebMCP simplifies the process by allowing direct interaction with web page functions. This means no more brittle scripts that break when a site redesign happens. For example, if your team uses an AI agent to automate booking flights or hotel rooms, WebMCP ensures these tasks remain reliable even as websites evolve.

CloudFlareWebMCPAIAutomation

Frequently Asked Questions

Why does this matter?

If you're building an AI-driven automation tool, WebMCP simplifies the process by allowing direct interaction with web page functions. This means no more brittle scripts that break when a site redesign happens. For example, if your team uses an AI agent to automate booking flights or hotel rooms, WebMCP ensures these tasks remain reliable even as websites evolve.

What happened?

CloudFlare introduces WebMCP, enabling browser-based AI agents to interact directly with web pages through structured tools. This removes the need for scraping and guessing, making interactions faster and more efficient.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 2,788 builders reading daily.

Also get