Nutrient DWS

v1.0.0Databasesstable

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.

ai-agentsclaudedocument-aidocument-processinglangchain
Share:
64
Stars
0
Downloads
0
Weekly
0/5

What is Nutrient DWS?

Nutrient DWS is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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.

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 falls under the Databases category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Model Context Protocol (MCP) server implementation that in

Use Cases

PDF processing and document AI
Extract and analyze document content
PSPDFKit

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx nutrient-dws

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Nutrient DWS

The Nutrient DWS MCP server integrates with the Nutrient Document Web Service Processor API to give AI assistants powerful PDF and document-processing capabilities. It supports format conversion between PDF, DOCX, images, HTML, and Markdown; OCR in multiple languages; AI-powered redaction of personally identifiable information; digital signing with CMS/PKCS#7 signatures; watermarking; and document compression — all callable through natural language. Developers building document-centric AI workflows can use this server to automate invoice processing, contract review, data extraction, and compliance redaction without leaving their AI client.

Prerequisites

  • A Nutrient account with API access — sign up (free tier available) at https://nutrient.io/api
  • Your Nutrient DWS API key from the Nutrient dashboard
  • Node.js 18 or higher (the server is TypeScript-based)
  • An MCP-compatible client such as Claude Desktop, Cursor, or VS Code Copilot
  • A local sandbox directory where processed files will be read/written
1

Create a Nutrient account and get an API key

Sign up at https://nutrient.io/api. From your dashboard, create an API key and copy it. A free tier is available that covers basic document operations.

2

Install the MCP server via npx

The server can be run directly with npx without a global install. Test that it starts correctly by running it once with your API key.

npx nutrient-dws
3

Create a sandbox directory

Choose a directory where the server is allowed to read and write files. The SANDBOX_PATH environment variable restricts all file operations to this path for security.

mkdir -p ~/Documents/nutrient-sandbox
4

Configure Claude Desktop

Add the Nutrient DWS server to your Claude Desktop configuration with your API key and sandbox path set as environment variables.

{
  "mcpServers": {
    "nutrient-dws": {
      "command": "npx",
      "args": ["-y", "nutrient-dws"],
      "env": {
        "NUTRIENT_DWS_API_KEY": "your_api_key_here",
        "SANDBOX_PATH": "/Users/yourname/Documents/nutrient-sandbox"
      }
    }
  }
}
5

Restart Claude Desktop

Quit and reopen Claude Desktop. The Nutrient DWS document-processing tools will appear in the tools panel.

6

Place a document in the sandbox and test

Copy a PDF or DOCX file into your sandbox directory, then ask Claude to convert or process it. The server will read the file, call the Nutrient API, and write the result back to the sandbox.

cp ~/Downloads/invoice.pdf ~/Documents/nutrient-sandbox/

Nutrient DWS Examples

Client configuration

Claude Desktop configuration block for the Nutrient DWS MCP server with API key and sandbox path.

{
  "mcpServers": {
    "nutrient-dws": {
      "command": "npx",
      "args": ["-y", "nutrient-dws"],
      "env": {
        "NUTRIENT_DWS_API_KEY": "your_api_key_here",
        "SANDBOX_PATH": "/Users/yourname/Documents/nutrient-sandbox"
      }
    }
  }
}

Prompts to try

Example prompts that exercise the document conversion, OCR, redaction, and signing tools.

- "Convert invoice.pdf in my sandbox to DOCX format"
- "Run OCR on scanned-contract.pdf and extract the text content"
- "Redact all email addresses and SSNs from report.pdf and save as report-redacted.pdf"
- "Apply a watermark saying CONFIDENTIAL to all pages of nda.pdf"
- "Check my remaining Nutrient API credits"
- "Convert invoice.html to PDF and apply a visible digital signature"

Troubleshooting Nutrient DWS

Tool calls fail with 'unauthorized' or 401 errors

Confirm NUTRIENT_DWS_API_KEY is set correctly and has not expired. If you omit the key, the server starts an OAuth browser flow — ensure a browser is available or provide the key explicitly.

File not found errors when processing documents

All file paths must be relative to the SANDBOX_PATH directory. Ensure the file is copied into the sandbox before asking Claude to process it, and use only the filename (not an absolute path) in your prompt.

OAuth credentials cached at ~/.config/nutrient/credentials.json are stale

Delete the credentials file ('rm ~/.config/nutrient/credentials.json') and restart the server to trigger a fresh OAuth consent flow.

Frequently Asked Questions about Nutrient DWS

What is Nutrient DWS?

Nutrient DWS is a Model Context Protocol (MCP) server that 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. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Nutrient DWS?

Follow the installation instructions on the Nutrient DWS GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Nutrient DWS?

Nutrient DWS works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Nutrient DWS free to use?

Yes, Nutrient DWS is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Databases MCP Servers

Explore all databases servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "nutrient-dws": { "command": "npx", "args": ["-y", "nutrient-dws"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Nutrient DWS?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides