GetSolutionTree
Solution and project structure
How to use it
GetSolutionTree is exposed by the MCP Ai Server Visual Studio MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the GetSolutionTree tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL MCP AI SERVER VISUAL STUDIO LISTINGOther tools in MCP Ai Server Visual Studio (36)
List all breakpoints
Remove breakpoint
Set breakpoint by file+line or function name
Attach to a running process
Pause the running application
Resume execution
Evaluate expression / drill into variable tree
Call stack of current thread
Local variables (tree-navigable)
Current mode: Design, Running, or Break
List processes on a transport
List transports (Default, Docker, WSL, SSH...)
Start debugging (F5). Fire-and-forget
Step over/into/out
Stop debugging session
Errors and warnings from VS Error List
Configure break-on-exception
Run tests asynchronously with real-time status
Build or clean solution/project with structured diagnostics
Go to definition (F12 equivalent)
Find classes, methods, properties by name — semantic, not text
Find all references, compiler-verified (Shift+F12 equivalent)
Visual Studio's native code formatter
Current file and cursor position
Compiler errors & warnings without building — Roslyn background analysis
Semantic structure: classes, methods, properties, fields
Full type hierarchy: base types, derived types, interfaces
Which methods call this method (call graph UP)
Which methods this method calls (call graph DOWN)
Project dependency graph
Identify the symbol at a specific line and column
Execute expression with side effects
Open a .sln/.slnx file — server stays on the same port
Read VS Output window (Build, Debug, Tests)
Safe rename across the entire solution — compiler-verified
Convert paths between Windows and WSL formats