Skip to content
VS Code

codeindex for VS Code

io.github.munhq/codeindex

Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.

client:VS Code transport:stdio runtime:npm

Install codeindex in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "codeindex-workspace",
      "description": "CODEINDEX_WORKSPACE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeindex-no-daemon",
      "description": "CODEINDEX_NO_DAEMON",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeindex-daemon-idle-secs",
      "description": "CODEINDEX_DAEMON_IDLE_SECS",
      "password": true
    }
  ],
  "servers": {
    "codeindex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@munhq/codeindex"
      ],
      "env": {
        "CODEINDEX_WORKSPACE": "${input:codeindex-workspace}",
        "CODEINDEX_NO_DAEMON": "${input:codeindex-no-daemon}",
        "CODEINDEX_DAEMON_IDLE_SECS": "${input:codeindex-daemon-idle-secs}"
      }
    }
  }
}

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

codeindex in other clients