SharpLens MCP Server
by pzalutski-pixelio.github.pzalutski-pixel/sharplensv1.5.3
Semantic C/.NET analysis via Roslyn: navigation, refactoring, find usages and code intelligence.
context tax
queued
security
queued
cold start
queued
freshness
Maintained54d ago
Install SharpLens MCP server
Install in Claude Code
claude mcp add sharplens -- npx -y sharplens-mcpInstall in Cursor
{
"mcpServers": {
"sharplens": {
"command": "npx",
"args": [
"-y",
"sharplens-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"sharplens": {
"command": "npx",
"args": [
"-y",
"sharplens-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"sharplens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sharplens-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"sharplens": {
"command": "npx",
"args": [
"-y",
"sharplens-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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 |
Freshness
Maintained — last maintenance signal 54d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-17 · 54d ago · GitHub
Latest release
2026-08-16 · 54d ago · GitHub · v1.6.3
Package published
no data · npm/PyPI
Registry entry updated
2026-05-20 · 5mo ago · official registry · v1.5.3
FAQ
›How do I install the SharpLens MCP server in Claude Code?
Run: claude mcp add sharplens -- npx -y sharplens-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does SharpLens require an API key?
No required environment variables are declared in its published metadata.
›Can I use SharpLens as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is SharpLens in the official MCP registry?
Yes, as io.github.pzalutski-pixel/sharplens.
Alternatives to SharpLens
Other devops & ci/cd MCP servers.