SharpLens MCP Server

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

Local serverstdio

What is the SharpLens MCP Server?

SharpLens is an MCP integration. 67 semantic C/.NET analysis tools via Roslyn: navigation, refactoring, codegen, audit.

Packages and local setup

The published npm package is sharplens-mcp, version 1.5.3. Its declared MCP transport is stdio.

The package declares 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.

The published nuget package is SharpLensMcp, version 1.5.3. Its declared MCP transport is stdio.

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 1.5.3 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related other integrations MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
DOTNET_SOLUTION_PATHPath to .sln or .slnx file to auto-load on startupOptional
ROSLYN_LOG_LEVELLogging verbosity: Trace, Debug, Information, Warning, ErrorOptional
ROSLYN_TIMEOUT_SECONDSTimeout for long-running operationsOptional