GroupDocs.Markdown for .NET is designed to work seamlessly with AI agents, LLMs, and automated code generation tools. The library ships machine-readable documentation in multiple formats so that AI assistants can discover and use the API without manual guidance.
MCP server
GroupDocs provides an MCP (Model Context Protocol) server that enables LLMs to query the documentation on demand instead of loading it all at once. This saves tokens and lets your AI assistant fetch only the information it needs for the current task.
To connect your AI tool to the MCP server, add the GroupDocs endpoint to your MCP configuration:
// Claude Code: ~/.claude/settings.json (or project .mcp.json)
// Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
{"mcpServers":{"groupdocs-docs":{"url":"https://docs.groupdocs.com/mcp"}}}
// .vscode/mcp.json in your project root
{"servers":{"groupdocs-docs":{"url":"https://docs.groupdocs.com/mcp"}}}
// .cursor/mcp.json in your project root
{"mcpServers":{"groupdocs-docs":{"url":"https://docs.groupdocs.com/mcp"}}}
Point your AI assistant to the full documentation file for comprehensive context:
Fetch https://docs.groupdocs.com/markdown/net/llms-full.txt and use it
as a reference for GroupDocs.Markdown for .NET API.
Or reference individual pages for focused tasks:
Read https://docs.groupdocs.com/markdown/net/quick-start-guide.md
and help me convert a PDF to Markdown.
Why Markdown output is ideal for AI pipelines
GroupDocs.Markdown converts documents into clean, structured Markdown — the preferred input format for LLMs and RAG systems:
Preserves document structure — headings, lists, tables, and emphasis are retained as semantic markup
No binary noise — unlike PDF or DOCX, Markdown is plain text that tokenizes efficiently
Chunk-friendly — split by headings (## ) for embedding and retrieval
Deterministic output — same input always produces the same Markdown, enabling reliable pipelines
usingGroupDocs.Markdown;// Convert any document to LLM-ready Markdownvaroptions=newConvertOptions{ImageExportStrategy=newSkipImagesStrategy(),// text-only for RAGFlavor=MarkdownFlavor.CommonMark};stringmarkdown=MarkdownConverter.ToMarkdown("professional-services.pdf",options);// Split into chunks by headings for embeddingstring[]chunks=markdown.Split(new[]{"\n## ","\n# "},StringSplitOptions.RemoveEmptyEntries);