Skip to content
VS Code

CodeMap for VS Code

io.github.bbajt/codemap-mcp

Roslyn-powered MCP server for C#/VB.NET. Query symbols, call graphs, and facts. 90%+ token savings.

client:VS Code transport:stdio runtime:nuget

Install CodeMap in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "codemap-cache-dir",
      "description": "CODEMAP_CACHE_DIR",
      "password": true
    }
  ],
  "servers": {
    "codemap-mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "codemap-mcp",
        "--yes"
      ],
      "env": {
        "CODEMAP_CACHE_DIR": "${input:codemap-cache-dir}"
      }
    }
  }
}

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

CodeMap in other clients