MCP server for analyzing .NET solutions and projects, generating class diagrams, project dependency graphs, architectural metrics, and Entity Framework Core entity relationship diagrams
ProjGraph defines 4 tools with clear verb-noun naming (get_*) and reasonable descriptions (120-180 chars). All tools are READ_ONLY and well-scoped. However, parameter schemas lack depth: 'options' is typed as generic 'object' with minimal constraint documentation, 'topN' lacks min/max bounds, and 'contextName' has no validation guidance. Output schemas are not documented in the visible code. Error handling is present but generic (McpException). Tool descriptions are adequate but could better explain when to use each tool vs. alternatives (e.g., class_diagram vs. erd). No tool annotations (readOnlyHint, etc.) despite all being read-only operations.
Generates a Mermaid class diagram for the types defined in a specific C# file or directory, with options to discover inheritance and related types in the workspace.
Generates a Mermaid Entity Relationship Diagram (ERD) from an Entity Framework Core DbContext or ModelSnapshot file, including entities, properties, relationships, constraints, and inherited properties from base classes.
Analyzes a .NET solution or project file and returns the dependency graph as a Mermaid diagram.
Analyses a .NET solution or project file and returns key architectural metrics: project count, type breakdown, dependency depth statistics, most-referenced (hotspot) projects, and cycle detection.
Parameter 'options' typed as generic 'object' with no schema constraints. LLMs cannot infer valid sub-fields (MaxDepth, etc.) without explicit schema documentation.
Parameter 'topN' lacks min/max bounds. No guidance on valid range (e.g., 1-100). LLMs may pass absurd values causing performance issues.
Output schemas not documented in visible code. LLMs cannot plan downstream operations or extract specific fields from Mermaid diagram strings.
No tool annotations despite all tools being read-only. Missing readOnlyHint would help clients optimize caching and safety policies.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | <=2025-11-25 | v2 |
Error handling returns generic McpException. No recovery guidance (e.g., 'Path not found, ensure absolute path or call with workspace root').