pdf mcp for VS Code
io.github.jztan/pdf-mcp
Agentic RAG over one PDF or a whole folder: hybrid search, selective page reads, tables, OCR.
client:VS Code
transport:stdio
runtime:pypi
Install pdf mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "pdf-mcp-cache-dir",
"description": "PDF_MCP_CACHE_DIR",
"password": true
},
{
"type": "promptString",
"id": "pdf-mcp-cache-ttl",
"description": "PDF_MCP_CACHE_TTL",
"password": true
}
],
"servers": {
"pdf-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"pdf-mcp"
],
"env": {
"PDF_MCP_CACHE_DIR": "${input:pdf-mcp-cache-dir}",
"PDF_MCP_CACHE_TTL": "${input:pdf-mcp-cache-ttl}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs