Skip to content
VS Code

StructOCR for VS Code

io.github.dracula911/structocr-mcp

Structured OCR & ID verification MCP: driver license PDF417 verify, PDF tables, 22 endpoints.

client:VS Code transport:stdio runtime:npm

Install StructOCR in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "structocr-api-key",
      "description": "STRUCTOCR_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "structocr-base-url",
      "description": "STRUCTOCR_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "structocr-timeout-ms",
      "description": "STRUCTOCR_TIMEOUT_MS",
      "password": true
    }
  ],
  "servers": {
    "structocr-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "structocr-mcp"
      ],
      "env": {
        "STRUCTOCR_API_KEY": "${input:structocr-api-key}",
        "STRUCTOCR_BASE_URL": "${input:structocr-base-url}",
        "STRUCTOCR_TIMEOUT_MS": "${input:structocr-timeout-ms}"
      }
    }
  }
}

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

StructOCR in other clients