Skip to content
Grok

Roslyn CodeLens for Grok

io.github.marcelroozekrans/roslyn-codelens

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

client:Grok transport:stdio runtime:npm

Install Roslyn CodeLens in Grok

.mcp.json (in your project root)

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

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Roslyn CodeLens in other clients