MCP directory
S

SharpLens

by github.com/pzalutski-pixel · v1.5.3 · updated May 20, 2026

67 semantic C#/.NET analysis tools via Roslyn: navigation, refactoring, codegen, audit.

npmNuGet

Run it locally

Install the package and point your AI client at it.

Environment variables

  • DOTNET_SOLUTION_PATH

    Path to .sln or .slnx file to auto-load on startup

  • ROSLYN_LOG_LEVEL

    Logging verbosity: Trace, Debug, Information, Warning, Error

  • ROSLYN_TIMEOUT_SECONDS

    Timeout for long-running operations

NuGet

dnx SharpLensMcp --yes

Environment variables

  • DOTNET_SOLUTION_PATH

    Path to .sln or .slnx file to auto-load on startup

  • ROSLYN_LOG_LEVEL

    Logging verbosity: Trace, Debug, Information, Warning, Error

  • ROSLYN_TIMEOUT_SECONDS

    Timeout for long-running operations

More from github.com/pzalutski-pixel

More MCP servers