Skip to main content
ClaudeWave
groupdocs-viewer avatar
groupdocs-viewer

GroupDocs.Viewer.Mcp

View on GitHub

GroupDocs.Viewer for .NET MCP server — render PDF, Word, Excel, PowerPoint, and image documents to HTML, PNG, JPG, or PDF and inspect view info via AI agents.

MCP ServersOfficial Registry0 stars0 forksC#MITUpdated today
ClaudeWave Trust Score
74/100
· OK
Passed
  • Open-source license (MIT)
  • Recently active
  • Clear description
Last scanned: 6/11/2026
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp and follow its README for install instructions.
Use cases

MCP Servers overview

# GroupDocs.Viewer MCP Server

MCP server that exposes [GroupDocs.Viewer](https://products.groupdocs.com/viewer) as AI-callable tools
for Claude, Cursor, GitHub Copilot, and other MCP agents.

[![NuGet](https://img.shields.io/nuget/v/GroupDocs.Viewer.Mcp?label=NuGet)](https://www.nuget.org/packages/GroupDocs.Viewer.Mcp)
[![NuGet downloads](https://img.shields.io/nuget/dt/GroupDocs.Viewer.Mcp?label=downloads)](https://www.nuget.org/packages/GroupDocs.Viewer.Mcp)
[![Docker pulls](https://img.shields.io/docker/pulls/groupdocs/viewer-net-mcp?label=docker%20pulls)](https://hub.docker.com/r/groupdocs/viewer-net-mcp)
[![MCP Registry](https://img.shields.io/badge/MCP_Registry-listed-6f42c1)](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.groupdocs-viewer/groupdocs-viewer-mcp)
[![Integration tests](https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp.Tests/actions/workflows/integration.yml/badge.svg)](https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp.Tests/actions/workflows/integration.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

<!-- TODO(manual): record 30s demo per improvement-plan M1 -->
<!-- ![Demo](assets/demo.gif) -->

## Installation

Requires [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0).

**Run directly with `dnx` (recommended — no install step):**

```bash
dnx GroupDocs.Viewer.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.Viewer.Mcp@26.7.1 --yes
```

<!-- install-buttons:start - generated by install/generate-install-links.ps1; do not edit by hand -->
[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF)](https://vscode.dev/redirect/mcp/install?name=groupdocs-viewer&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.Viewer.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) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5)](https://insiders.vscode.dev/redirect/mcp/install?name=groupdocs-viewer&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.Viewer.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) [![Add to Cursor](https://img.shields.io/badge/Cursor-Add_MCP-111111)](https://cursor.com/en/install-mcp?name=groupdocs-viewer&config=eyJjb21tYW5kIjoiZG54IiwiYXJncyI6WyJHcm91cERvY3MuVmlld2VyLk1jcCIsIi0teWVzIl0sImVudiI6eyJHUk9VUERPQ1NfTUNQX1NUT1JBR0VfUEFUSCI6Ii9wYXRoL3RvL2RvY3VtZW50cyJ9fQ%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.Viewer.Mcp
groupdocs-viewer-mcp
```

**Or run via Docker:**

```bash
docker run --rm -i \
  -v $(pwd)/documents:/data \
  ghcr.io/groupdocs-viewer/viewer-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 |
|---|---|
| `RenderPage` | Renders a single document page as a PNG image and returns it inline (plus saves a copy to storage as `<source-stem>_page<N>.png`). Supports PDF, Word, Excel, PowerPoint, ODT, RTF, HTML, and 170+ more formats; optional `password` for protected documents. |
| `GetViewInfo` | Returns file type, page count, and per-page dimensions as JSON — without rendering. Useful as a pre-flight check before deciding which page(s) to render. 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:

```
Render page 1 of report.pdf — show me the image.

How many pages does contract.docx have? What size is each page?

Show me page 5 of the slide deck quarterly.pptx.

Inspect /docs/legal-brief.pdf — what file type and page count?

Render the first three pages of presentation.pptx as PNGs.
```

The client picks `RenderPage` for "show me a page" requests and
`GetViewInfo` for inspection-only questions.

## Licensing

**The MCP server itself is MIT; the underlying GroupDocs.Viewer engine requires a license
for production use.** Without one the server runs in **evaluation mode**:

- Rendering processes a limited number of pages per document, and output may carry evaluation notices.
- A single server process can open at most **15 documents**; further calls fail with an evaluation-cap error until the server restarts.

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/viewer/net) | [Product page](https://products.groupdocs.com/viewer/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-viewer": {
      "type": "stdio",
      "command": "dnx",
      "args": ["GroupDocs.Viewer.Mcp", "--yes"],
      "env": {
        "GROUPDOCS_MCP_STORAGE_PATH": "/path/to/documents"
      }
    }
  }
}
```

> To pin to a specific version, replace `"GroupDocs.Viewer.Mcp"` with
> `"GroupDocs.Viewer.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.Viewer.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-viewer": {
      "type": "stdio",
      "command": "dnx",
      "args": ["GroupDocs.Viewer.Mcp", "--yes"],
      "env": {
        "GROUPDOCS_MCP_STORAGE_PATH": "${input:storage_path}"
      }
    }
  }
}
```

> Same pinning rule as above — swap `"GroupDocs.Viewer.Mcp"` for
> `"GroupDocs.Viewer.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.Viewer.Mcp.Tests**](https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp.Tests):

- [Install from NuGet](https://github.com/groupdocs-viewer/GroupDocs.Viewer.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-viewer/GroupDocs.Viewer.Mcp.Tests/blob/master/how-to/02-run-via-docker.md)
- [Verify on the MCP registry](https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp.Tests/blob/master/how-to/03-verify-mcp-registry.md)
- [Use with Claude Desktop](https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp.Tests/blob/master/how-to/04-use-with-claude-desktop.md)
- [Use with VS Code / GitHub Copilot](https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp.Tests/blob/master/how-to/05-use-with-vscode-copilot.md)
- [Run the integration tests](https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp.Tests/blob/master/how-to/06-run-integration-tests.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-viewer/groupdocs-viewer-mcp -->
ai-agentsclaudecursordocument-processingdocument-viewerdotnetgithub-copilotmcpmcp-servermodel-context-protocolpdfrendering

What people ask about GroupDocs.Viewer.Mcp

What is groupdocs-viewer/GroupDocs.Viewer.Mcp?

+

groupdocs-viewer/GroupDocs.Viewer.Mcp is mcp servers for the Claude AI ecosystem. GroupDocs.Viewer for .NET MCP server — render PDF, Word, Excel, PowerPoint, and image documents to HTML, PNG, JPG, or PDF and inspect view info via AI agents. It has 0 GitHub stars and was last updated today.

How do I install GroupDocs.Viewer.Mcp?

+

You can install GroupDocs.Viewer.Mcp by cloning the repository (https://github.com/groupdocs-viewer/GroupDocs.Viewer.Mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is groupdocs-viewer/GroupDocs.Viewer.Mcp safe to use?

+

Our security agent has analyzed groupdocs-viewer/GroupDocs.Viewer.Mcp and assigned a Trust Score of 74/100 (tier: OK). See the full breakdown of passed checks and flags on this page.

Who maintains groupdocs-viewer/GroupDocs.Viewer.Mcp?

+

groupdocs-viewer/GroupDocs.Viewer.Mcp is maintained by groupdocs-viewer. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to GroupDocs.Viewer.Mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy GroupDocs.Viewer.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.

Featured on ClaudeWave: groupdocs-viewer/GroupDocs.Viewer.Mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/groupdocs-viewer-groupdocs-viewer-mcp)](https://claudewave.com/repo/groupdocs-viewer-groupdocs-viewer-mcp)
<a href="https://claudewave.com/repo/groupdocs-viewer-groupdocs-viewer-mcp"><img src="https://claudewave.com/api/badge/groupdocs-viewer-groupdocs-viewer-mcp" alt="Featured on ClaudeWave: groupdocs-viewer/GroupDocs.Viewer.Mcp" width="320" height="64" /></a>

More MCP Servers

GroupDocs.Viewer.Mcp alternatives