CodeMap MCP Server
by bbajtio.github.bbajt/codemap-mcpv1.4.0
Roslyn-powered MCP server for C#/VB.NET. Query symbols, call graphs, and facts. 90%+ token savings.
context tax
queued
security
queued
cold start
queued
freshness
Active7d ago
Install CodeMap MCP server
Install in Claude Code
claude mcp add csharp-code-map -- dnx codemap-mcp --yesInstall in Cursor
{
"mcpServers": {
"csharp-code-map": {
"command": "dnx",
"args": [
"codemap-mcp",
"--yes"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"csharp-code-map": {
"command": "dnx",
"args": [
"codemap-mcp",
"--yes"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"csharp-code-map": {
"type": "stdio",
"command": "dnx",
"args": [
"codemap-mcp",
"--yes"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"csharp-code-map": {
"command": "dnx",
"args": [
"codemap-mcp",
"--yes"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CODEMAP_CACHE_DIR | — | — | Path to a shared baseline cache directory. When set, index.ensure_baseline checks the cache before running a full Roslyn build — useful on CI or shared machines. |
Freshness
Active — last maintenance signal 7d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-02 · 7d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-04-02 · 6mo ago · official registry · v1.4.0
FAQ
›How do I install the CodeMap MCP server in Claude Code?
Run: claude mcp add csharp-code-map -- dnx codemap-mcp --yes. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does CodeMap require an API key?
No required environment variables are declared in its published metadata.
›Can I use CodeMap as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is CodeMap in the official MCP registry?
Yes, as io.github.bbajt/codemap-mcp.