Groupdocs Comparison MCP
概览
作者提供的说明(英文原文)
MCP server for GroupDocs.Comparison — compare, analyze, and inspect documents via AI agents.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
GROUPDOCS_MCP_STORAGE_PATH,GROUPDOCS_MCP_OUTPUT_PATH,GROUPDOCS_LICENSE_PATH,GROUPDOCS_METERED_PUBLIC_KEY,GROUPDOCS_METERED_PRIVATE_KEY
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"groupdocs-comparison": {
"command": "dnx",
"args": [
"GroupDocs.Comparison.Mcp",
"--yes"
],
"env": {
"GROUPDOCS_MCP_STORAGE_PATH": "your-value",
"GROUPDOCS_MCP_OUTPUT_PATH": "your-value",
"GROUPDOCS_LICENSE_PATH": "your-value",
"GROUPDOCS_METERED_PUBLIC_KEY": "your-value",
"GROUPDOCS_METERED_PRIVATE_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add groupdocs-comparison --env GROUPDOCS_MCP_STORAGE_PATH=your-value --env GROUPDOCS_MCP_OUTPUT_PATH=your-value --env GROUPDOCS_LICENSE_PATH=your-value --env GROUPDOCS_METERED_PUBLIC_KEY=your-value --env GROUPDOCS_METERED_PRIVATE_KEY=your-value -- dnx GroupDocs.Comparison.Mcp --yes运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"groupdocs-comparison": {
"command": "dnx",
"args": [
"GroupDocs.Comparison.Mcp",
"--yes"
],
"env": {
"GROUPDOCS_MCP_STORAGE_PATH": "your-value",
"GROUPDOCS_MCP_OUTPUT_PATH": "your-value",
"GROUPDOCS_LICENSE_PATH": "your-value",
"GROUPDOCS_METERED_PUBLIC_KEY": "your-value",
"GROUPDOCS_METERED_PRIVATE_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"groupdocs-comparison": {
"type": "stdio",
"command": "dnx",
"args": [
"GroupDocs.Comparison.Mcp",
"--yes"
],
"env": {
"GROUPDOCS_MCP_STORAGE_PATH": "your-value",
"GROUPDOCS_MCP_OUTPUT_PATH": "your-value",
"GROUPDOCS_LICENSE_PATH": "your-value",
"GROUPDOCS_METERED_PUBLIC_KEY": "your-value",
"GROUPDOCS_METERED_PRIVATE_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
GROUPDOCS_MCP_STORAGE_PATHenvGROUPDOCS_MCP_OUTPUT_PATHenvGROUPDOCS_LICENSE_PATHenvGROUPDOCS_METERED_PUBLIC_KEYenvGROUPDOCS_METERED_PRIVATE_KEYenv
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 groupdocs-comparison 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3572 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3572 个服务器的 38% 更新
- 基础检查结果等于或优于此分类中其他 3572 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Groupdocs Comparison MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(26.9.1)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 .NET。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
GroupDocs.Comparison MCP Server
MCP server that exposes GroupDocs.Comparison as AI-callable tools for Claude, Cursor, GitHub Copilot, and other MCP agents.
Installation
One-click installs pre-fill every supported setting: edit the placeholder documents
folder after install (output defaults to the same folder); an empty
GROUPDOCS_LICENSE_PATH runs in evaluation mode - point it at your license to lift limits.
More clients - ready-made configs for Claude Code, Codex CLI, Visual Studio 2022,
Cursor, Windsurf, Cline, and JetBrains Rider live in
install/generated/.
Requires .NET 10 SDK.
Run directly with `dnx` (recommended — no install step):
dnx GroupDocs.Comparison.Mcp --yes
Pulls the latest stable release on every invocation. To pin to a specific version (recommended for shared configs and CI), append @ :
dnx GroupDocs.Comparison.Mcp@26.9.1 --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
Native prerequisites
The underlying GroupDocs engine uses System.Drawing (GDI+) for some operations. When you run the server natively (via dnx or the global dotnet tool) on Linux or macOS, install the native libgdiplus library first:
| Platform | Setup |
|---|---|
| Windows | Nothing — GDI+ is built into the OS. |
| Linux | sudo apt-get install -y libgdiplus libfontconfig1 ttf-mscorefonts-installer |
| macOS | brew install mono-libgdiplus |
| Docker | Nothing — the image already bundles libgdiplus. |
Skipping this on Linux/macOS surfaces as DllNotFoundException: libgdiplus in the tool response. The simplest zero-setup option on Linux/macOS is the Docker image.
Available MCP Tools
| Tool | Description |
|---|---|
Compare | Compares two documents (source vs target) and produces a marked-up result file, plus a change-count summary and a structured JSON list of the changes (type, page, the changed fragment, surrounding source/target text, table cell, style changes). Use when the user wants the rendered diff document. Supports PDF, Word, Excel, PowerPoint, ODT, RTF, TXT, HTML, and 30+ more formats; optional sourcePassword / targetPassword cover protected documents. |
AnalyzeChanges | Returns the differences between two documents as structured data only — the same JSON change list as Compare, but without rendering or saving a result file. Cheaper than Compare; use when the user wants to summarize, explain, or reason about *what* changed rather than obtain the marked-up file. Optional sourcePassword / targetPassword. |
GetDocumentInfo | Inspects a single source document and returns file type, page count, file size, and per-page dimensions as JSON — without performing a comparison. Useful as a pre-flight check before deciding whether to compare or which formats to expect. Optional password for protected documents. |
Example prompts for AI agents
Once the server is wired up to your MCP client (Claude Desktop, Cursor, VS Code Copilot, …), try:
Compare old.pdf and new.pdf and save the marked-up result.
Diff contract-v1.docx against contract-v2.docx and tell me the change count.
What changed between proposal-v1.docx and proposal-v2.docx? Summarize the edits.
Did the prices change between budget-q1.xlsx and budget-q2.xlsx? Which cells?
How many pages does report.pdf have? Who's the author?
Inspect /docs/legal-brief.pdf — what's the file type and page count?
The client picks Compare when the user wants the rendered diff file, AnalyzeChanges when they only want to know what changed (summary / analysis, no file), and GetDocumentInfo for inspection-only questions.
Licensing
The MCP server itself is MIT; the underlying GroupDocs.Comparison engine requires a license for production use. Without one the server runs in evaluation mode:
- Comparison output may carry evaluation watermarks / notices.
- A single server process can open at most 15 documents; further calls fail with an evaluation-cap error until the server restarts.
There are two ways to license the server.
License file — point GROUPDOCS_LICENSE_PATH at your GroupDocs.Total.lic. Works offline.
Metered (pay-per-use) — set both GROUPDOCS_METERED_PUBLIC_KEY and GROUPDOCS_METERED_PRIVATE_KEY. You are billed for what you actually process, which suits AI agents well because their usage is bursty and hard to predict up front. If both a metered key pair and a license file are configured, metered wins and the file is ignored.
Metered mode needs outbound connectivity. Usage is reported to GroupDocs servers, so
air-gapped or firewalled deployments must allow that egress — or use a license file instead.
Call the `get_license_status` tool at any time to see which mode is active, and — under metered — the consumed quantity and remaining credit.
Keeping the private key out of your config
The metered private key is a secret. MCP client configs are plain files on disk, and a project-scoped .mcp.json is committed by convention, so prefer, in order:
- Set the variables in your OS environment and leave them out of the config entirely. An stdio MCP server inherits its client's environment, so this works in every client. On macOS note that an app launched from Finder does not inherit shell exports — use
launchctl setenv, or launch the client from a terminal. - Reference them indirectly if your client supports it (Claude Code expands
${VAR}; VS Code uses${env:VAR}and${input:...}). - A literal value in a user-scoped config (for example
~/.claude.json) is acceptable for a single developer. - Never commit a literal key in a project-scoped
.mcp.json.
For Docker, forward the values without writing them into any file:
docker run --rm -i \
-e GROUPDOCS_METERED_PUBLIC_KEY -e GROUPDOCS_METERED_PRIVATE_KEY \ -v /path/to/documents:/data \ ghcr.io/groupdocs-comparison/comparison-net-mcp:latest
Configuration
| Variable | Description | Default |
|---|---|---|
GROUPDOCS_MCP_STORAGE_PATH | Base folder for input and output files | current directory |
GROUPDOCS_MCP_OUTPUT_PATH | *(Optional)* separate folder for output files | GROUPDOCS_MCP_STORAGE_PATH |
GROUPDOCS_LICENSE_PATH | Path to GroupDocs license file | (evaluation mode) |
GROUPDOCS_METERED_PUBLIC_KEY | Metered public key. Requires the private key too; takes precedence over the license file | (unset) |
GROUPDOCS_METERED_PRIVATE_KEY | Metered private key. Secret - see Licensing | (unset) |
Usage with Claude Desktop
{
"mcpServers": { "groupdocs-comparison": { "type": "stdio", "command": "dnx", "args": ["GroupDocs.Comparison.Mcp", "--yes"], "env": { "GROUPDOCS_MCP_STORAGE_PATH": "/path/to/documents" } } } }
To pin to a specific version, replace
"GroupDocs.Comparison.Mcp"with
"GroupDocs.Comparison.Mcp@26.9.1"inargs. Pinning is recommended for
shared / committed configs to avoid surprise upgrades.
Usage with VS Code / GitHub Copilot
NuGet.org generates a ready-to-use mcp.json snippet on the package page. Copy it directly into your .vscode/mcp.json.
Alternatively, add manually to .vscode/mcp.json:
{
"inputs": [ { "type": "promptString", "id": "storage_path", "description": "Base folder for input and output files.", "password": false } ], "servers": { "groupdocs-comparison": { "type": "stdio", "command": "dnx", "args": ["GroupDocs.Comparison.Mcp", "--yes"], "env": { "GROUPDOCS_MCP_STORAGE_PATH": "${input:storage_path}" } } } }
Same pinning rule as above — swap
"GroupDocs.Comparison.Mcp"for
"GroupDocs.Comparison.Mcp@26.9.1"to lock to a specific release.
Usage with Docker Compose
cd docker
docker compose up
Edit docker/docker-compose.yml to point volumes at your local documents folder.
Documentation & guides
Step-by-step deployment guides and a published-package integration test suite live in the companion repo GroupDocs.Comparison.Mcp.Tests:
- Install from NuGet —
dnx, global tool, pinned vs always-latest - [Run via Docker](https://github.com/groupdocs-comparison/GroupDocs.Co
只显示了开头部分;其余内容请在仓库中阅读