Nutrient Document Engine MCP Server
Requires Docker Compose to run the Nutrient Document Engine locally, which provides the backend document processing capabilities for the MCP server.
Provides integration with LangGraph agents for complex document processing workflows including contract processing, form filling, and report generation.
Supports integration through the OpenAI Agents SDK for document processing workflows including contract processing, form filling, and report generation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nutrient Document Engine MCP Serverextract all email addresses from the quarterly report pdf"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nutrient Document Engine MCP Server

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?
Server | Best for | Deployment | Core capabilities |
Cloud document workflows | Nutrient-hosted API (API key) | Convert, OCR, redact, sign, extract, watermark, automation | |
Self-hosted document workflows | On-prem/private cloud | Document 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.
Ecosystem overview: Nutrient AI Infrastructure
Product landing page: Nutrient MCP Server
Related MCP server: PDF MCP
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

Prerequisites
Claude Desktop - Download from Anthropic.
Docker Compose - Download from Docker. For running Nutrient Document Engine locally.
Node.js 18+ - This MCP server runs via
npx.
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 -d2. 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
Open your web browser and go to http://localhost:5100/dashboard.
Upload the documents you want to work with by using the drag-and-drop interface.
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-serverThe 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
LangGraph Document Processing - Workflow examples for contract processing, form filling, and report generation.
OpenAI Agents SDK Document Processing - Workflow examples for contract processing, form filling, and report generation.
Document Chat Interface - Web application with React and LangGraph.
Procurement AI Agent - An AI Agent written with Langgraph.js, that classifies and collates POs, invoices, and payment documents into groups and flags for human review
Documentation
Configuration Guide - Environment variables, transport modes, dashboard.
Features Reference - Detailed description of all document processing tools.
Evaluation Framework - Testing and benchmarking tools.
Removing Evaluation Watermarks and Limitations
Document Engine runs in evaluation mode with limitations by default. To remove them:
Contact Sales to purchase a license from Nutrient
Configure your license by setting the
ACTIVATION_KEYenvironment variable in your Docker Compose configuration or Document Engine setupRestart 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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Generate and read PDFs for AI agents: a generate_pdf and a read_pdf tool, priced per document.
Agent-native document parsing: PDF, scans and FR/EU invoices to structured JSON or Markdown.
Free PDF tools for AI agents: merge, split, rotate, watermark, page numbers, metadata, flatten.
Document API for AI-native software: render PDFs, e-sign, PAdES-seal, and verify.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables PDF manipulation including text, images, annotations, form fields, page operations, and metadata through natural language.16MIT
- AlicenseAqualityDmaintenanceEnables PDF processing and analysis including text extraction, metadata retrieval, search, page manipulation, splitting/merging, conversion to images, and form handling.10MIT
- AlicenseCqualityBmaintenanceEnables AI assistants to perform PDF operations like merge, split, compress, convert, encrypt, OCR, and summarize using natural language.9824MIT
- AlicenseNot gradedqualityAmaintenanceEnables document merging, splitting, and info retrieval for PDF, DOCX, XLSX, PPTX, and 30+ formats via AI agents.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PSPDFKit/nutrient-document-engine-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server