GroupDocs.Comparison.Mcp
Copilot instructions1 starsChanged 4 months agoMITView on GitHub
This repository is a standalone MCP (Model Context Protocol) server that exposes GroupDocs.Comparison for .NET as AI-callable tools for Claude, Cursor, GitHub Copilot, and other MCP clients. Published to NuGet as GroupDocs.Comparison.Mcp (PackageType=McpServer) and as container images at ghcr.io/groupdocs-comparison/comparison-net-mcp and docker.io/groupdocs/comparison-net-mcp. MIT-licensed. Supported formats: PDF, DOCX, XLSX, PPTX, ODT, ODS, ODP, RTF, TXT, HTML, and 30+ more. Only these three are supported — do not add new ones without updating server.json, docker-compose.yml, and README.md together:
The file
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
Only these three are supported — do not add new ones without updating server.json, docker-compose.yml, and README.md together:
- Very specific: line 54
Do not edit obj/ or build_out/ (build artifacts).
- Very specific: line 58
Not the GroupDocs.Comparison SDK itself — that is a separate package (GroupDocs.Comparison).
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot instructions — GroupDocs.Comparison MCP Server
This repository is a standalone MCP (Model Context Protocol) server that exposes GroupDocs.Comparison for .NET as AI-callable tools for Claude, Cursor, GitHub Copilot, and other MCP clients.
Published to NuGet as GroupDocs.Comparison.Mcp (PackageType=McpServer) and as container images at ghcr.io/groupdocs-comparison/comparison-net-mcp and docker.io/groupdocs/comparison-net-mcp. MIT-licensed.
Run / install
# Run directly with dnx (recommended — no install step); pin with @<version> for shared configs/CI
dnx GroupDocs.Comparison.Mcp --yes
# Or install as a global dotnet tool
dotnet tool install -g GroupDocs.Comparison.Mcp
groupdocs-comparison-mcp
# Or run via Docker
docker run --rm -i -v $(pwd)/documents:/data ghcr.io/groupdocs-comparison/comparison-net-mcp:latestMCP tools exposed (3)
- Compare — compare two documents (source vs target), produce a marked-up result file with differences highlighted, plus a change-count summary and a structured JSON change list (type, page, changed fragment, source/target text, table cell, style changes). Optional
sourcePassword/targetPassword. - AnalyzeChanges — return the differences as structured data only (same JSON change list as Compare) without rendering or saving a result file. Cheaper than Compare; for summarizing/reasoning about what changed. Optional
sourcePassword/targetPassword. - GetDocumentInfo — inspect a single source document and return file type, page count, file size, and per-page dimensions as JSON; no comparison. Optional
password.
Supported formats: PDF, DOCX, XLSX, PPTX, ODT, ODS, ODP, RTF, TXT, HTML, and 30+ more.
Building this repo
dotnet restore
dotnet build src/GroupDocs.Comparison.Mcp.sln -c Release
dotnet test src/GroupDocs.Comparison.Mcp.sln -c Release
dotnet run --project src/GroupDocs.Comparison.Mcp # run the server locally (stdio)
pwsh ./build.ps1 # local pack to ./build_outEnvironment variables
Only these three are supported — do not add new ones without updating server.json, docker-compose.yml, and README.md together:
GROUPDOCS_MCP_STORAGE_PATH— base folder for input + output (defaults to cwd)GROUPDOCS_MCP_OUTPUT_PATH— optional, routes output files to a separate folderGROUPDOCS_LICENSE_PATH— path toGroupDocs.Total.lic; omit for evaluation mode (watermarked output)
Conventions (see AGENTS.md for the full list)
- Target framework is
net10.0only — required bydnxand the MCP SDK. - Tools need rich
[Description("...")]strings — AI agents read these over MCP; write task-oriented sentences. - Versioning is CalVer
YY.MM.Nand lives in two places that must stay in lockstep:build/dependencies.props(<GroupDocsComparisonMcp>) andsrc/GroupDocs.Comparison.Mcp/.mcp/server.json.build.ps1enforces this at pack time. Do not hardcode the version in the.csproj. - Do not remove
<PackageType>McpServer</PackageType>or<ToolCommandName>groupdocs-comparison-mcp</ToolCommandName>from the csproj — NuGet discoverability anddnxdepend on them. - Tests use xUnit + Moq; any behaviour change adds a
changelog/NNN-slug.mdentry. - Do not edit
obj/orbuild_out/(build artifacts).
What this is NOT
- Not the GroupDocs.Comparison SDK itself — that is a separate package (
GroupDocs.Comparison); this server wraps it. - Not GroupDocs.Comparison Cloud (a separate REST API product).
- Integration tests for this server live in a separate repo: https://github.com/groupdocs-comparison/GroupDocs.Comparison.Mcp.Tests
Links
- NuGet: https://www.nuget.org/packages/GroupDocs.Comparison.Mcp
- Repository: https://github.com/groupdocs-comparison/GroupDocs.Comparison.Mcp
- GroupDocs.Comparison docs: https://docs.groupdocs.com/comparison/net/
- How-to articles (blog): https://blog.groupdocs.com/categories/groupdocs.comparison-product-family/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

