MCP ServerSTDIOOfficialv1.5.0

SharpLens MCP Server

62 semantic C#/.NET analysis tools via Roslyn: navigation, refactoring, code generation.

io.github.pzalutski-pixel/sharplens

Hosted URL

https://github.com/pzalutski-pixel/sharplens-mcp

Transport

STDIO

Auth

No auth required

Connect to SharpLens

Hosted endpoint — paste into any MCP client.

https://github.com/pzalutski-pixel/sharplens-mcp

Environment variables

Configuration this server reads at startup.

  • 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

  • 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

Resources

Where to find authoritative docs and source for SharpLens.

Try SharpLens with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground