Artificial IntelligenceSeptember 23, 202614 min read
Giving AI Assistants a Map of Your Codebase: An MCP Server for C# Code and SQL Server Schemas
How I built a Model Context Protocol server that analyses C# solutions with Roslyn and SQL Server schemas through catalogue views, stores a structured map in MongoDB per workspace, and exposes it to AI assistants as 40+ tools.
Result: 40+ toolsC# and SQL Server, via MCP
MCPRoslyn.NET Core
Read