The llms.txt ecosystem
llms.txt is a community proposal: a “README for LLMs” served at the site root as Markdown, so models can understand a site’s structure without crawling every page.
This site ships two
Section titled “This site ships two”/llms.txt— just the documentation index and MCP access info; small, ideal for discovery/llms-full.txt— every page concatenated; ideal for one-shot context ingestion
Both are generated by buildLlmsIndex / buildLlmsFull in src/lib/docs.ts and served by src/pages/llms.txt.ts / src/pages/llms-full.txt.ts, with prerender = true.
Relationship with MCP
Section titled “Relationship with MCP”| Capability | /llms.txt | /mcp |
|---|---|---|
| Client requirement | anything that can fetch a URL | MCP-compatible client |
| Data shape | static plain text | live JSON-RPC |
| Retrieval | done client-side | built-in search_docs tool |
| Incremental updates | full re-read | per-resource fetch |
They are complementary. Pure-static deployments only get llms.txt. Deployments with a Node runtime can offer both.