GroupDocs.Redaction for .NET MCP server — redact text, image regions, annotations, and metadata in PDF, Word, Excel, PowerPoint, and image documents via AI agents.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
git clone https://github.com/groupdocs-redaction/GroupDocs.Redaction.McpMCP Servers overview
# GroupDocs.Redaction MCP Server
MCP server that exposes [GroupDocs.Redaction](https://products.groupdocs.com/redaction) as AI-callable tools
for Claude, Cursor, GitHub Copilot, and other MCP agents.
[](https://www.nuget.org/packages/GroupDocs.Redaction.Mcp)
[](https://www.nuget.org/packages/GroupDocs.Redaction.Mcp)
[](https://hub.docker.com/r/groupdocs/redaction-net-mcp)
[](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.groupdocs-redaction/groupdocs-redaction-mcp)
[](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests/actions/workflows/integration.yml)
[](LICENSE)
<!-- TODO(manual): record 30s demo per improvement-plan M1 -->
<!--  -->
## Installation
Requires [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0).
**Run directly with `dnx` (recommended — no install step):**
```bash
dnx GroupDocs.Redaction.Mcp --yes
```
Pulls the latest stable release on every invocation. To pin to a specific
version (recommended for shared configs and CI), append `@<version>`:
```bash
dnx GroupDocs.Redaction.Mcp@26.7.1 --yes
```
<!-- install-buttons:start - generated by install/generate-install-links.ps1; do not edit by hand -->
[](https://vscode.dev/redirect/mcp/install?name=groupdocs-redaction&inputs=%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22storage_path%22%2C%22description%22%3A%22Base%20folder%20for%20input%20and%20output%20files%22%7D%2C%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22license_path%22%2C%22description%22%3A%22Path%20to%20GroupDocs%20license%20file%20%28optional%20-%20evaluation%20mode%20if%20empty%29%22%7D%5D&config=%7B%22command%22%3A%22dnx%22%2C%22args%22%3A%5B%22GroupDocs.Redaction.Mcp%22%2C%22--yes%22%5D%2C%22env%22%3A%7B%22GROUPDOCS_MCP_STORAGE_PATH%22%3A%22%24%7Binput%3Astorage_path%7D%22%2C%22GROUPDOCS_LICENSE_PATH%22%3A%22%24%7Binput%3Alicense_path%7D%22%7D%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=groupdocs-redaction&inputs=%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22storage_path%22%2C%22description%22%3A%22Base%20folder%20for%20input%20and%20output%20files%22%7D%2C%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22license_path%22%2C%22description%22%3A%22Path%20to%20GroupDocs%20license%20file%20%28optional%20-%20evaluation%20mode%20if%20empty%29%22%7D%5D&config=%7B%22command%22%3A%22dnx%22%2C%22args%22%3A%5B%22GroupDocs.Redaction.Mcp%22%2C%22--yes%22%5D%2C%22env%22%3A%7B%22GROUPDOCS_MCP_STORAGE_PATH%22%3A%22%24%7Binput%3Astorage_path%7D%22%2C%22GROUPDOCS_LICENSE_PATH%22%3A%22%24%7Binput%3Alicense_path%7D%22%7D%7D&quality=insiders) [](https://cursor.com/en/install-mcp?name=groupdocs-redaction&config=eyJjb21tYW5kIjoiZG54IiwiYXJncyI6WyJHcm91cERvY3MuUmVkYWN0aW9uLk1jcCIsIi0teWVzIl0sImVudiI6eyJHUk9VUERPQ1NfTUNQX1NUT1JBR0VfUEFUSCI6Ii9wYXRoL3RvL2RvY3VtZW50cyJ9fQ%3D%3D)
> One-click buttons prompt for your documents folder (and optional license). Cursor's
> deeplink installs with a placeholder storage path - edit it after install.
<!-- install-buttons:end -->
> **More clients** — ready-made configs for Claude Code, Visual Studio 2022 (`.mcp.json`),
> Cursor, Windsurf, Cline, and JetBrains Rider live in [`install/generated/`](install/generated/).
**Or install as a global dotnet tool:**
```bash
dotnet tool install -g GroupDocs.Redaction.Mcp
groupdocs-redaction-mcp
```
**Or run via Docker:**
```bash
docker run --rm -i \
-v $(pwd)/documents:/data \
ghcr.io/groupdocs-redaction/redaction-net-mcp:latest
```
## Native prerequisites
The underlying GroupDocs engine uses `System.Drawing` (GDI+) for image-area
redaction (drawing solid-color boxes over page regions). 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` |
| 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 |
|---|---|
| `RedactText` | Redact text matching a regex pattern in a document; saves result as `<name>_redacted.<ext>` |
| `EraseMetadata` | Erase document metadata fields (author, title, company, dates, and other properties) |
| `RedactAnnotations` | Replace or delete annotations and comments in a document |
| `RedactImageArea` | Cover a rectangular page region with a solid-color box (pixel coordinates) |
| `GetDocumentInfo` | Return file type, page count, size, and per-page dimensions as JSON (no modification) |
## Example prompts
- "Redact all occurrences of 'John Smith' in contract.docx"
- "Remove all metadata from report.pdf before sharing it externally"
- "Delete all comments and annotations from review.docx"
- "Cover the signature area on page 1 of agreement.pdf with a black box from (100,200) to (400,300)"
- "How many pages does confidential.pdf have?"
## Licensing
**The MCP server itself is MIT; the underlying GroupDocs.Redaction engine requires a license
for production use.** Without one the server runs in **evaluation mode**:
- Saved output is watermarked.
- A single server process can open at most **1 document** in evaluation mode - each redaction needs a fresh server process.
To lift the limits, point `GROUPDOCS_LICENSE_PATH` at your `GroupDocs.Total.lic`:
- [Get a free 30-day temporary license](https://purchase.groupdocs.com/temporary-license/)
- [Purchase a license](https://purchase.groupdocs.com/pricing/redaction/net) | [Product page](https://products.groupdocs.com/redaction/net/)
## 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) |
## Usage with Claude Desktop
```json
{
"mcpServers": {
"groupdocs-redaction": {
"type": "stdio",
"command": "dnx",
"args": ["GroupDocs.Redaction.Mcp", "--yes"],
"env": {
"GROUPDOCS_MCP_STORAGE_PATH": "/path/to/documents"
}
}
}
}
```
> To pin to a specific version, replace `"GroupDocs.Redaction.Mcp"` with
> `"GroupDocs.Redaction.Mcp@26.7.1"` in `args`. 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](https://www.nuget.org/packages/GroupDocs.Redaction.Mcp).
Copy it directly into your `.vscode/mcp.json`.
Alternatively, add manually to `.vscode/mcp.json`:
```json
{
"inputs": [
{
"type": "promptString",
"id": "storage_path",
"description": "Base folder for input and output files.",
"password": false
}
],
"servers": {
"groupdocs-redaction": {
"type": "stdio",
"command": "dnx",
"args": ["GroupDocs.Redaction.Mcp", "--yes"],
"env": {
"GROUPDOCS_MCP_STORAGE_PATH": "${input:storage_path}"
}
}
}
}
```
> Same pinning rule as above — swap `"GroupDocs.Redaction.Mcp"` for
> `"GroupDocs.Redaction.Mcp@26.7.1"` to lock to a specific release.
## Usage with Docker Compose
```bash
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.Redaction.Mcp.Tests**](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests):
- [Install from NuGet](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests/blob/master/how-to/01-install-from-nuget.md) — `dnx`, global tool, pinned vs always-latest
- [Run via Docker](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests/blob/master/how-to/02-run-via-docker.md)
- [Verify on the MCP registry](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests/blob/master/how-to/03-verify-mcp-registry.md)
- [Use with Claude Desktop](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests/blob/master/how-to/04-use-with-claude-desktop.md)
- [Use with VS Code / GitHub Copilot](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests/blob/master/how-to/05-use-with-vscode-copilot.md)
- [Run the integration tests](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests/blob/master/how-to/06-run-integration-tests.md)
- [Use with Cursor](https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp.Tests/blob/master/how-to/07-use-with-cursor.md)
That repo also exercises every advertised tool against the **published** NuGet
artifact on Linux, macOS, and Windows in CI — so the snippets above are
verified end-to-end on every release.
## License
MIT — see [LICENSE](LICENSE)
<!-- mcp-name: io.github.groupdocs-redaction/groupdocs-redactiWhat people ask about GroupDocs.Redaction.Mcp
What is groupdocs-redaction/GroupDocs.Redaction.Mcp?
+
groupdocs-redaction/GroupDocs.Redaction.Mcp is mcp servers for the Claude AI ecosystem. GroupDocs.Redaction for .NET MCP server — redact text, image regions, annotations, and metadata in PDF, Word, Excel, PowerPoint, and image documents via AI agents. It has 0 GitHub stars and was last updated today.
How do I install GroupDocs.Redaction.Mcp?
+
You can install GroupDocs.Redaction.Mcp by cloning the repository (https://github.com/groupdocs-redaction/GroupDocs.Redaction.Mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is groupdocs-redaction/GroupDocs.Redaction.Mcp safe to use?
+
Our security agent has analyzed groupdocs-redaction/GroupDocs.Redaction.Mcp and assigned a Trust Score of 79/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains groupdocs-redaction/GroupDocs.Redaction.Mcp?
+
groupdocs-redaction/GroupDocs.Redaction.Mcp is maintained by groupdocs-redaction. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to GroupDocs.Redaction.Mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy GroupDocs.Redaction.Mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/groupdocs-redaction-groupdocs-redaction-mcp)<a href="https://claudewave.com/repo/groupdocs-redaction-groupdocs-redaction-mcp"><img src="https://claudewave.com/api/badge/groupdocs-redaction-groupdocs-redaction-mcp" alt="Featured on ClaudeWave: groupdocs-redaction/GroupDocs.Redaction.Mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!