
Nutrient Document Engine MCP Server
io.github.PSPDFKit由 GitHub 帳號 PSPDFKit 發布v0.0.3更新於 Oct 24, 2026
MCP server for self-hosted Nutrient Document Engine: extract, edit, redact, and annotate documents.
發布方自己的服務:Nutrient MCP
概覽
讓助理在自架的 Nutrient Document Engine 上處理文件:擷取文字與表格、編輯、塗黑與註解 PDF。
- 可以做什麼
- 透過 stdio 為自架的 Nutrient Document Engine 執行個體提供文件處理工具。能力包括擷取文字、搜尋文件、將頁面算繪為圖片、取得表單與表格資料;拆分文件、加入浮水印、複製檔案、填寫 PDF 表單;使用預設樣式或自訂正規表達式建立並套用塗黑;以及新增、讀取或刪除螢光標示、註解與印章等標註。也可列出文件、傳回中繼資料並回報健康狀態。
- 適用情境
- 當文件處理必須留在本機或私有雲,且需要部署控制與資料落地時,適合選用它,而非託管式文件 API。它適合需要助理讀取、編輯、塗黑或標註已載入自有 Document Engine 執行個體之文件的團隊。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js 18+,以及可連線的 Nutrient Document Engine 執行個體(本機使用建議以 Docker Compose 部署)。必要的環境變數:DOCUMENT_ENGINE_BASE_URL 與 DOCUMENT_ENGINE_API_AUTH_TOKEN。選用:DASHBOARD_USERNAME、DASHBOARD_PASSWORD、LOG_LEVEL。處理前需先透過本機儀表板上傳文件。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Nutrient Document Engine MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Nutrient Document Engine MCP Server
[Document workflows using natural language]
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?
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
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
- 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:
2. Connect Claude Desktop
Add this to your Claude Desktop config (Settings → Developer → Edit Config):
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.
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
- 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 setup - 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.
來源:README.md,提交 0b4c7d0
工具
0版本歷史
1- v0.0.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分