What is Nutrient DWS MCP Server?
Nutrient DWS MCP Server is an open source solution that allows you to process documents using natural language. By connecting Nutrient DWS MCP Server to your favorite MCP client (like Claude Desktop), you can:
- Batch process documents using natural language. Just watch and wait… or make a coffee.
- Avoid writing scripts or glue code to handle your document processing needs. Just ask in plain language.
- Access document processing features that are often difficult to find or are buried inside expensive software.
Features overview
| Feature | Description |
|---|---|
| Document creation | Merge PDFs, Office documents, 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 |
How to use Nutrient DWS MCP Server?
- Get a Nutrient DWS API key: Sign up at nutrient.io/api.
- Download Claude Desktop: If you haven’t already, download Claude Desktop and sign in.
- Install Node.js: Install Node.js with a package manager like brew on the command line. (
brew install node) - Configure Claude: Add your API key and set the directory you’d like to use as a sandbox in
claude_desktop_config.json(~/Library/Application\ Support/Claude/claude_desktop_config.jsonon macOS).
{
"mcpServers": {
"nutrient-dws": {
"command": "npx",
"args": [
"-y",
"@nutrient-sdk/dws-mcp-server",
"--sandbox",
"</your/sandbox/directory>"
],
"env": {
"NUTRIENT_DWS_API_KEY": "<YOUR_API_KEY_HERE>"
}
}
}
}
- Restart Claude Desktop.
- Add documents for processing: Use any file manager to copy the documents into the sandbox directory set in the
claude_desktop_config.jsonfile above. - Process documents: Instruct Claude Sonnet 3.7 (e.g. “redact all PII from secret.pdf”, “sign the document contract.pdf”, “merge secret.pdf and contract.pdf together”).
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.
FAQ
Why file-system-based? Direct binary transfers from the client aren’t yet supported in MCP ([trust me I tried][mcp-question]), so clients such as Claude cannot send a file directly to an MCP server like Nutrient’s. We felt the sandbox is the next best option, and it enables the batch processing use case, which is a bonus!
Why open source? Flexibility and community contributions! Adapt it to your workflows, send PRs, and propose new features.
Server Config
{
"mcpServers": {
"nutrient-dws": {
"command": "npx",
"args": [
"-y",
"@nutrient-sdk/dws-mcp-server",
"--sandbox",
"</your/sandbox/directory>"
],
"env": {
"NUTRIENT_DWS_API_KEY": "<YOUR_API_KEY_HERE>"
}
}
}
}