Skip to content

Agent-Readable Site Layers From robots.txt to MCP

TL;DR: A site can offer AI agents five layers: robots.txt and Cloudflare’s crawler controls, llms.txt, Markdown versions of pages, a site search endpoint (Cloudflare’s Search for Agents, launched 25 November 2026), and an MCP server or app. Each layer only pays off if the one above it lets the agent in. Cost rises as you go down the list, and independent evidence that real agents use a layer runs out after the Markdown layer. As of 27 November 2026, the only agent shown calling Search for Agents is OpenCode, in Cloudflare’s own test.

Who this is for

Site owners deciding which “make your site AI-ready” switches are worth turning on, especially on Cloudflare. If you only do one thing, get the first layer right. It decides whether any of the others see traffic.

The five layers at a glance

LayerCostWho controls itAgents shown using itWhat it earns today
1. robots.txt, Content Signals, AI Crawl ControlFree on all Cloudflare plansYou (robots.txt only asks; the firewall enforces)All the major crawlers read robots.txtAccess control. It also gates your own Cloudflare search crawler
2. llms.txtA text fileYouCoding agents on documentation sites. Answer engines barely touch itLittle outside docs. In Ahrefs’ study, 97% of files got zero requests in a month
3. Markdown for AgentsFree on Pro, Business and Enterprise. Not on FreeCloudflare converts; you switch it onClaude Code, Cursor, OpenCode. Not Codex, Gemini CLI, GitHub Copilot or WindsurfCheaper, cleaner page reads for three coding agents
4. Search for AgentsBeta on all plans; metered from 1 December 2026Cloudflare runs the index and endpoint; you switch it onOnly OpenCode, in Cloudflare’s own testUnproven. A Cloudflare convention, not a web standard
5. MCP server or appReal build and hosting workYou build it; the platform approves the listingChatGPT apps run on MCPStrong once a user connects it. Agents can’t find it from your site

Layer 1: robots.txt and Content Signals

The basics are on seo/ai-crawler-access. Two details matter for the layers below:

  • Cloudflare’s own search crawler obeys robots.txt. The crawler behind Search for Agents identifies as Cloudflare-AI-Search. Pages robots.txt disallows are logged as blocked_by_robots_txt and not indexed.
  • A Content Signal can switch off your own index. The crawler declares the search and ai-input purposes. A robots.txt that sets either to no rejects the whole crawl. Bot Management, WAF and Turnstile rules also apply to it, so a strict bot setup can block your own search endpoint without you noticing.

Cloudflare’s managed robots.txt, available on all plans, defaults to search=yes, ai-train=no.

Layer 2: llms.txt

Covered in depth on glossary/llms-txt. Ahrefs’ study of 137,210 domains (June 2026) found 28% publish one and 97% of those files got zero requests in May 2026. Coding agents fetch it on docs sites; answer engines “never go looking” for one that’s missing. Cloudflare’s own benchmark claims its docs used 31% fewer tokens with a refined llms.txt. That’s a vendor test of its own docs, so treat it as an upper bound.

Layer 3: Markdown for Agents

Since 12 February 2026, Cloudflare can serve a Markdown copy of any HTML page when an agent sends Accept: text/markdown. It strips navigation, header and footer, and keeps structured data.

Which agents ask for Markdown. Checkly captured the request headers of seven coding agents in February 2026. Three asked for Markdown: Claude Code, Cursor and OpenCode. Codex, Gemini CLI, GitHub Copilot and Windsurf did not. Nobody has tested the consumer apps (ChatGPT, Claude.ai, Perplexity, Gemini). Cloudflare reports the feature passing on 3.9% of sites.

Watch the training signal. When your origin sends no content-signal header, Markdown for Agents adds Content-Signal: ai-train=yes, search=yes, ai-input=yes. Cloudflare’s managed robots.txt says ai-train=no. The docs don’t say the two are synced, so a site using both may be telling AI companies two opposite things about training. Our read from the two docs pages; we haven’t tested a zone with both on. Either way, the fix is to set your own content-signal header at the origin. Cloudflare keeps it if you do.

Layer 4: Cloudflare Search for Agents

What it is. Launched 25 November 2026. Turn it on under your domain → Overview → Quick Actions. Cloudflare crawls the site from its sitemaps and links, indexes it, and answers agent queries at https://yourdomain/.well-known/search?q=. It returns matching passages in Markdown, not a written answer. Four agent: meta tags in each page’s <head> tell agents the endpoint exists.

Defaults: up to 100,000 pages, re-synced every 24 hours, hybrid keyword and vector search, 10 passages per answer.

What it costs.

ItemDetail
Free allowancePer account, not per plan: 1,000 semantic and 1,000 full-text queries a month. Default searches bill at the semantic rate, so about 1,000 free agent searches
Overage$0.75 per 1,000 semantic queries; $0.10 per 1,000 full-text
Indexing and storage$0.75 per million tokens ingested; $2.00 per GB-month
Free-plan crawl limit500 pages a day. A 100,000-page site needs about 200 days for a first full crawl
Billing start1 December 2026

What we still don’t know. Whether cached answers are billed. What switching the toggle off does to the index and its storage bill (only deleting the instance is documented as permanent). Whether you get any report of what agents searched for.

Is anyone using it? Cloudflare names one agent, OpenCode, which found the endpoint from a homepage in Cloudflare’s test. We found no independent test with ChatGPT, Claude, Perplexity or Gemini. /.well-known/search isn’t in the IANA registry of well-known addresses, and no AI company has said it reads agent: tags. Two days after launch, that’s expected rather than damning.

A cost the docs don’t mention. Agents get passages, not page views, so these visits show up in no analytics and see no ads. One test query we ran returned about 50 KB of Markdown. That’s roughly 12,000–14,000 tokens for the agent to read, by our estimate.

Layer 5: MCP and brand-as-tool

An MCP server or ChatGPT app lets an agent act on your brand: check stock, book, quote. Layers 2–4 can’t do that. OpenAI has taken ChatGPT app submissions since December 2025, with a review before listing. Chrome is experimenting with WebMCP (in-page tools) from version 149. The catch: agents don’t discover any of this from your site. Cloudflare’s scan found MCP server cards and API catalogues on fewer than 15 sites. A user or a platform directory has to connect it.

For online stores: feed first

Search for Agents indexes page text. It has no price, stock or variant fields and no checkout, and it re-syncs once a day, so prices an agent reads can be a day old. Shopping agents run on structured feeds instead: Google’s UCP catalogue, OpenAI’s product feed, Shopify’s syndication. See automation/agentic-commerce. A store on a budget should get the feed right first. Search for Agents helps an agent read guides, sizing and FAQs. It doesn’t replace the feed.

What we’d do now

  1. Check that robots.txt, Content Signals and bot rules let in the agents you want. That includes Cloudflare’s own crawler if you plan to use Search for Agents.
  2. On a Pro plan, turn on Markdown for Agents and set your own content-signal header.
  3. Treat Search for Agents as an experiment. The free allowance covers about 1,000 searches a month. Watch your logs for named agents hitting /.well-known/search before you count on it.
  4. Build an MCP server or app only when there’s an action worth handing an agent, and a directory or customer base that will connect it.

Key Takeaways

  • Each layer only pays off if the one above it lets agents in. A search=no or ai-input=no Content Signal also shuts out Cloudflare’s own Search for Agents crawler.
  • llms.txt helps coding agents on docs sites; 97% of files in Ahrefs’ study got no requests in a month.
  • Markdown for Agents is Pro-plan and up. Three of seven tested coding agents ask for Markdown; no consumer app has been tested.
  • With no origin header, Markdown for Agents sends ai-train=yes, while Cloudflare’s managed robots.txt says ai-train=no. Set your own header.
  • Search for Agents is billed from 1 December 2026. About 1,000 free searches a month; 500 crawled pages a day on Free; no independent evidence of use yet.
  • Stores should fix their product feeds before adding an agent search box.

Sources