sharplens-mcp by pzalutski-pixel
34 score
A Model Context Protocol (MCP) server providing 62 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.
Ranked #4960 out of 9559 indexed tools.
Is this your tool? Claim this listing to add maintainer context, get a verified badge, and unlock analytics.
Claim listing → Signal Breakdown
Installs 0
Freshness 11d ago
Issue Health 50%
Stars 12
Platform Breadth 1 platform
Contributors 0
Description Detailed
How to Improve
Contributors medium impact
Stars low impact
Platforms medium impact
Supported Platforms
From the README
# SharpLensMcp
A Model Context Protocol (MCP) server providing **62 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)
```bash
dotnet tool install -g SharpLensMcp
```
Then run with:
```bash
sharplens
```
### Via npm
```bash
npx -y sharplens-mcp
```
### Build from Source
```bash
dotnet build -c Release
dotnet publish -c Release -o ./publish
```
## Claude Code Setup
1. **Install the tool** (pick one):
```bash
dotnet tool install -g SharpLensMcp
# or
npx -y sharplens-mcp
```
2. **Create `.mcp.json` in your project root**:
```json
{
"mcpServers": {
"sharplens": {
"type": "stdio",
"command": "npx",
"args": ["-y", "sharplens-mcp"],
"env": {
"DOTNET_SOLUTION_PATH": "/path/to/your/Solution.sln (or .slnx Read full README on GitHub →