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

What the SharpLens MCP server does

How models use it and what it is built for.

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

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.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground