Skip to content
VS Code

rag vault for VS Code

io.github.robthepcguy/rag-vault

Local RAG MCP server with hybrid search, PDF/DOCX support, and zero-config setup

client:VS Code transport:stdio runtime:npm

Install rag vault in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "base-dir",
      "description": "BASE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "db-path",
      "description": "DB_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cache-dir",
      "description": "CACHE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "model-name",
      "description": "MODEL_NAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rag-hybrid-weight",
      "description": "RAG_HYBRID_WEIGHT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rag-grouping",
      "description": "RAG_GROUPING",
      "password": true
    }
  ],
  "servers": {
    "rag-vault": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@robthepcguy/rag-vault"
      ],
      "env": {
        "BASE_DIR": "${input:base-dir}",
        "DB_PATH": "${input:db-path}",
        "CACHE_DIR": "${input:cache-dir}",
        "MODEL_NAME": "${input:model-name}",
        "RAG_HYBRID_WEIGHT": "${input:rag-hybrid-weight}",
        "RAG_GROUPING": "${input:rag-grouping}"
      }
    }
  }
}

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

rag vault in other clients