Copy for LLM Copy
Copied
Failed
View as Markdown Markdown
Set up agent 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 Code
Cursor
VS Code
Codex
Claude Desktop
Other
Claude Code Cursor VS Code Codex Claude Desktop Other claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Merger 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-merger -- dnx GroupDocs.Merger.Mcp --yesFolders, licensing and more → Add to Cursor Or add it to ~/.cursor/mcp.json:
{
"mcpServers": {
"groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" }
}
}Also process documents locally
The GroupDocs.Merger MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Merger MCP server → Install in VS Code Or add it to .vscode/mcp.json in your workspace:
{
"servers": {
"groupdocs-docs": { "type": "http", "url": "https://docs.groupdocs.com/mcp" }
}
}Also process documents locally
The GroupDocs.Merger MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Merger MCP server → codex mcp add groupdocs-docs --url https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Merger MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
codex mcp add groupdocs-merger -- dnx GroupDocs.Merger.Mcp --yesFolders, licensing and more → In Claude Desktop or claude.ai, open Settings → Connectors → Add custom connector, and paste this URL:
https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Merger MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Merger MCP server → Any MCP client that supports remote (HTTP) servers:
{
"mcpServers": {
"groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" }
}
}No MCP support? Point your agent at https://docs.groupdocs.com/merger/python-net/llms.txt — every page also has a Markdown version at its URL + .md.
Also process documents locally
The GroupDocs.Merger MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Merger MCP server → GroupDocs.Merger for Python via .NET lets you rearrange, filter, and transform individual pages within a single document — without merging multiple files. Use the operations below to build page-level document processing pipelines entirely in Python.
Operation Description Move page Relocate any page to a different position in the page order. Remove pages Delete one or more pages from a document. Split document Split a document into separate files by page numbers or page intervals. Split text file Split a plain-text file into multiple files by line numbers. Extract pages Create a new document that contains only selected pages from the source. Swap pages Exchange the positions of two pages within a document. Change page orientation Switch pages between Portrait and Landscape orientation. Rotate pages Rotate pages by 90, 180, or 270 degrees.
The snippet below loads a PDF, removes page 2, and saves the result — illustrating the common pattern shared by all single-document operations.
from groupdocs.merger import Merger
from groupdocs.merger.domain.options import RemoveOptions
def quick_remove_page ():
# Load the source document
with Merger ( "./input.pdf" ) as merger :
# Remove page 2
merger . remove_pages ( RemoveOptions ([ 2 ]))
# Save the modified document
merger . save ( "./output.pdf" )
if __name__ == "__main__" :
quick_remove_page ()
All single-document operations follow the same three-step pattern: load with Merger, call the operation method , then save with merger.save().
We value your opinion. Your feedback will help us improve our documentation.