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

已驗證STDIO僅桌面效率與工作流檔案與儲存

概覽

AI 產生的概覽

讓助理在自架的 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。處理前需先透過本機儀表板上傳文件。
安裝前請注意
此伺服器需要機密 DOCUMENT_ENGINE_API_AUTH_TOKEN,本機狀態儀表板可選用 DASHBOARD_PASSWORD。工具會修改文件:拆分、加浮水印、複製、填寫表單、套用塗黑以及刪除標註。塗黑與填寫表單會改變內容,依賴結果前請先核對。Document Engine 預設以評估模式執行,有限制與浮水印,需啟用已購買的授權才能解除。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Nutrient Document Engine MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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:

bash
git clone https://github.com/PSPDFKit/nutrient-document-engine-mcp-server.gitcd nutrient-document-engine-mcp-serverdocker-compose up -d

2. Connect Claude Desktop

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

json
{  "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.

bash
# 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.

來源:README.md,提交 0b4c7d0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.0.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Nutrient 整合