agentleFS
groupdocs-comparisongroupdocs-comparison/GroupDocs.Comparison.Mcp/.github/copilot-instructions.md

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:

  • In this repository2 other files it gives its agents.

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
  1. Very specific:

    Only these three are supported — do not add new ones without updating server.json, docker-compose.yml, and README.md together:

    line 41
  2. Very specific:

    Do not edit obj/ or build_out/ (build artifacts).

    line 54
  3. Very specific:

    Not the GroupDocs.Comparison SDK itself — that is a separate package (GroupDocs.Comparison).

    line 58

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

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:latest

MCP 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_out

Environment 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 folder
  • GROUPDOCS_LICENSE_PATH — path to GroupDocs.Total.lic; omit for evaluation mode (watermarked output)

Conventions (see AGENTS.md for the full list)

  • Target framework is net10.0 only — required by dnx and the MCP SDK.
  • Tools need rich [Description("...")] strings — AI agents read these over MCP; write task-oriented sentences.
  • Versioning is CalVer YY.MM.N and lives in two places that must stay in lockstep: build/dependencies.props (<GroupDocsComparisonMcp>) and src/GroupDocs.Comparison.Mcp/.mcp/server.json. build.ps1 enforces 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 and dnx depend on them.
  • Tests use xUnit + Moq; any behaviour change adds a changelog/NNN-slug.md entry.
  • Do not edit obj/ or build_out/ (build artifacts).

What this is NOT

Links

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.