RoslynMcp
UnclaimedRoslyn-powered MCP server for C# code intelligence
Set up this server
More in AI & ML
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
40 of 40 tools
Documented tools (40)
From project documentation. A server handshake does not verify each tool’s description or behavior.
roslyn_apply_rename
Apply or reject a previewed rename
roslyn_apply_signature_change
Apply or reject a previewed signature change
roslyn_build_project
Smart build: Roslyn diagnostics first, MSBuild only if clean
roslyn_change_signature
Add parameters with non-breaking forwarding overload
roslyn_check_drift
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)
roslyn_check_syntax
Validate a C# snippet for syntax (and optionally semantic) errors without writing to disk
roslyn_clean_solution
Remove all build artifacts
roslyn_find_callers
All methods that call a named symbol (direct or via interface dispatch)
roslyn_find_implementations
All types implementing an interface or overriding a member
roslyn_find_overloads
All overloads for a method on a containing type, with full signatures
roslyn_find_references
Every reference to a symbol across the solution
roslyn_find_string_literal
Search C# string literals with glob or regex; returns raw and decoded values
roslyn_find_unused
Private/internal source symbols with zero direct static references
roslyn_get_call_graph
All methods invoked within a method body (IOperation tree walk)
roslyn_get_diagnostics
Compiler errors and warnings without building
roslyn_get_file_outline
File structure (types + member signatures, no bodies)
roslyn_get_line_count
Line count for one or more files
roslyn_get_member_body
Source of a single method/property/field -- the token saver
roslyn_get_project_info
Project metadata: TFM, packages, language version
roslyn_get_symbol_definition
Jump to where a symbol is declared
roslyn_get_symbol_documentation
XML doc comments for any symbol
roslyn_get_symbol_info
What a name at a location actually resolves to
roslyn_get_symbols_in_scope
All symbols accessible at a file location
roslyn_get_trivia
Whitespace, comments, formatting trivia (experimental)
roslyn_get_type_dependencies
Direct type dependencies from a type declaration and member signatures
roslyn_get_type_hierarchy
Base types, interfaces, and derived types
roslyn_get_type_members
All members of a type with full signatures and doc summaries
roslyn_get_usings
Using directives + implicit global usings
roslyn_insert_lines
Insert lines at a position or anchor pattern
roslyn_list_files
Glob-based file enumeration (fast, no content)
roslyn_list_types
All types in the project with namespace/kind filters
roslyn_local_history
Browse, preview, and restore crash-safe file backups (list/preview/apply)
roslyn_preview_rename
Compute rename diff + confirmation token
roslyn_read_file
File contents with line numbers (C# from in-memory workspace)
roslyn_replace_in_code
Semantic C# editing -- replaces syntax nodes, validates syntax
roslyn_replace_in_file
Text-level find-and-replace with regex (any file type)
roslyn_restore_packages
Restore NuGet packages
roslyn_search_files
Regex search across workspace files with paging
roslyn_semantic_search
Context-aware C# search -- filter by comments, strings, identifiers, xmldocs
roslyn_write_file
Atomically write or create a file; returns a backup token for undo
Tool change history
FAQ
Questions about Roslyn MCP Server
- How do I connect Roslyn MCP Server to Claude?
- The project does not publish a launch command that MCPVault could verify. Open the repository linked on this page for its install steps; the listing names Claude Desktop, Claude Code, Cursor as compatible clients.
- Is Roslyn MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Roslyn MCP Server do?
- Roslyn MCP Server documents 40 tools to the agent, including roslyn_apply_rename, roslyn_apply_signature_change, roslyn_build_project. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.