Skip to content
VS Code

MinerU Open MCP for VS Code

io.github.opendatalab/mineru-open-mcp

Parse PDFs, images, doc, docx, ppt, pptx, xls, xlsx, html into Markdown using MinerU API.

client:VS Code transport:stdio runtime:pypi

Install MinerU Open MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mineru-api-token",
      "description": "MINERU_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "output-dir",
      "description": "OUTPUT_DIR",
      "password": true
    }
  ],
  "servers": {
    "mineru-open-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mineru-open-mcp"
      ],
      "env": {
        "MINERU_API_TOKEN": "${input:mineru-api-token}",
        "OUTPUT_DIR": "${input:output-dir}"
      }
    }
  }
}

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

MinerU Open MCP in other clients