Mintlify automatically generates and hosts two files that help AI tools index your documentation:Documentation Index
Fetch the complete documentation index at: https://docs.buttons.sh/llms.txt
Use this file to discover all available pages before exploring further.
llms.txt— a structured index listing every page with its title, URL, and descriptionllms-full.txt— your entire documentation site combined into a single file
Where to find them
| File | URL | Purpose |
|---|---|---|
llms.txt | https://buttons.mintlify.app/llms.txt | Page index with links and descriptions |
llms-full.txt | https://buttons.mintlify.app/llms-full.txt | Full content of every page in one file |
/.well-known/llms.txt and /.well-known/llms-full.txt for tools that follow the .well-known convention.
Mintlify adds HTTP headers to every page response so AI tools can discover these files automatically:
What llms.txt looks like
A plain Markdown file with your site title, description, and a link to every page:.md extension so AI tools can fetch the Markdown version of each page directly. Descriptions come from each page’s description frontmatter field.
When agents use llms.txt
- RAG pipelines — fetch
llms.txt, extract URLs, embed each page for vector search - Agent discovery — check
llms.txtto learn what documentation exists before deciding what to read in full - Generative search engines — Perplexity, ChatGPT, Claude, and similar tools use
llms.txtto index docs llms-full.txtfor full context — agents with large context windows can load the entire docs site in one fetch
llms.txt vs MCP vs SKILL.md
| llms.txt | MCP server | SKILL.md | |
|---|---|---|---|
| Format | Text index with page URLs | Real-time search API | Full CLI reference in one file |
| How agents use it | Fetch once, discover pages, then fetch individually | Search on demand during conversation | Load into context at session start |
| Best for | RAG, embedding pipelines, generative search | Interactive sessions (Claude Code, Cursor) | Offline agents, CI pipelines |
| Stays current | Updated on every deploy | Updated on every deploy | Regenerated via make skill |
| Network | One-time fetch + per-page | Per-query | None (file is in the repo) |
Custom override
To replace the auto-generatedllms.txt with a custom version, add an llms.txt file to the root of your docs project. Mintlify uses your custom file instead. Delete it to restore the auto-generated version.