Token-efficient MCP server that answers .NET symbol questions with Roslyn instead of grep.
View on GitHub ↗RoslynGate is a stdio MCP server that answers .NET symbol questions with Roslyn instead of text search. It returns compact, deterministic results so an agent can find a definition, reference, or hierarchy without dumping code into the context window.
It is built for medium and large .NET solutions. On a couple of projects, the MCP schema and the extra turns can cost more than the file reads they replace. Measure before expecting a win.
Tool Purpose --- --- getsymboldefinition Resolve one symbol by qualified name or file + line. findsymbolreferences Find semantic references, paginated; includeDefinition=true also returns the resolved symbol. gettypehierarchy Base types, interfaces, derived types, implementations. searchsymbols Find symbols by name fragment before resolving. reloadworkspace Reload after project or structural changes.
Every response is JSON. detail=compact (default) keeps the wire small; detail=verbose adds namespace, container, column, and longer documentation.
When a page is truncated, findsymbolreferences and searchsymbols also return nextOffset and a hint:
Use parameterTypes to disambiguate overloads:
With the default watcher, .cs edits are applied incrementally. Structural changes set stale: true; the agent should call reloadworkspace before trusting an empty result. Disable the watcher with --no-watch.
Against rg on this repository, compact tool output used 76-92% fewer characters for definition, references, hierarchy, and search tasks. That is tool output, not session tokens. Warm queries took 4-11 ms; the first query includes MSBuild loading (~1
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/SammyBytes--RoslynGate.html)
Teach your AI coding agent what your DevExpress XAF application actually does. Roslyn-based extraction of entities, controllers, business rules and Model Editor customizations.
soheil-mp/solidworks-mcpMCP server that lets AI agents drive SOLIDWORKS: parts, sketches, features, assemblies, drawings, export and simulation, with every change verified (C#, .NET 10, official COM API)
IgnatovichStanislav/kufar-mcpMCP server for Kufar.by: search the catalog, track your listings' stats, saved searches and chat from Claude or any MCP client
keithadler/leanstudioA native desktop IDE for Lean 4 on macOS, Windows and Linux. Every proof re-checked by Tenet, an independent Lean 4 kernel. An MCP server for AI assistants, with Git and GitHub built in.
smollini/AgentQueueMcpFirewall-friendly messaging for AI agents: MCP server that turns one Azure Storage account into an addressed multi-agent message bus. Pull-only, zero inbound ports.
Darek3399/MCP-BridgeLocal-first MCP Hub & Server Manager for Windows. Connect all STDIO and HTTP Model Context Protocol servers through one endpoint with real-time tool switching and Tailscale Funnel.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.