Skip to content
VS Code

Nutrient DWS MCP Server for VS Code

io.github.pspdfkit/nutrient-dws-mcp-server

Nutrient Processor + Data Extraction MCP: convert, OCR, sign, redact, and extract PDFs/Office docs.

client:VS Code transport:stdio runtime:npm

Install Nutrient DWS MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "nutrient-dws-api-key",
      "description": "NUTRIENT_DWS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nutrient-dws-extraction-api-key",
      "description": "NUTRIENT_DWS_EXTRACTION_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sandbox-path",
      "description": "SANDBOX_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "log-level",
      "description": "LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-log-file",
      "description": "MCP_LOG_FILE",
      "password": true
    }
  ],
  "servers": {
    "nutrient-dws-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nutrient-sdk/dws-mcp-server"
      ],
      "env": {
        "NUTRIENT_DWS_API_KEY": "${input:nutrient-dws-api-key}",
        "NUTRIENT_DWS_EXTRACTION_API_KEY": "${input:nutrient-dws-extraction-api-key}",
        "SANDBOX_PATH": "${input:sandbox-path}",
        "LOG_LEVEL": "${input:log-level}",
        "MCP_LOG_FILE": "${input:mcp-log-file}"
      }
    }
  }
}

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

Nutrient DWS MCP Server in other clients