SharpLens
Rank #1983glama/pzalutski-pixel/sharplens-mcp
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.
SharpLens is a Model Context Protocol (MCP) server published by pzalutski-pixel. It ranks #1983 of 58,900 servers tracked on MCP Toplist, and its repository has 17 GitHub stars. SharpLens is listed across 3 registries — Official MCP, Glama and PulseMCP, with 3 tracked versions. It was first listed on Dec 27, 2025 and most recently updated on Apr 16, 2026.
Ranks ahead of 56,917 of 58,900 servers on MCP Toplist.
Use SharpLens
Add SharpLens to any MCP client (Claude, Cursor, VS Code, …) with one of the configs below.
{
"mcpServers": {
"sharplens-mcp": {
"command": "npx",
"args": [
"-y",
"sharplens-mcp"
],
"env": {
"DOTNET_SOLUTION_PATH": "<your DOTNET_SOLUTION_PATH>",
"ROSLYN_LOG_LEVEL": "<your ROSLYN_LOG_LEVEL>",
"ROSLYN_TIMEOUT_SECONDS": "<your ROSLYN_TIMEOUT_SECONDS>"
}
}
}
}Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sharplens-mcp": {
"command": "dnx",
"args": [
"SharpLensMcp"
],
"env": {
"DOTNET_SOLUTION_PATH": "<your DOTNET_SOLUTION_PATH>",
"ROSLYN_LOG_LEVEL": "<your ROSLYN_LOG_LEVEL>",
"ROSLYN_TIMEOUT_SECONDS": "<your ROSLYN_TIMEOUT_SECONDS>"
}
}
}
}Replace each placeholder with your own value before saving.
Listed on 2 registries (1 delisted)
pzalutski-pixel
Other servers by pzalutski-pixel
View all pzalutski-pixel servers →Available versions (3)
| Version | Published |
|---|---|
| 1.5.1 | Apr 16, 2026 |
| 1.5.0 | Apr 8, 2026 |
| 1.4.2 | Apr 8, 2026 |
Frequently asked questions
- What is SharpLens?
- 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.
- Who maintains SharpLens?
- SharpLens is maintained by pzalutski-pixel, which publishes 3 MCP servers (11 total versions) tracked on MCP Toplist.
- Is SharpLens an official MCP server?
- Yes — SharpLens is listed on the Official MCP Registry, alongside Glama and PulseMCP.
- How many versions does SharpLens have?
- MCP Toplist tracks 3 versions of SharpLens, most recently published on Apr 16, 2026.
- Where can I find the source code for SharpLens?
- The source code for SharpLens is hosted at github.com/pzalutski-pixel/sharplens-mcp.