A Roslyn-powered MCP server that gives live access to a loaded .NET solution — diagnostics, type navigation, symbol search, and automated code fixes — all sourced from the actual compilation.
Agentic .NET provides 11 well-named tools with clear verb-noun patterns (get_*, apply_*, find_*, rename_*). All tools have descriptions (avg ~150 chars, within baseline 34-392 range). Input schemas are present with typed parameters and descriptions. However, output schemas are NOT documented, tools return JSON strings without declared field structures, forcing LLMs to parse unstructured responses. Error handling is minimal (generic 'not found' messages without recovery guidance). No pagination support despite tools that could return large result sets (find_symbol caps at 100 results but doesn't document this limit in the description). Parameter descriptions lack format constraints (e.g., filePath expects 'absolute path' but no validation rules stated). Tool composition is sound, each tool has one responsibility and output IDs chain to downstream tools.
Apply a specific code fix to a diagnostic in a file. Writes the changed files to disk and returns a summary. Use get_code_fixes first to discover the available fix titles.
Find all types that implement an interface or inherit from a base class. For interfaces: finds implementing classes. For classes: finds all derived (sub)classes transitively.
Find all overrides of a virtual or abstract method in derived types across the solution.
Find symbols in the solution by name. Searches classes, interfaces, enums, structs, delegates, methods, properties, fields. The search is case-insensitive and matches partial names. Returns up to 100 results.
List available automated code fixes for diagnostics in a file. Returns each diagnostic with the titles of its applicable fixes. Use apply_code_fix to apply a specific fix.
Get compilation diagnostics from the solution, including both compiler errors/warnings and analyzer diagnostics (CA*, IDE*, etc.) as configured in the project. Without a file path: returns errors and warnings for the whole solution. With a file path: returns all severities (including Info and Hidden) for that file only.
Output schemas not documented. Tools return JSON strings (e.g., get_code_fixes returns serialized array of diagnostic objects) but field structures are not declared. LLMs must parse unstructured responses, increasing hallucination risk and token waste.
Error messages lack recovery guidance. Errors like 'File not found in solution' or 'Could not compile project' do not suggest next steps (e.g., 'Try get_solution_projects() to list available files'). Agents cannot self-correct.
Result limits not documented in descriptions. find_symbol caps at 100 results but the description does not state this limit. Agents may expect unbounded results and misplan.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
Get every namespace declared in a project, sorted alphabetically.
List all projects in the solution with their paths, assembly names, and output kind.
Get detailed information about a type: base type, interfaces, constructors, methods, properties, fields, and events. Use the fully qualified metadata name.
List all types (classes, interfaces, enums, structs, delegates) in a specific namespace within a project.
Rename a symbol (class, method, property, variable, etc.) across the entire solution. Changes are written to disk. Returns the list of modified files.
Parameter format constraints missing. filePath parameters state 'Absolute path to the .cs file' but do not specify validation rules (e.g., must exist, must be within solution root). LLMs may pass invalid paths.
No pagination support for potentially large result sets. get_types_in_namespace, find_symbol, and find_implementations could return many results but lack limit/offset or cursor parameters. Large responses risk context window exhaustion.