Skip to content
VS Code

RepoContext for VS Code

io.github.shmindmaster/repocontext

Read-only, commit-pinned repository context for coding agents.

client:VS Code transport:stdio runtime:npm

Install RepoContext in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "repocontext-registry",
      "description": "REPOCONTEXT_REGISTRY",
      "password": true
    }
  ],
  "servers": {
    "repocontext": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shmindmaster/repocontext"
      ],
      "env": {
        "REPOCONTEXT_REGISTRY": "${input:repocontext-registry}"
      }
    }
  }
}

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

RepoContext in other clients