Basic usage

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.Redaction 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-redaction -- dnx GroupDocs.Redaction.Mcp --yes
Folders, licensing and more →

On this page

Perform redactions on your documents with just a few lines of code. The topics below cover the core redaction operations using a local sample.docx (the same patterns apply to PDF, Excel, PowerPoint, and image files). Every example is runnable — copy the script, download the linked sample file, and run it.

In this section

For loading, saving, rasterization, policies, and filters, continue to Advanced Usage.

On this page