Sharplens MCP
by pzalutski-pixel
Analyzes C# and .NET solutions with Roslyn for semantic navigation, diagnostics, impact analysis, and refactoring workflows.
Install Sharplens MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"pzalutski-pixel-sharplens-mcp": {
"command": "npx",
"args": [
"-y",
"sharplens-mcp"
],
"env": {
"DOTNET_SOLUTION_PATH": "YOUR_VALUE_HERE",
"SHARPLENS_ABSOLUTE_PATHS": "YOUR_VALUE_HERE",
"SHARPLENS_LOG_LEVEL": "YOUR_VALUE_HERE",
"SHARPLENS_TIMEOUT_SECONDS": "YOUR_VALUE_HERE",
"SHARPLENS_MAX_DIAGNOSTICS": "YOUR_VALUE_HERE",
"SHARPLENS_ENABLE_SEMANTIC_CACHE": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
npx -y sharplens-mcpNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.
Overview
Use cases
- Navigate overloaded C# methods and inheritance hierarchies
- Trace callers, callees, and multi-hop impact paths
- Review compiler and analyzer diagnostics before CI
- Detect dead code and unreachable branches
- Compare public API changes against a Git reference
Key features
- Roslyn-based semantic C# and .NET analysis
- Symbol navigation and reference classification
- Call graphs, reachability, and change-impact analysis
- Compiler and analyzer diagnostics
- Batch lookups and refactoring previews
- External assembly and XML documentation inspection
Tools80
What Sharplens MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 8d ago via OSV.dev · sharplens-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Sharplens MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Sharplens MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pzalutski-pixel-sharplens-mcp)<a href="https://allmcps.com/mcp/pzalutski-pixel-sharplens-mcp"><img src="https://allmcps.com/api/badge/pzalutski-pixel-sharplens-mcp?style=directory" alt="Sharplens MCP on AllMCPs" /></a>