MCP Server Studio

Roslyn CodeLens MCP server

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

Registry name: io.github.MarcelRoozekrans/roslyn-codelens

Publisher
MarcelRoozekrans
Runs
Runs locally
Package
npm, NuGet
Version
2.22.4
Category
Search & knowledge
Updated
2026-12-02

Source code on GitHub

Set up Roslyn CodeLens (run locally)

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Code

Run in your terminal:

claude mcp add roslyn-codelens -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

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

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "roslyn-codelens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

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

More search & knowledge MCP servers