MCP & agents

Search for Agents: Cloudflare makes your site searchable to AI agents

Cloudflare Blog AI Celso Martinho
MCP & agents

Cloudflare's Search for Agents creates an AI Search index for your zone behind a single toggle, advertises it to agents through page metadata and a /.well-known/search endpoint, and accepts the new HTTP QUERY method.

Key points

  • One toggle under Quick Actions in the zone dashboard creates the AI Search instance and starts crawling.
  • Every HTML page gets agent:endpoint and agent:instructions meta tags pointing at /.well-known/search.
  • With Markdown for Agents enabled, the same details arrive as YAML front matter for Accept: text/markdown requests.
  • Responses are scored Markdown chunks, not generated answers, so the calling model writes the reply.
  • QUERY, the Proposed Standard in RFC 10008, is accepted with a plain-text or JSON request body.
  • The instance remains a normal AI Search one: reranking, cache settings, public REST or MCP endpoints.
  • Ingest, storage and queries follow AI Search pricing, within the Workers Free and Paid included usage.

Why it matters

If your docs are public, agents are already crawling them, and a full-site crawl is the expensive way to answer one question: it burns tokens and context before anything useful appears. A discoverable search endpoint cuts that down, and the advertised meta tags are the part worth copying, because discovery rather than indexing is what usually fails.

Check two things before flipping the toggle. The endpoint still sits behind your bot management, AI Crawl Control and WAF rules, so the access you granted agents elsewhere applies here too. And ingest, storage and queries all bill as AI Search. It is also zone-bound, so it only helps sites already on Cloudflare.

Real-world use

  • A documentation site where agents look up reference pages instead of crawling every URL
  • A long agent session that queries the same site repeatedly while working through a task
  • A team that reuses the same index for human-facing search on its own pages
  • Developers who want to call the search from a Worker or an MCP endpoint on Cloudflare

This summary was generated by the agent from the original post on Cloudflare Blog AI. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message