Docs for AI Agents
Give AI assistants and agents the Stacksync documentation as Markdown, through llms.txt, MCP or a question API
The Stacksync documentation is built to be read by AI assistants and agents as well as people. Every page is available as clean Markdown, and the whole site can be searched and queried from your AI assistant.
| What you need | Use |
|---|---|
| Let an AI assistant (Claude, ChatGPT, Cursor, VS Codeβ¦) search and read the documentation while it works | Docs MCP server |
| Let an AI assistant build and manage syncs, workflows and Genies in your Stacksync workspace | Stacksync MCP |
| Get an answer to a question, written from the docs, from a script or agent | Ask API |
| Give a model the docs as context | llms.txt and llms-full.txt |
| Read one page as Markdown | Markdown pages |
| Call the Stacksync API from an agent or a script | API reference |
llms.txt
Two files follow the llms.txt standard:
/llms.txt: an index of every page, with its title, description and a link to its Markdown, grouped by section. Start here when an agent needs to find the right page./llms-full.txt: the full content of every page in one Markdown file, for loading the whole documentation into a model's context or a retrieval index.
curl https://docs.stacksync.com/llms.txtMarkdown pages
Every docs page is also available as Markdown. Add .md to its URL:
curl https://docs.stacksync.com/two-way-sync/quick-start.mdThe home page is at /index.md.
Agents can also request any page URL with an Accept: text/markdown header and get Markdown instead of HTML:
curl -H "Accept: text/markdown" https://docs.stacksync.com/two-way-sync/quick-startEach page's Markdown starts with its title, description and source URL, followed by the content. Every HTML page also links to its Markdown version with <link rel="alternate" type="text/markdown">.
You can also copy any page as Markdown, or open it in ChatGPT or Claude, from the buttons under the page title.
API reference
The API Reference documents every operation of the Stacksync API on its own page, also available as Markdown with .md, and in llms.txt, search and the Docs MCP server like every other page. The whole API is one OpenAPI 3.1 document, /openapi.json; For AI agents sums up its rules on one screen.
Crawlers
robots.txt allows AI crawlers to index, quote and train on the docs (Content-Signal: ai-train=yes, search=yes, ai-input=yes), and sitemap.xml lists every page.