Cloudflare Search for Agents turns sites into REST and MCP APIs
Cloudflare launched Search for Agents in beta on November 25 alongside CLI and MCP subscription activation for Workers Paid, R2 and Zero Trust.

By the AyCode team
Researched and written with AI, edited and approved by Niccolo Bodenstedt.
Cloudflare shipped two agent-focused infrastructure updates on November 25: Search for Agents, which turns any Cloudflare-hosted site into a discoverable search API, and in-place subscription activation from the cf CLI and MCP servers.
One toggle instead of agent scraping
As Cloudflare's blog explains, flipping Search for Agents on in the dashboard or via API creates an AI Search index for your zone, exposes REST and MCP search endpoints on your own domain, and injects <meta name="agent:instructions" ...> into HTML responses so agents find the search endpoint instead of crawling page by page. It is available across all plans, including Free with limits, while respecting WAF and bot rules.
Paying from inside an MCP session
The same day, Cloudflare updated the cf CLI (1.0.0-rc.5+) and its MCP servers so developers and coding agents can activate Workers Paid ($5/month plus usage), R2, and Zero Trust without leaving the terminal. Using MCP elicitation, supporting clients show the exact plan price and ask the user for explicit approval before modifying billing.
Our take
Giving agents a native search API cuts wasted tokens and crawl load at the same time. The trickier piece is MCP elicitation for paid upgrades: showing the price inside the client UI before any card is charged is the right safety boundary, provided clients never auto-approve billing prompts.
In AyCode
AyCode supports custom MCP servers inside your coding agents and your own Modules. If you wire Cloudflare's CLI or MCP server into an agent running in AyCode, keep permissions in Normal mode when testing billing or deployment steps so every external action pauses for your approval.
Sources
Where every claim in this post comes from. Posts on X are linked, never copied.
- CloudflareIntroducing Search for Agents
- Cloudflare ChangelogActivate Cloudflare subscriptions from the CLI and MCP
- SDxCentralCloudflare launches Search for Agents