Slnmap brings compiler-accurate .NET code graphs to agents via a narrow MCP server

emahmoudnabil · reddit · 2026-07-29

A developer built Slnmap, an MCP server that gives agents a compiler-accurate .NET code graph and humans a standalone HTML graph viewer.

It uses Roslyn rather than regex or tree-sitter, stores the semantic graph in local SQLite, and exposes a narrow read-only MCP surface: find a symbol, trace callers, check impact, and list implementations. On eShopOnWeb with 10 projects, an impact query on an interface with 18 dependents returns in about 270 ms end to end over MCP.

The post also asks for feedback on a key design tradeoff: whether MCP servers should stay narrow and precise or become broader and more flexible as the ecosystem matures. The repo is MIT licensed, fully local, and has no telemetry.

Original post →

More from coding & agent

coding & agent channel →