by PSPDFKit
Enables AI assistants to perform PDF creation, editing, conversion, digital signing, OCR, redaction, and other document operations through the Nutrient DWS Processor API.
Provides a Model Context Protocol (MCP) server that bridges AI assistants with the Nutrient Document Web Service (DWS) Processor API, exposing powerful PDF and document manipulation capabilities such as merging, watermarking, format conversion, digital signing, OCR, redaction, and data extraction.
claude_desktop_config.json (or any MCP‑compatible client) using the supplied npx @nutrient-sdk/dws-mcp-server command.NUTRIENT_DWS_API_KEY and optionally SANDBOX_PATH to restrict file operations.Q: Which operating systems are supported? A: macOS and Windows are officially supported; Linux can be tried but is not guaranteed.
Q: Do I have to use Claude Desktop? A: The server follows the MCP specification, so any MCP‑compatible client can interact with it, though Claude Desktop is the primary reference implementation.
Q: Is sandbox mode required? A: It is strongly recommended for security. Without it, the server can access any file the process can read/write.
Q: How do I specify the output location?
A: Instruct the assistant with natural language (e.g., “output to output/result.pdf”). When sandbox mode is active, the path will be resolved inside the sandbox directory.
Q: Where can I find contribution guidelines?
A: See the CONTRIBUTING.md file in the repository.

A Model Context Protocol (MCP) server implementation that integrates with the Nutrient Document Web Service (DWS) Processor API, providing powerful PDF processing capabilities for AI assistants.
This server allows AI assistants to access the tools provided by Nutrient DWS Processor API, enabling operations such as digital signing, document generation, document editing, OCR, watermarking, redaction, and more.
| Feature | Description |
|---|---|
| Document Creation | Merge PDFs, Office docs, and images |
| Editing | Watermark, rotate, flatten, redact, and more |
| Format Conversion | PDF ⇄ DOCX, images, PDF/A support |
| Digital Signing | Add PAdES standards-compliant digital signatures using trusted certificates |
| Data Extraction | Extract text, tables, or structured content |
| Security | Redaction presets, password protection, permission control |
| Advanced OCR | Multi-language, image and scan recognition |
| Optimization | Compress files without quality loss |
brew install node)claude_desktop_config.json:
nutrient-dws to the claude_desktop_config.json (example below). Make sure to add your API key and set the sandbox directory:
claude_desktop_config.json is inside the directory ~/Library/Application\ Support/Claude.claude_desktop_config.json is inside the directory %APPDATA%\ClaudeNOTE: For the
SANDBOX_PATH, you can put in the path in either the Unix-style (separated using forward slash/) or the Windows-style (separated using the backward slash/). And for the Windows path, you must escape the backward slash (i.e.\\instead of\)
{
"mcpServers": {
"nutrient-dws": {
"command": "npx",
"args": ["-y", "@nutrient-sdk/dws-mcp-server"],
"env": {
"NUTRIENT_DWS_API_KEY": "YOUR_API_KEY_HERE",
"SANDBOX_PATH": "/your/sandbox/directory" // "C:\\your\\sandbox\\directory" for Windows
}
}
}
}
On Windows you might need to go to the Task Manager and kill any processes named Claude to reset the application. On a macOS it will be the Activity Monitor
SANDBOX_PATH environment variable above.Note: All operations involve reading from and writing to files on disk. We strongly recommend using the sandboxed directory feature to enhance security and prevent data loss.
Nutrient DWS MCP Server has been tested with Claude Desktop (Claude 3.7 Sonnet). Other MCP clients may work, but results may vary.
Nutrient DWS MCP Server supports macOS and Windows for now. Feel free to open an issue if you’re interested in Linux support.
The server supports an optional sandbox mode that restricts file operations to a specific directory. This is useful for security purposes, ensuring that the server can only read from and write to files within the specified directory. You should drop any documents you'd like to work on in this directory.
To enable sandbox mode, set the SANDBOX_PATH environment variable:
export SANDBOX_PATH=/path/to/sandbox/directory
npx @nutrient-sdk/dws-mcp-server
When sandbox mode is enabled:
If no sandbox directory is specified, the server will operate without file path restrictions, allowing access to any file on the system that the server process has permission to access. (Not Recommended)
Processed files will be saved to a location determined by the LLM. If sandbox mode is enabled, it will reside inside this directory.
To further guide the LLM on where to place the output file, use natural language such as "please output the result to output/my_result.pdf".
Or you may also add an output directory in your sandbox to hint to the LLM to use this directory for all resulting files.
Please see the contribution guidelines in CONTRIBUTING.md
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
{
"mcpServers": {
"nutrient-dws": {
"command": "npx",
"args": [
"-y",
"@nutrient-sdk/dws-mcp-server"
],
"env": {
"NUTRIENT_DWS_API_KEY": "<YOUR_API_KEY>",
"SANDBOX_PATH": "/path/to/sandbox"
}
}
}
}claude mcp add nutrient-dws npx -y @nutrient-sdk/dws-mcp-server