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
| Layer | Cost | Who controls it | Agents shown using it | What it earns today |
|---|---|---|---|---|
| 1. robots.txt, Content Signals, AI Crawl Control | Free on all Cloudflare plans | You (robots.txt only asks; the firewall enforces) | All the major crawlers read robots.txt | Access control. It also gates your own Cloudflare search crawler |
| 2. llms.txt | A text file | You | Coding agents on documentation sites. Answer engines barely touch it | Little outside docs. In Ahrefs’ study, 97% of files got zero requests in a month |
| 3. Markdown for Agents | Free on Pro, Business and Enterprise. Not on Free | Cloudflare converts; you switch it on | Claude Code, Cursor, OpenCode. Not Codex, Gemini CLI, GitHub Copilot or Windsurf | Cheaper, cleaner page reads for three coding agents |
| 4. Search for Agents | Beta on all plans; metered from 1 December 2026 | Cloudflare runs the index and endpoint; you switch it on | Only OpenCode, in Cloudflare’s own test | Unproven. A Cloudflare convention, not a web standard |
| 5. MCP server or app | Real build and hosting work | You build it; the platform approves the listing | ChatGPT apps run on MCP | Strong 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 asblocked_by_robots_txtand not indexed. - A Content Signal can switch off your own index. The crawler declares the
searchandai-inputpurposes. A robots.txt that sets either tonorejects 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.
| Item | Detail |
|---|---|
| Free allowance | Per 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 limit | 500 pages a day. A 100,000-page site needs about 200 days for a first full crawl |
| Billing start | 1 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
- 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.
- On a Pro plan, turn on Markdown for Agents and set your own
content-signalheader. - 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/searchbefore you count on it. - 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=noorai-input=noContent 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 saysai-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.
Related
- seo/ai-crawler-access — layer 1 in depth: bot taxonomy, robots.txt vs firewall
- glossary/llms-txt — what llms.txt is and what the usage data shows
- seo/agentic-search-optimization — the wider discipline of being found by agents, including WebMCP and Shopify
- automation/agentic-commerce — the feeds and protocols shopping agents actually use
- seo/ai-visibility — getting cited in AI answers
- Does llms.txt Actually Work? — Blog: the citation studies, log studies and a decision rule by site type
Sources
- Cloudflare blog: Search for Agents (25 Nov 2026) — launch post; OpenCode test (vendor)
- Cloudflare docs: Search for Agents — setup, defaults, endpoint, meta tags
- Cloudflare docs: AI Search limits and pricing — quotas, overage prices, 500 pages/day, billing from 1 Dec 2026
- Cloudflare docs: AI Search website crawler —
Cloudflare-AI-Searchrespects robots.txt and Content Signals - Cloudflare docs: Markdown for Agents — plans, default
ai-train=yesContent-Signal - Cloudflare changelog: Markdown for Agents (12 Feb 2026) — launch
- Cloudflare docs: managed robots.txt — default
ai-train=no - Cloudflare blog: Agent Readiness (Apr 2026) — adoption rates, MCP cards on fewer than 15 sites (vendor)
- Checkly: the state of AI agent content negotiation (Feb 2026) — which coding agents ask for Markdown
- Ahrefs: llms.txt study (Jun 2026) — 137,210 domains; 97% of files got zero requests
- IANA well-known URIs registry —
searchnot registered (checked 27 Nov 2026) - PPC Land: Cloudflare’s search box for AI agents — cost illustrations, open questions (secondary)
- Dejan: Cloudflare Search for Agents — independent read on the standards question
- OpenAI: developers can now submit apps to ChatGPT — MCP-based apps and directory review