Skip to content
VS Code

repo graph for VS Code

io.github.james-chahwan/repo-graph

Structural graph map of any codebase so LLMs navigate by structure, not guesswork.

client:VS Code transport:stdio runtime:pypi

Install repo graph in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "repo-graph-repo",
      "description": "REPO_GRAPH_REPO",
      "password": true
    }
  ],
  "servers": {
    "repo-graph": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-repo-graph"
      ],
      "env": {
        "REPO_GRAPH_REPO": "${input:repo-graph-repo}"
      }
    }
  }
}

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

repo graph in other clients