← Back to Plugins
MCP Server MCP

SharpLens

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "sharplens-mcp",
      "version": "1.5.3",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Path to .sln or .slnx file to auto-load on startup",
          "format": "string",
          "name": "DOTNET_SOLUTION_PATH"
        },
        {
          "description": "Logging verbosity: Trace, Debug, Information, Warning, Error",
          "format": "string",
          "default": "Information",
          "name": "ROSLYN_LOG_LEVEL"
        },
        {
          "description": "Timeout for long-running operations",
          "format": "number",
          "default": "30",
          "name": "ROSLYN_TIMEOUT_SECONDS"
        }
      ]
    },
    {
      "registryType": "nuget",
      "identifier": "SharpLensMcp",
      "version": "1.5.3",
      "runtimeHint": "dotnet tool run",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Path to .sln or .slnx file to auto-load on startup",
          "format": "string",
          "name": "DOTNET_SOLUTION_PATH"
        },
        {
          "description": "Logging verbosity: Trace, Debug, Information, Warning, Error",
          "format": "string",
          "default": "Information",
          "name": "ROSLYN_LOG_LEVEL"
        },
        {
          "description": "Timeout for long-running operations",
          "format": "number",
          "default": "30",
          "name": "ROSLYN_TIMEOUT_SECONDS"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm nuget

Comments

Sign in to leave a comment

Loading comments...