roslyn_get_project_info
Project metadata: TFM, packages, language version
How to use it
roslyn_get_project_info is exposed by the RoslynMcp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the roslyn_get_project_info tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL ROSLYNMCP LISTINGOther tools in RoslynMcp (39)
Apply or reject a previewed rename
Apply or reject a previewed signature change
Smart build: Roslyn diagnostics first, MSBuild only if clean
Add parameters with non-breaking forwarding overload
Workspace health probe on three axes: source drift (files changed without the workspace noticing), reference health (projects that loaded with no metadata references), and pending reload (a change not yet applied — the only signal that can account for a brand-new file)
Validate a C# snippet for syntax (and optionally semantic) errors without writing to disk
Remove all build artifacts
All methods that call a named symbol (direct or via interface dispatch)
All types implementing an interface or overriding a member
All overloads for a method on a containing type, with full signatures
Every reference to a symbol across the solution
Search C# string literals with glob or regex; returns raw and decoded values
Private/internal source symbols with zero direct static references
All methods invoked within a method body (IOperation tree walk)
Compiler errors and warnings without building
File structure (types + member signatures, no bodies)
Line count for one or more files
Source of a single method/property/field -- the token saver
Jump to where a symbol is declared
XML doc comments for any symbol
What a name at a location actually resolves to
All symbols accessible at a file location
Whitespace, comments, formatting trivia (experimental)
Direct type dependencies from a type declaration and member signatures
Base types, interfaces, and derived types
All members of a type with full signatures and doc summaries
Using directives + implicit global usings
Insert lines at a position or anchor pattern
Glob-based file enumeration (fast, no content)
All types in the project with namespace/kind filters
Browse, preview, and restore crash-safe file backups (list/preview/apply)
Compute rename diff + confirmation token
File contents with line numbers (C# from in-memory workspace)
Semantic C# editing -- replaces syntax nodes, validates syntax
Text-level find-and-replace with regex (any file type)
Restore NuGet packages
Regex search across workspace files with paging
Context-aware C# search -- filter by comments, strings, identifiers, xmldocs
Atomically write or create a file; returns a backup token for undo