PluginBench
MCP Server
Maintained
MIT

Nutrient Document Engine MCP Server MCP Server

io.github.PSPDFKit/nutrient-document-engine-mcp-server

Connect AI agents to self-hosted document processing: extract, edit, redact, and annotate PDFs via natural language.

What is the Nutrient Document Engine MCP Server MCP server?

The Nutrient Document Engine MCP Server exposes document processing capabilities through natural language, enabling AI agents to extract text, edit, redact, and annotate documents in a self-hosted environment. It provides content access, document editing, security features, and annotation tools for on-premises document workflows with full deployment control.

This MCP server integrates self-hosted Nutrient Document Engine with AI agents like Claude, allowing you to process documents through natural language commands. You can extract data, split documents, redact sensitive information, fill forms, add annotations, and manage document workflows entirely on your infrastructure without relying on cloud APIs.

How to install Nutrient Document Engine MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • DOCUMENT_ENGINE_BASE_URL
    required

    Base URL of your Nutrient Document Engine instance (e.g. http://localhost:5000).

  • DOCUMENT_ENGINE_API_AUTH_TOKEN
    required
    secret

    API auth token for your Document Engine instance.

  • DASHBOARD_USERNAME

    Optional: enables the local status dashboard (Basic auth username).

  • DASHBOARD_PASSWORD
    secret

    Optional: local status dashboard password.

  • LOG_LEVEL

    Optional log level (default info).

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "nutrient-document-engine-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@nutrient-sdk/document-engine-mcp-server"
      ],
      "env": {
        "DOCUMENT_ENGINE_BASE_URL": "<YOUR_DOCUMENT_ENGINE_BASE_URL>",
        "DOCUMENT_ENGINE_API_AUTH_TOKEN": "<YOUR_DOCUMENT_ENGINE_API_AUTH_TOKEN>",
        "DASHBOARD_USERNAME": "<YOUR_DASHBOARD_USERNAME>",
        "DASHBOARD_PASSWORD": "<YOUR_DASHBOARD_PASSWORD>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • Content Access — Extract text, search documents, render pages as images, extract form data and table structures
  • Document Editing — Split documents, add watermarks, duplicate documents, fill PDF forms
  • Security & Redaction — Create and apply redactions for sensitive data using preset patterns (SSNs, credit cards) or custom regex
  • Annotations — Add, read, and delete document annotations including highlights, notes, and stamps
  • System Tools — Document discovery, metadata retrieval, and health monitoring

Use cases

  • Extract names, phone numbers, and other structured data from invoices and forms using natural language queries
  • Redact sensitive information like social security numbers and credit card details across multiple documents
  • Split multi-page contracts into organized sections and manage document structure programmatically
  • Fill PDF forms automatically and generate watermarked document versions
  • Monitor document processing health and manage document inventory through an AI agent

Nutrient Document Engine MCP Server MCP server FAQ

What is the Nutrient Document Engine MCP Server?

It's an MCP server that connects AI agents to self-hosted document processing capabilities, enabling extraction, editing, redaction, and annotation of documents through natural language commands.

Is this free to use?

The server runs with an evaluation license by default. You can remove evaluation limitations by purchasing a license from Nutrient and configuring the ACTIVATION_KEY environment variable.

How do I install it in Claude Desktop?

Clone the repository, run `docker-compose up -d` to start Nutrient Document Engine, then add the MCP server configuration to Claude Desktop's settings with the appropriate environment variables (DOCUMENT_ENGINE_BASE_URL, API token, dashboard credentials).

What authentication is required?

You need to configure DOCUMENT_ENGINE_API_AUTH_TOKEN for the Document Engine API and DASHBOARD_USERNAME/DASHBOARD_PASSWORD for the web dashboard. For network-accessible HTTP transport, MCP_HTTP_AUTH_TOKEN is required.

Can I use this with platforms other than Claude Desktop?

Yes, it works with any MCP-compatible AI platform including LangGraph, OpenAI APIs, and custom agents. Examples are provided for LangGraph and OpenAI Agents SDK.

Does this require cloud infrastructure?

No, it's designed for self-hosted and on-premises deployments. You run Nutrient Document Engine locally via Docker Compose, giving you full control over data residency and deployment.

README (reference)

Source of truth, from the repository.

Nutrient Document Engine MCP Server

Document workflows using natural language

npm

Connect AI agents to document processing.

This MCP server exposes document processing capabilities through natural language, supporting both direct human interaction and AI agent tool calling.

Which MCP Server Should I Use?

ServerBest forDeploymentCore capabilities
Nutrient DWS MCP ServerCloud document workflowsNutrient-hosted API (API key)Convert, OCR, redact, sign, extract, watermark, automation
Nutrient Document Engine MCP ServerSelf-hosted document workflowsOn-prem/private cloudDocument processing with deployment control and data residency

You are in the Document Engine MCP Server repo. Choose this when you need self-hosted/on-prem document workflows and deployment control.

Example Conversations

Once configured, you (or your agent) can interact with documents through natural language:

You: "What documents do I have available?"
AI: "I can see you have 3 documents: annual-report.pdf, contract-draft.pdf, and tax-form-2023.pdf. Would you like me to analyze any of these?"

You: "Extract all the names and phone numbers from these invoices"
AI: "I found 12 contacts: John Smith (555-0123), Sarah Johnson (555-0456)..."

You: "Redact all social security numbers from these tax forms"
AI: "I've identified and redacted 3 SSNs across 2 documents. The redacted versions are ready."

You: "Split this 50-page contract into separate sections"
AI: "I've split the contract into 5 sections: Terms (pages 1-8), Payment (pages 9-15)..."

Setup with Claude Desktop

Document Engine MCP Server + Claude Desktop

Prerequisites

Licensing

Nutrient Document Engine runs with an evaluation license by default. Please see Removing Evaluation Limitations section on how to remove the evaluation limitations.

1. Start Nutrient Document Engine

Open a terminal window, then run:

git clone https://github.com/PSPDFKit/nutrient-document-engine-mcp-server.git
cd nutrient-document-engine-mcp-server
docker-compose up -d

2. Connect Claude Desktop

Add this to your Claude Desktop config (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "nutrient-document-engine": {
      "command": "npx",
      "args": ["-y", "@nutrient-sdk/document-engine-mcp-server"],
      "env": {
        "DASHBOARD_USERNAME": "admin",
        "DASHBOARD_PASSWORD": "password",
        "DOCUMENT_ENGINE_BASE_URL": "http://localhost:5000",
        "DOCUMENT_ENGINE_API_AUTH_TOKEN": "secret"
      }
    }
  }
}

3. Restart Claude Desktop

4. Upload and Process Documents

  1. Open your web browser and go to http://localhost:5100/dashboard.
  2. Upload the documents you want to work with by using the drag-and-drop interface.
  3. Switch back to Claude Desktop and ask questions like: "List my documents and extract text from the contract"

HTTP Transport Security

The optional HTTP transport binds to 127.0.0.1 by default. A non-loopback MCP_HOST requires MCP_HTTP_AUTH_TOKEN; the server refuses to start without a nonempty token. Clients must send the token on every /mcp request as Authorization: Bearer <token>. If a token is set for a loopback HTTP server, /mcp requires it there too. This token does not protect /health or /dashboard; dashboard access uses DASHBOARD_USERNAME and DASHBOARD_PASSWORD.

# Local-only HTTP transport; no MCP bearer token required.
MCP_TRANSPORT=http npx @nutrient-sdk/document-engine-mcp-server

# Network-accessible HTTP transport; bearer authentication is required.
MCP_TRANSPORT=http MCP_HOST=0.0.0.0 MCP_HTTP_AUTH_TOKEN=replace-with-a-secret \
  npx @nutrient-sdk/document-engine-mcp-server

The default stdio transport is unchanged and never requires MCP_HTTP_AUTH_TOKEN.

Features

This MCP server provides document processing tools in these areas:

Content Access: Extract text, search documents, render pages as images, extract form data and table structures.

Document Editing: Split documents, add watermarks, duplicate documents, fill PDF forms.

Security: Create and apply redactions for sensitive data using preset patterns (SSNs, credit cards, etc.) or custom regex.

Annotations: Add, read, and delete document annotations including highlights, notes, and stamps.

System: Document discovery, metadata retrieval, and health monitoring.

Use with Other AI Platforms

This MCP server works with any AI platform that supports the Model Context Protocol:

  • Claude Desktop - Quick setup with the configuration above.
  • LangGraph - Integrate with LangGraph agents for complex workflows.
  • OpenAI APIs - Connect through MCP-compatible frameworks.
  • Custom agents - Any MCP-compatible AI system.

Examples and Documentation

Examples

Documentation

Removing Evaluation Watermarks and Limitations

Document Engine runs in evaluation mode with limitations by default. To remove them:

  1. Contact Sales to purchase a license from Nutrient
  2. Configure your license by setting the ACTIVATION_KEY environment variable in your Docker Compose configuration or Document Engine setup
  3. Restart Document Engine to apply the license

For detailed licensing configuration, see the Document Engine licensing guide.

Server Based Document Engine Setups

On-Premise Installation: Follow the Nutrient Document Engine installation guide.

Managed Cloud: Use a hosted Document Engine instance - setup guide.

Contributing

We welcome contributions! See CONTRIBUTING.md for development setup, testing guidelines, and how to submit pull requests.

License

MIT License - see LICENSE file for details.

Related MCP servers

Nutrient Processor + Data Extraction MCP: convert, OCR, sign, redact, and extract PDFs/Office docs.

View repository →

Safe, agent-friendly Excel workbook analysis, editing, recalculation, and verification without UI automation.

58
Rust
Apache-2.0
View repository →

Agent-safe Excel workbook analysis, editing, recalculation, and verification without UI automation.

47
Rust
Apache-2.0
View repository →
TATablaCognita logo

TablaCognita

Maintained

MCP-native collaborative markdown editor with real-time AI document editing

2
JavaScript
Apache-2.0
View repository →

Adds research-backed Chain-Pattern Interrupts so AI agents pause, reflect, and avoid reasoning lock-in.

494
TypeScript
MIT
View repository →

Manage your entire Discord server from Claude, Cursor, or VS Code with 95+ natural-language tools.

13
TypeScript
MIT
View repository →