# Use cases Step-by-step scenarios for turning documents into Markdown with AI agents over MCP: RAG ingestion, publishing to a static site, extracting a section, and keeping it all local. Step-by-step scenarios for converting documents to Markdown with AI agents over MCP — each page answers one real question completely, with the config, the exact prompt, and the expected result: * [How to convert documents to Markdown for RAG with an AI agent]({{< ref "markdown/mcp/use-cases/convert-documents-for-rag.md" >}}) — start here: the ingestion pattern, image strategy, and the licence trap. * [How to publish documents to a static site as Markdown]({{< ref "markdown/mcp/use-cases/publish-to-a-static-site.md" >}}) — front matter, image files, and the right dialect for your generator. * [How to convert just one section of a document to Markdown]({{< ref "markdown/mcp/use-cases/convert-a-section-not-a-book.md" >}}) — page ranges, worksheets, and getting the numbers right first. * [How to migrate legacy documentation to Markdown with AI]({{< ref "markdown/mcp/use-cases/migrate-legacy-documentation.md" >}}) — CHM, EPUB, old Word archives — and the scanned files that will not convert. * [Running GroupDocs MCP servers on-premise: architecture and security model]({{< ref "markdown/mcp/use-cases/on-premise-markdown-conversion.md" >}}) — architecture and security model for regulated environments. New to the server? [Quick start]({{< ref "markdown/mcp/getting-started/_index.md" >}}) first.