
CodeMap
Give coding agents Roslyn-accurate symbol, call-graph, and fact queries on C# and VB.NET repos instead of dumping whole files into context.
Overview
CodeMap is a MCP server for the Build phase that exposes Roslyn-based C# and VB.NET symbols, call graphs, and facts to coding agents with large token savings.
What is this MCP server?
- Roslyn-powered indexing for C# and VB.NET with symbol and call-graph queries
- Publisher claims 90%+ token savings versus raw file dumps in agent sessions
- NuGet codemap-mcp package with stdio MCP transport
- Optional CODEMAP_CACHE_DIR for shared baseline caches on CI or team machines
- index.ensure_baseline can reuse cache before a full Roslyn build
- Publisher cites 90%+ token savings versus raw file context
- Server version 1.4.0 via NuGet stdio package codemap-mcp
- Supports C# and VB.NET via Roslyn indexing
Community signal: 8 GitHub stars.
What problem does it solve?
Agents burn context and hallucinate structure when they read entire .NET files instead of querying compiler-backed code facts.
Who is it for?
Indie builders maintaining C# or VB.NET codebases who want MCP-driven navigation and call-graph questions in daily agent sessions.
Skip if: Polyglot repos without .NET or teams that only need generic ripgrep search without Roslyn semantics.
What do I get? / Deliverables
Your assistant retrieves targeted symbols and call relationships so you ship .NET changes faster with smaller, more accurate prompts.
- Queryable symbol and call-graph answers grounded in Roslyn
- Cached baseline indexes for repeat agent sessions
- Lower-token .NET navigation workflow in the agent
Recommended MCP Servers
Journey fit
CodeMap sits in Build because it accelerates day-to-day implementation and navigation while agents work inside a .NET codebase. Agent-tooling is the right shelf: the server exists to shrink tokens and answer structured code intelligence questions for MCP-connected assistants.
How it compares
Roslyn code-intelligence MCP integration, not a cloud IDE or standalone refactoring skill.
Common Questions / FAQ
Who is CodeMap for?
It is for developers and solo founders using AI agents on C# or VB.NET projects who need accurate symbols and call graphs without loading whole solutions into context.
When should I use CodeMap?
Use it during feature work, refactors, or debugging when you want the agent to trace callers, resolve types, or explore facts after a Roslyn index is available.
How do I add CodeMap to my agent?
Install the NuGet codemap-mcp package, register it as a stdio MCP server in your client, set CODEMAP_CACHE_DIR if you want shared baselines, and run index tools before graph queries.