Skip to content

Nutrient Document Engine MCP Server for VS Code

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

MCP server for self-hosted Nutrient Document Engine: extract, edit, redact, and annotate documents.

client:VS Code transport:stdio runtime:npm

Install Nutrient Document Engine MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "document-engine-base-url",
      "description": "DOCUMENT_ENGINE_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "document-engine-api-auth-token",
      "description": "DOCUMENT_ENGINE_API_AUTH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dashboard-username",
      "description": "DASHBOARD_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dashboard-password",
      "description": "DASHBOARD_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "log-level",
      "description": "LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "nutrient-document-engine-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nutrient-sdk/document-engine-mcp-server"
      ],
      "env": {
        "DOCUMENT_ENGINE_BASE_URL": "${input:document-engine-base-url}",
        "DOCUMENT_ENGINE_API_AUTH_TOKEN": "${input:document-engine-api-auth-token}",
        "DASHBOARD_USERNAME": "${input:dashboard-username}",
        "DASHBOARD_PASSWORD": "${input:dashboard-password}",
        "LOG_LEVEL": "${input:log-level}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Nutrient Document Engine MCP Server in other clients