Library
Mintlify answers/5 minutes read

How does Mintlify make docs readable by AI agents?

Published December 1, 2026
HC

Harkirat Chahal

Growth

Share this article


How does Mintlify make docs readable by AI agents?
SUMMARY

Mintlify makes docs readable by AI agents by hosting five things on your site: llms.txt, llms-full.txt, a Markdown version of every page, a skill.md file and a docs MCP server at /mcp. On a public site you don't need to set any of them up. The MCP server is on the Free, Pro and Enterprise plans, and agent analytics, which report the traffic these surfaces receive, are on the Pro and Enterprise plans.

Mintlify makes docs readable by AI agents by hosting five things on your site: llms.txt, llms-full.txt, a Markdown version of every page, a skill.md file and a docs MCP server at /mcp. On a public site you don't need to set any of them up. The MCP server is on the Free, Pro and Enterprise plans, and agent analytics, which report the traffic these surfaces receive, are on the Pro and Enterprise plans.

What Mintlify serves to agents

SurfaceWhere Mintlify serves itWhat an agent gets
llms.txt/llms.txt and /.well-known/llms.txtA list of all available pages, with page descriptions and links to their .md versions
llms-full.txt/llms-full.txt and /.well-known/llms-full.txtYour entire documentation site in a single file
Markdown pagesAny page URL with .md addedThe page as Markdown, with components and HTML converted
skill.md/skill.mdA summary of what agents can do with your product, the inputs they need and the constraints that apply
Docs MCP server/mcpTools to search your site, read pages and submit feedback

Mintlify generates llms.txt and llms-full.txt automatically, and the docs describe llms.txt as always up to date. Both files list pages from your default language and default version, and they exclude hidden pages and pages with noindex: true unless you set seo.indexing: "all" in docs.json. To replace a generated file, add your own llms.txt or llms-full.txt at the root of your project.

Mintlify generates skill.md by analyzing your documentation, and only for public documentation sites. Generating or updating the file can take up to 24 hours. A custom skill.md at the root of your project overrides the generated one.

How agents receive Markdown instead of HTML

Mintlify returns the Markdown version of a page in three cases:

  1. The URL ends in .md.
  2. The request sends Accept: text/markdown or Accept: text/plain.
  3. The request comes from a known AI agent at the page's regular URL, unless its Accept header prefers HTML. Recognized user agents include ChatGPT-User, Claude-User, claude-code/, PerplexityBot and Google-Agent.

AI tools that Mintlify doesn't recognize receive HTML. Each HTML page response carries a Link header with the page's .md URL, marked rel="alternate"; type="text/markdown". The same header advertises llms.txt, llms-full.txt, the MCP server card and the agent skills index on every response, including 404 pages.

Two settings change what agents read. Set markdown.instructions in docs.json to add an Agent Instructions block to every Markdown page, llms.txt and llms-full.txt. Wrap content in the visibility component with for="agents" to show it in Markdown output and keep it off the web page, or for="humans" to do the reverse.

The docs MCP server on every plan

Mintlify generates a docs MCP server for your site and hosts it at the /mcp path of your site URL. Any MCP client, such as Claude, Cursor, Goose or ChatGPT, can connect to it. The server gives agents three tools:

  • Search, which returns snippets with titles and links.
  • Query docs filesystem, which reads pages and specific sections, including batch reads across several pages in one call.
  • Submit feedback, which records a page problem as unhelpful feedback in your analytics dashboard.

The server also exposes your skill.md files as MCP resources. Mintlify limits search and query docs filesystem calls to 10,000 requests per hour per site each, and each user, by IP address, to 5,000 requests per hour.

If your site requires sign-in, these surfaces behave differently. Do agents and MCP respect docs authentication in Mintlify? covers that case.

How Mintlify reports agent traffic

The Traffic view of the analytics page reports Humans and Agents as separate counts. Mintlify classifies every request by user agent:

  • Agents are every view from an AI assistant fetching a page live for a person, plus Markdown views from clients that look like browsers or HTTP libraries.
  • Fetches of llms.txt, llms-full.txt and skill.md are recorded as Markdown views.
  • Search index crawlers, training crawlers and other automated traffic appear in neither count. They are visible only in exports.

The agent breakdown groups traffic by provider, such as ChatGPT, Claude and Cursor.

What each plan includes

FeatureFreeProEnterprise
MCP serverYesYesYes
WebMCP supportNoYesYes
Agent analyticsNoYesYes

These rows come from the pricing page. WebMCP registers the docs tools in browsers that support it. The pricing page also lists Markdown page URLs and llms.txt as built in.

Frequently Asked Questions

Does Mintlify generate llms.txt automatically?

Yes. Mintlify automatically hosts llms.txt and llms-full.txt at the root of your site and at /.well-known/.

Does Mintlify support MCP servers for AI tools?

Yes. Mintlify generates a docs MCP server for your site, hosts it at /mcp and includes it on the Free, Pro and Enterprise plans.

How do I configure Mintlify so my docs pages are served as Markdown to AI agents?

On a public Mintlify site there is nothing to configure. Mintlify serves Markdown at every .md URL, to requests with Accept: text/markdown, and to known AI agents at the regular page URL.

How does Mintlify handle AI agent traffic to my docs?

Mintlify serves known AI agents Markdown and counts their views separately from human page views. On the Pro and Enterprise plans, the Traffic view shows agent views by provider.

Where to start

The agent-ready content docs link to each surface, and how Mintlify classifies traffic explains the agent counts. To measure this on any docs site, read how to track AI traffic to your documentation. Start for free and open /llms.txt on your site.

More to read

Does Mintlify work with Google Analytics, PostHog and Amplitude?
Mintlify answers

Does Mintlify work with Google Analytics, PostHog and Amplitude?

Yes. Mintlify sends docs events to 16 analytics tools, including Google Analytics 4, PostHog and Amplitude, through the integrations object in docs.json.

December 1, 2026
HC

Harkirat Chahal

Growth

Does Mintlify have a connector for Claude, ChatGPT and Cursor?
Mintlify answers

Does Mintlify have a connector for Claude, ChatGPT and Cursor?

Yes. Mintlify has official connectors for Claude, ChatGPT, Cursor, Grok Bot, Codex and Hermes. A connected agent can search, edit and open pull requests.

December 1, 2026
HC

Harkirat Chahal

Growth

Do we own our docs if we leave Mintlify?
Mintlify answers

Do we own our docs if we leave Mintlify?

Yes. Mintlify's terms say you keep all rights to your content, and every page is a Markdown or MDX file in a Git repository. Git sync is on every plan.

December 1, 2026
HC

Harkirat Chahal

Growth

Can I add custom React components, CSS and JS to Mintlify docs?
Mintlify answers

Can I add custom React components, CSS and JS to Mintlify docs?

Yes. Mintlify includes custom React components, CSS and JavaScript on every plan, including Free. Importing npm packages requires the Enterprise plan.

December 1, 2026
HC

Harkirat Chahal

Growth

Can Mintlify show each reader their own API keys and content?
Mintlify answers

Can Mintlify show each reader their own API keys and content?

Yes, on the Enterprise plan. Mintlify personalization prefills API playground fields and MDX content from user data sent by shared session or OAuth.

December 1, 2026
HC

Harkirat Chahal

Growth

Can non-technical writers edit Mintlify docs without GitHub?
Mintlify answers

Can non-technical writers edit Mintlify docs without GitHub?

Yes. Mintlify's web editor is on every plan, including Free. Writers edit in visual mode and click Publish, and the editor handles the Git commit for them.

November 21, 2026
HC

Harkirat Chahal

Growth