SharpLens
67 semantic C#/.NET analysis tools via Roslyn: navigation, refactoring, codegen, audit.
Documentation & Preview
{ "mcpServers": { "mcp-sharplens": { "command": "npx", "args": [ "-y", "--package", "sharplens-mcp@1.5.3", "sharplens-mcp" ], "env": { "DOTNET_SOLUTION_PATH": "${ENV_DOTNET_SOLUTION_PATH}", "ROSLYN_LOG_LEVEL": "${ENV_ROSLYN_LOG_LEVEL}", "ROSLYN_TIMEOUT_SECONDS": "${ENV_ROSLYN_TIMEOUT_SECONDS}" } } }, "setup": { "fields": [ { "id": "ENV_DOTNET_SOLUTION_PATH", "label": "DOTNET_SOLUTION_PATH", "description": "Path to .sln or .slnx file to auto-load on startup", "required": false, "secret": false, "default": "" }, { "id": "ENV_ROSLYN_LOG_LEVEL", "label": "ROSLYN_LOG_LEVEL", "description": "Logging verbosity: Trace, Debug, Information, Warning, Error", "required": false, "secret": false, "default": "Information" }, { "id": "ENV_ROSLYN_TIMEOUT_SECONDS", "label": "ROSLYN_TIMEOUT_SECONDS", "description": "Timeout for long-running operations", "required": false, "secret": false, "default": "30" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.pzalutski-pixel/sharplens", "registryVersion": "1.5.3", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.pzalutski-pixel%2Fsharplens/versions/1.5.3", "repository": "pzalutski-pixel/sharplens-mcp", "sourceCommit": "35c41963641c5546295a61490af512a449251dfd", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "npm", "identifier": "sharplens-mcp", "version": "1.5.3", "integrity": "sha512-blsIrd2BIXOgVcwOHtnX3O6B6CvHLVc0qVzOQ531uT3mubvuRsXWG0sv7Kewy248OMfVzHEtztFuvcVzxwKWLA==", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T01:02:12.605Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }