Skip to main content
Glama

Roslyn Codex LSP

CI Version Documentation License

C# diagnostics, navigation and refactoring in Codex, backed by the official Roslyn language server through the Model Context Protocol (MCP).

Find definitions, implementations and references. Preview and apply renames, fixes and refactorings. The bridge reads saved files and works independently of your editor.

Get started · Usage · Development

Install

Prerequisite: Codex CLI. The installer can use an existing Roslyn language server or install one for you.

macOS and Linux, with Bash, curl and tar:

curl -fsSL https://raw.githubusercontent.com/thomas-fazzari/roslyn-codex-lsp/master/install.sh | bash

Windows x64, in PowerShell:

& ([scriptblock]::Create((Invoke-RestMethod https://raw.githubusercontent.com/thomas-fazzari/roslyn-codex-lsp/master/install.ps1)))

Open a new Codex session in your C# project. The roslyn MCP server is available globally.

Related MCP server: LSP MCP

Contributors

Contributors

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    A Model Context Protocol (MCP) server providing 62 AI-optimized tools for .NET/C# semantic code analysis, navigation, refactoring, and code generation using Microsoft Roslyn. Built for AI coding agents - provides compiler-accurate code understanding that AI cannot infer from reading source files alone.
    62
    33
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides AI agents with language-aware code analysis through the Language Server Protocol, enabling tasks like getting code insights and diagnostics.
    6 npm
    191
    MIT