Nutrient DWS MCP Server

Nutrient DWS MCP Server(opens in a new tab) is an open source utility that connects Nutrient Document Web Services (DWS) API to natural language interfaces via the Model Context Protocol (MCP)(opens in a new tab), enabling robust document operations — such as editing, conversion, and signing — via natural language commands.

Watch the demo video

Key features

FeatureDescription
Document creationMerge PDFs, Office documents, and images
EditingWatermark, rotate, flatten, redact, and more
Format conversionPDF ⇄ DOCX, images, PDF/A support
Digital signingAdd PAdES standards-compliant digital signatures using trusted certificates
Data extractionExtract text, tables, or structured content
SecurityRedaction presets, password protection, permission control
Advanced OCRMulti-language image and scan recognition
OptimizationCompress files without quality loss

Getting started with Claude Desktop and Nutrient DWS MCP Server

  1. Get your API key by signing up for Nutrient API.

  2. Install Claude Desktop(opens in a new tab), sign in, and launch the app.

  3. Install Node.js using a package manager like Homebrew (brew install node), or download it directly from nodejs.org(opens in a new tab).

  4. Configure Claude by editing claude_desktop_config.json and adding your API key and desired sandbox path:

    {
    "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"
    }
    }
    }
    }
  5. Restart Claude Desktop to apply changes.

  6. Drop documents into the sandbox folder to prepare them for processing.

  7. Use Claude Sonnet 3.7 to run prompts like “Redact all PII from secret.pdf” or “Merge secret.pdf and contract.pdf.”

MCP currently relies on local file operations. Sandbox directories ensure safe batch processing.

This only works on macOS for now; results may vary with other MCP clients. Open issues on GitHub(opens in a new tab) if you’d like Windows support.

Use cases

Contract automation

  • Digitally sign or watermark NDAs in batches
  • Merge scans, flatten layers, prepare for archiving
  • Auto-extract terms or dates with OCR

Compliance and archival

  • Convert documents to PDF/A
  • Redact emails or credit cards with built-in presets
  • Watermark board decks for internal sharing

Content extraction

  • Extract tabular data or text for import
  • OCR scanned receipts or handwritten notes
  • Preoptimize documents before archiving

FAQ

Why is this file system-based instead of supporting API uploads?

MCP currently doesn’t support binary file transfer — using a sandbox directory is the next best secure option.

Why is it open source?

Flexibility and extensibility. Contribute, fork, and adapt the tool to your use case.