Skip to content
Windsurf

Roslyn CodeLens for Windsurf

io.github.marcelroozekrans/roslyn-codelens

Roslyn MCP server: semantic .NET/C# intelligence - analysis, refactoring, tests, IL inspection.

client:Windsurf transport:stdio runtime:npm

Install Roslyn CodeLens in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

{
  "mcpServers": {
    "roslyn-codelens": {
      "command": "npx",
      "args": [
        "-y",
        "roslyn-codelens-mcp"
      ]
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Roslyn CodeLens in other clients