Skip to content
VS Code

cortex for VS Code

io.github.vblackjack/cortex

Local multi-client RAG server over the Model Context Protocol.

client:VS Code transport:stdio runtime:pypi

Install cortex in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cortex-kb-path",
      "description": "CORTEX_KB_PATH",
      "password": true
    }
  ],
  "servers": {
    "cortex": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cortex-local-rag"
      ],
      "env": {
        "CORTEX_KB_PATH": "${input:cortex-kb-path}"
      }
    }
  }
}

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

cortex in other clients