ValidateFile
Validates a C# file using Roslyn and runs code analyzers
How to use it
ValidateFile is exposed by the Roslyn MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the ValidateFile tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL ROSLYN MCP LISTINGOther tools in Roslyn MCP (1)