Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

SharpLens

local MCP server

Installation

Terminal

claude mcp add sharplens -e DOTNET_SOLUTION_PATH=... -e ROSLYN_LOG_LEVEL=... -e ROSLYN_TIMEOUT_SECONDS=... -- npx -y sharplens-mcp

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "sharplens": {
      "command": "npx",
      "args": [
        "-y",
        "sharplens-mcp"
      ],
      "env": {
        "DOTNET_SOLUTION_PATH": "...",
        "ROSLYN_LOG_LEVEL": "...",
        "ROSLYN_TIMEOUT_SECONDS": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

Summary

67 semantic C/.NET analysis tools via Roslyn: navigation, refactoring, codegen, audit.

Questions

SharpLens is a local MCP server distributed as the npm package sharplens-mcp.

Run: claude mcp add sharplens -e DOTNET_SOLUTION_PATH=... -e ROSLYN_LOG_LEVEL=... -e ROSLYN_TIMEOUT_SECONDS=... -- npx -y sharplens-mcp

Run: codex mcp add sharplens --env DOTNET_SOLUTION_PATH=... --env ROSLYN_LOG_LEVEL=... --env ROSLYN_TIMEOUT_SECONDS=... -- npx -y sharplens-mcp

Similar MCP servers

NameStars
  1. JavaLensio.github.pzalutski-pixel/javalens39
  2. Roslyn CodeLensio.github.MarcelRoozekrans/roslyn-codelens56
  3. ckbio.github.SimplyLiz/ckb109
  4. gopls-mcpio.github.xieyuschen/gopls-mcp59
  5. sqry - Semantic Code Searchio.github.verivus-oss/sqry31
  6. semio.github.Ataraxy-Labs/sem3,364
  7. TokenSaveio.github.aovestdipaperino/tokensave650
  8. Flutter MCP Toolkitio.github.Arenukvern/flutter-mcp-toolkit380
Buy me a coffee