Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/groupdocs-markdown/groupdocs.markdown.mcp/agents-mdgit clone --depth 1 https://github.com/groupdocs-markdown/GroupDocs.Markdown.McpWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01336 | $0.01336 |
| Opus 5 | $0.00668 | $0.00668 |
| Sonnet 5 | $0.00267 | $0.00267 |
| Haiku 4.5 | $0.00134 | $0.00134 |
Grade A, and why
GroupDocs.Markdown.Mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Guide for AI coding agents
Brief orientation for AI coding agents (Claude Code, Copilot, Cursor, Aider, Amp, Codex) working in this repository.
What this repo is
A standalone MCP server for GroupDocs.Markdown for .NET — exposes document-to-Markdown conversion as AI-callable tools via the Model Context Protocol.
Published to NuGet as GroupDocs.Markdown.Mcp with the McpServer package type, and to ghcr.io/groupdocs-markdown/markdown-net-mcp + docker.io/groupdocs/markdown-net-mcp as a container image.
MCP tools exposed
| Tool | Description |
|---|---|
ConvertToMarkdown |
Convert a document (PDF, DOCX, XLSX, EPUB, MOBI, …) to clean, structured Markdown; save the .md to storage and return the content inline. Supports images (base64/file/skip), pages, frontMatter, flavor. |
GetDocumentInfo |
Return file format, page count, title, author, and encryption flag as JSON, without converting. |
Both tools accept FileInput (resolved via IFileResolver) and an optional password for protected documents.
No
ComposeFromMarkdowntool. Reverse Markdown → document composition (MarkdownConverter.FromMarkdownString) throwsNotImplementedExceptionin GroupDocs.Markdown 26.3.0 — so the server does not advertise the reverse direction. When the engine ships reverse conversion, add aComposeFromMarkdownTool+ unit test + integration test together (the framework subproject already has a scaffold to port from).
Folder layout
src/ ← all projects + sln + Directory.Build.props
GroupDocs.Markdown.Mcp/
Program.cs ← host bootstrap + stdio transport
MarkdownLicenseManager.cs ← applies GroupDocs.Total license
Tools/
ConvertToMarkdownTool.cs ← [McpServerTool] — ConvertToMarkdown
GetDocumentInfoTool.cs ← [McpServerTool] — GetDocumentInfo
.mcp/
server.json ← NuGet.org reads this to generate mcp.json snippet
GroupDocs.Markdown.Mcp.csproj ← PackageType=McpServer + ToolCommandName
GroupDocs.Markdown.Mcp.Tests/ ← xUnit unit tests (Moq)
GroupDocs.Markdown.Mcp.sln
Directory.Build.props
build/
dependencies.props ← single source of truth for all versions
changelog/ ← one MD file per change (see changelog/README.md)
docker/
Dockerfile ← multi-stage, runtime on aspnet:10.0
docker-compose.yml
.github/workflows/ ← build_packages.yml, run_tests.yml, publish_prod.yml, publish_docker.yml
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 107 lines · 1,336 tokens per session scan A d8299152b298
GroupDocs.Markdown.Mcp AGENTS.md is an instructions file published in the GitHub repository groupdocs-markdown/GroupDocs.Markdown.Mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 1,336 tokens to every session, about $0.0067 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
GroupDocs.Total.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-total/GroupDocs.Total.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed (38 total), folder layout and dependencies.
GroupDocs.Conversion.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-conversion/GroupDocs.Conversion.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.
GroupDocs.Merger.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-merger/GroupDocs.Merger.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.
GroupDocs.Comparison.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-comparison/GroupDocs.Comparison.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.
GroupDocs.Comparison.Mcp copilot-instructions.md
Copilot instructions for groupdocs-comparison/GroupDocs.Comparison.Mcp, covering run / install, or install as a global dotnet tool, or run via docker, mcp tools exposed (3) and building this repo.
GroupDocs.Metadata.Mcp AGENTS.md
AGENTS.md instructions for groupdocs-metadata/GroupDocs.Metadata.Mcp, covering agents.md — guide for ai coding agents, what this repo is, mcp tools exposed, folder layout and dependencies.