roslyn_clean_solution

MCP tool from RoslynMcp by MadQ

Remove all build artifacts

How to use it

Project documentation lists roslyn_clean_solution for the RoslynMcp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

FULL ROSLYNMCP LISTING

Other tools in RoslynMcp (39)

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_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