SDK, Cloud or MCP?

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Viewer MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-viewer -- dnx GroupDocs.Viewer.Mcp --yes
Folders, licensing and more →

GroupDocs.Viewer reaches Python code in three ways. They share the rendering engine but differ in where the documents are processed and who writes the code. This page helps you pick one.

At a glance

GroupDocs.Viewer for Python via .NET (SDK)GroupDocs.Viewer CloudGroupDocs.Viewer MCP server
What it isA Python package (pip install groupdocs-viewer-net)A hosted REST API with a Python SDKA Model Context Protocol server with rendering tools
Who calls itYour Python codeYour code, over HTTPSAn AI agent (Claude, Cursor, GitHub Copilot and other MCP clients)
Where documents goStay on your machine or serverUploaded to GroupDocs Cloud storageStay on the machine that runs the server
Internet accessNot neededRequiredNot needed once installed
What you can doThe whole API: HTML, PDF, PNG and JPEG output, per-format options, page selection, watermarks, attachments, document info, rendering to memory, cancellation, and a browser viewer (groupdocs-viewer)Rendering and document info through REST endpointsRender one page as a PNG image (render_page), read the page count and sizes (get_view_info), check the license (get_license_status)
Runs onWindows x64, Linux x64, macOS 12+ (Intel and Apple Silicon); Python 3.5 - 3.14Any platform that can make HTTPS calls.NET tool (dnx GroupDocs.Viewer.Mcp), or its Docker image
LicensingGroupDocs.Viewer license (evaluation mode without one)GroupDocs Cloud subscriptionGroupDocs.Viewer license

Choose the SDK when

  • Documents must not leave your environment (compliance, air-gapped systems, on-premise deployments).
  • You need the whole API: every output format and option, page selection, attachments, and rendering into your own storage.
  • You build a document viewer into a web application: render pages on demand, or use the GroupDocs.Viewer UI package for Python.
  • You render many documents in batch jobs and want no network round trips.

Start with Installation and Hello, World!. To look at documents without writing code, use the groupdocs-viewer command that comes with the package.

Choose GroupDocs.Viewer Cloud when

  • You prefer a managed service to installing and updating a package.
  • Your application already works with cloud storage, or runs where installing native packages is not possible.

See GroupDocs.Viewer Cloud for Python and its documentation.

Choose the MCP server when

  • An AI agent should see a document itself, as a step in a conversation or a workflow: read a chart, check a layout, describe a scanned page.
  • You want local processing for an agent: the server runs next to your project, and documents stay on that machine.

See the GroupDocs.Viewer MCP server documentation.

Combine them

  • SDK + documentation MCP server: when an AI coding assistant writes Python code against this package, connect it to the documentation MCP server and let it read the AGENTS.md shipped inside the package. See Agents and LLM Integration.
  • SDK in production, MCP server for prototyping: let an agent look at the documents through the MCP server, then implement the rendering you need with the SDK.