This MCP server provides document processing capabilities for a self-hosted Nutrient Document Engine. It supports extracting, editing, redacting, and annotating documents, and exposes these capabilities through natural language for both human interaction and AI agent tool calling.
🛠️ Key Features
Document extraction
Document editing
Document redaction
Document annotation
Natural language interface
MCP server for Model Context Protocol
🚀 Use Cases
Connect AI agents to document processing workflows
Use tool calling to perform document operations
⚡ Developer Benefits
Enables AI agent access to document processing features via MCP
Supports direct human interaction and AI agent tool calling
⚠️ Limitations
Document processing features are tied to a self-hosted Nutrient Document Engine instance
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)..."
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:
bash
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):
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.
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