Groupdocs Viewer MCP logo

Groupdocs Viewer MCP

Render document pages as PNGs and inspect file type, page count, and dimensions through MCP.

Install Groupdocs Viewer MCP

Run the project’s own setup commands, in order.

Setup steps from the project

groupdocs-viewer-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Run
    dnx GroupDocs.Viewer.Mcp --yes
    
  2. 2. Run
    dnx GroupDocs.Viewer.Mcp@26.9.0 --yes
    
  3. 3. Install
    dotnet tool install -g GroupDocs.Viewer.Mcp
    
  4. 4. Start the server
    docker run --rm -i \
      -v $(pwd)/documents:/data \
      ghcr.io/groupdocs-viewer/viewer-net-mcp:latest
    
  5. 5. Start the server
    cd docker
    
  6. 6. Start the server
    docker compose up
    

Overview

The groupdocs-viewer-mcp MCP server connects AI agents to GroupDocs.Viewer for document inspection and page rendering. Its RenderPage tool returns a selected page as an inline PNG and saves a copy, while GetViewInfo reports file type, page count, and page dimensions without rendering. It supports PDF, office documents, web formats, and more than 170 file types, with passwords for protected files. Use it when an agent needs to preview documents or determine their layout before rendering.

Use cases

  • Render selected pages from reports as inline PNG images
  • Inspect document page counts before choosing pages to render
  • Check page dimensions for layout-aware document workflows
  • Preview protected documents with supplied passwords

Key features

  • Render individual pages as PNG
  • Return rendered images inline
  • Save rendered pages to configured storage
  • Report file type, page count, and page dimensions
  • Support passwords for protected documents
  • Handle more than 170 document formats

Tools2

What Groupdocs Viewer MCP lets your agent do. Expand a tool for its parameters.

Self-reported~118 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 78d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.

How Groupdocs Viewer MCP works

What groupdocs-viewer-mcp MCP server does

The groupdocs-viewer-mcp MCP server exposes GroupDocs.Viewer through MCP tools for inspecting documents and rendering individual pages. It is intended for AI clients that need visual access to files stored on the server’s configured filesystem rather than a separate document-management integration.

Supported examples include PDF, Word, Excel, PowerPoint, ODT, RTF, and HTML files. The underlying viewer supports more than 170 formats. Protected documents can be opened by passing a password to the relevant tool.

How it works

An MCP client sends a document path and operation to the server. GetViewInfo performs a non-rendering inspection and returns JSON containing the detected file type, total page count, and dimensions for each page. This is useful for choosing valid pages and deciding whether rendering is necessary.

RenderPage processes one page and returns the resulting PNG inline to the agent. It also writes a copy to storage using the pattern <source-stem>_page<N>.png. Agents can therefore display a page immediately while retaining a filesystem artifact for later use. Requests for several pages require separate page render operations.

The groupdocs-viewer-mcp MCP server communicates with clients as a .NET MCP process. It can be launched directly with dnx, installed as a global .NET tool, or run in Docker.

Setup and configuration

Running the server requires the .NET 10 SDK when using the native .NET options. The recommended direct command is dnx GroupDocs.Viewer.Mcp --yes; a specific version can be pinned. The global-tool route uses dotnet tool install -g GroupDocs.Viewer.Mcp, followed by groupdocs-viewer-mcp.

For Docker, mount a host directory at /data and run the published GroupDocs Viewer MCP image. Native Linux and macOS installations also need the platform’s libgdiplus dependency and related font packages. The Docker image includes libgdiplus.

Set GROUPDOCS_MCP_STORAGE_PATH to the base directory containing input files. GROUPDOCS_MCP_OUTPUT_PATH can point to a separate output directory; otherwise output uses the storage directory. GROUPDOCS_LICENSE_PATH selects an offline GroupDocs license file. Metered use requires both GROUPDOCS_METERED_PUBLIC_KEY and GROUPDOCS_METERED_PRIVATE_KEY, and takes precedence over a license file.

Tools and capabilities

  • RenderPage: Render one page as a PNG, return it inline, and save a copy.
  • GetViewInfo: Inspect file type, page count, and per-page dimensions without rendering.
  • Password arguments: Open password-protected documents with either operation.
  • Broad format coverage: Process supported PDF, office, markup, and other document formats.

Limitations and notes

Without a GroupDocs engine license, the groupdocs-viewer-mcp MCP server runs in evaluation mode. Rendering is limited to a number of pages per document, output may contain evaluation notices, and one process can open at most 15 documents before restart is required. Production use needs either a license file or metered credentials.

Metered licensing reports usage to GroupDocs and therefore requires outbound connectivity. Air-gapped deployments should use an offline license file instead. Keep the metered private key out of committed project configuration; environment variables are the preferred storage method.

The server itself is MIT licensed, but that does not remove the separate licensing requirements for the GroupDocs.Viewer engine.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Groupdocs Viewer MCP

groupdocs-viewer-mcp is an MCP server that connects AI agents to GroupDocs.Viewer for document inspection and rendering. Its main tools are RenderPage, which returns a document page as an inline PNG and saves a copy, and GetViewInfo, which reports file type, page count, and page dimensions as JSON.

Install it with the .NET 10 SDK using dnx, a global dotnet tool, or Docker. Run `dnx GroupDocs.Viewer.Mcp --yes`, install `GroupDocs.Viewer.Mcp` globally, or mount documents at `/data` when using the published Docker image.

Only the storage path is needed to select a document directory; it defaults to the current directory. Set `GROUPDOCS_MCP_STORAGE_PATH` for inputs, optionally set `GROUPDOCS_MCP_OUTPUT_PATH`, and configure either a license path or both metered key variables for licensed operation.

Yes, the README provides a Cursor installation configuration. The server runs as a standard MCP process, and Cursor can invoke its document inspection and page rendering tools after the server is configured.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGroupdocs Viewer MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/groupdocs-viewer-mcp?style=directory)](https://allmcps.com/mcp/groupdocs-viewer-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/groupdocs-viewer-mcp"><img src="https://allmcps.com/api/badge/groupdocs-viewer-mcp?style=directory" alt="Groupdocs Viewer MCP on AllMCPs" /></a>