{"repo":"pzalutski-pixel/sharplens-mcp","free":true,"listed":false,"github":"https://github.com/pzalutski-pixel/sharplens-mcp","clone":"git clone https://github.com/pzalutski-pixel/sharplens-mcp.git","description":"Roslyn-powered MCP server for AI-driven C# semantic analysis, refactoring, and code generation","language":"C#","stars":32,"topics":["ai","claude-code","code-analysis","csharp","dotnet","mcp","roslyn","semantic-analysis"],"license":"MIT","category":"mcp-servers","readme_excerpt":"SharpLensMcp A Model Context Protocol (MCP) server providing 92 AI-optimized tools for .NET/C# semantic code analysis, navigation, refactoring, and code generation using Microsoft Roslyn. Built for AI coding agents - provides compiler-accurate code understanding that AI cannot infer from reading source files alone. Installation Via NuGet (Recommended) Then run with: Via npm Build from Source Claude Code Setup 1. Install the tool (pick one): 2. Create .mcp.json in your project root : 3. Restart Claude Code to load the MCP server 4. Verify by asking Claude to run a health check on the Roslyn server Why Use This with Claude Code? Claude Code has native LSP support for basic navigation (go-to-definition, find references). SharpLensMcp adds deep semantic analysis : Capability Native LSP SharpLensMcp ------------ ------------ -------------- Go to definition ✅ ✅ Find references ✅ ✅ Find async methods missing CancellationToken ❌ ✅ Impact analysis (what breaks?) ❌ ✅ Dead code detection ❌ ✅ Complexity metrics ❌ ✅ Safe refactoring with preview ❌ ✅ Batch operations ❌ ✅ Configuration Environment Variable Description Default --------------------- ------------- --------- DOTNET SOLUTION PATH Path to .sln or .slnx file to auto-load on startup None (must call load solution ) SHARPLENS ABSOLUTE PATHS Use absolute paths instead of relative false (relative paths save tokens) SHARPLENS LOG LEVEL Logging verbosity: Trace , Debug , Information , Warning , Error Information SHARPLENS TIMEOUT SECONDS","default_branch":null,"files":null,"tree":[],"storefront":"/r/pzalutski-pixel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pzalutski-pixel/sharplens-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}