Agents

LLMs.txt

How to get AI tools to understand M0 protocol documentation, terminology, and best practices.

M0 docs provide machine-readable text files that AI tools can consume to understand the M0 protocol, its terminology, and technical documentation.

What is LLMs.txt?

LLMs.txt is a standard format that provides website content in a way optimized for large language models. Instead of parsing HTML, AI tools can read structured markdown that contains the essential information.

Available Routes

RouteDescriptionSize
/llms.txtOverview of all documentation sections with page links~5K tokens
/llms-full.txtComplete documentation content — all pages concatenated~200K+ tokens
/llms/get-started.txtGet Started section onlySmaller
/llms/launch-guide.txtLaunch Guide section onlySmaller
/llms/protocol-docs.txtProtocol Docs section onlySmaller
/llms/resources.txtResources section onlySmaller

Choosing the Right File

  • Use /llms.txt when you need a quick overview or want to find the right section to dive into.
  • Use section-specific files (e.g., /llms/protocol-docs.txt) when you know which area you need and want to keep token usage low.
  • Use /llms-full.txt when you need comprehensive context across all M0 documentation. This is large — only use it with tools that support large context windows.

Usage with AI Tools

Cursor

Add as a documentation source in your project's .cursor/rules file:

@https://docs.m0.org/llms-full.txt

Or reference a specific section:

@https://docs.m0.org/llms/protocol-docs.txt

Windsurf

Add to your project rules or reference the URL directly in chat:

Refer to https://docs.m0.org/llms-full.txt for M0 documentation

ChatGPT, Claude, and Other Chat Tools

Paste the URL directly in your conversation:

Read https://docs.m0.org/llms.txt and answer my questions about M0
For the best experience with M0 documentation, use the MCP Server instead of LLMs.txt. MCP allows your AI assistant to search and fetch specific pages on demand rather than loading everything at once.
Copyright © M0 Foundation 2026