Skip to content
Cursor

C# Class Analyzer MCP for Cursor

io.github.undy-mosq/csharpanalysermcp

A read-only MCP server that lets an AI assistant browse any C# solution through Roslyn.

client:Cursor transport:stdio runtime:nuget

Install C# Class Analyzer MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "csharpanalysermcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "CSharpAnalyserMcp",
        "--yes"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

C# Class Analyzer MCP in other clients