claude-roslyn-lsp
by lahma
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLAUDE_ROSLYN_LSP_GC | No | Which garbage collector the Roslyn child runs with: workstation or server. An explicit DOTNET_gcServer or COMPlus_gcServer in the environment wins over this. | workstation |
| CLAUDE_ROSLYN_LSP_HOME | No | Where downloads, logs and lock files live. Default: platform cache dir. Falls back to CLAUDE_PLUGIN_DATA, then LOCALAPPDATA, ~/Library/Caches, $XDG_CACHE_HOME or ~/.cache. | |
| CLAUDE_ROSLYN_LSP_SHARE | No | Whether the lsp and mcp servers share one Roslyn per solution. Off makes each launch one of its own. | 1 |
| CLAUDE_ROSLYN_LSP_OFFLINE | No | Never download. A missing server becomes an explained failure instead of a 70 MB fetch. | 0 |
| CLAUDE_ROSLYN_LSP_OPTIONS | No | A JSON object merged into the answers given to Roslyn's workspace/configuration requests. A syntax error is a logged warning, never a startup failure. | |
| CLAUDE_ROSLYN_LSP_SOLUTION | No | The .slnx, .sln or .csproj to open. Default: discovered. A path that does not exist fails loudly rather than falling back to discovery. | discovered |
| CLAUDE_ROSLYN_LSP_CACHE_DIR | No | Moves the downloaded servers only; logs and staged downloads stay under the home. | |
| CLAUDE_ROSLYN_LSP_LOG_LEVEL | No | This adapter's own stderr logger: Trace, Debug, Information, Warning, Error, Critical, None. | Information |
| CLAUDE_ROSLYN_LSP_TRANSPORT | No | pipe or stdio. The pipe keeps the protocol on a channel nothing else can write to. | pipe |
| CLAUDE_ROSLYN_LSP_DIAGNOSTICS | No | The pull-to-push diagnostics bridge. lsp only; an MCP client asks with getDiagnostics. | 1 |
| CLAUDE_ROSLYN_LSP_GC_CONSERVE | No | The DOTNET_GCConserveMemory level, 0-9, the Roslyn child runs with. 0 sets nothing. An explicit DOTNET_GCConserveMemory or COMPlus_GCConserveMemory in the environment wins. | 7 |
| CLAUDE_ROSLYN_LSP_ROSLYN_ARGS | No | Extra arguments for the Roslyn child, split on whitespace. Development only. | |
| CLAUDE_ROSLYN_LSP_ROSLYN_PATH | No | A directory holding Microsoft.CodeAnalysis.LanguageServer.dll, that assembly, or another executable to run instead. First in the resolution chain; its version is not checked. Alias: CLAUDE_ROSLYN_LSP_SERVER_PATH. | |
| CLAUDE_ROSLYN_LSP_SERVER_PATH | No | Alias for CLAUDE_ROSLYN_LSP_ROSLYN_PATH. A directory holding Microsoft.CodeAnalysis.LanguageServer.dll, that assembly, or another executable to run instead. Its version is not checked. | |
| CLAUDE_ROSLYN_LSP_FILE_WATCHER | No | The file-watch bridge. Without it, a file created by a shell command or by git never joins its project and every later answer is silently stale. lsp only: the mcp half always watches. | 1 |
| CLAUDE_ROSLYN_LSP_ROSLYN_VERSION | No | Fetch a different roslyn-language-server version. Default: the pin. There is no hash for it, so doctor reports it as unverified, and the launcher drops flags only the pinned build is known to accept. Alias: CLAUDE_ROSLYN_LSP_SERVER_VERSION. | the pin |
| CLAUDE_ROSLYN_LSP_SERVER_VERSION | No | Alias for CLAUDE_ROSLYN_LSP_ROSLYN_VERSION. Fetch a different roslyn-language-server version. There is no hash for it, so doctor reports it as unverified. | |
| CLAUDE_ROSLYN_LSP_ROSLYN_LOG_LEVEL | No | The level handed to Roslyn. Its Information is about twenty lines of narration per start. | Warning |
| CLAUDE_ROSLYN_LSP_IDLE_RECYCLE_MINUTES | No | How long a session has to be idle before a Roslyn child that has grown past its threshold is shut down to give its memory back; the next request relaunches it. Range 0-10080; 0 is off. | 20 |
| CLAUDE_ROSLYN_LSP_IDLE_SHUTDOWN_MINUTES | No | Shut the child down after this many idle minutes whatever its size; the next request relaunches it. Range 0-10080. 0 is off. | 0 |
| CLAUDE_ROSLYN_LSP_READY_TIMEOUT_SECONDS | No | How long a request waits for the workspace to load before passing through anyway. Range 1-3600. | 120 |
| CLAUDE_ROSLYN_LSP_RECYCLE_GROWTH_FACTOR | No | How far past its post-load baseline the child must have grown: the threshold is the larger of baseline x factor and baseline + 512 MB. A decimal with a dot, 1.2-20. | 2 |
| CLAUDE_ROSLYN_LSP_WORKSPACE_DIAGNOSTICS | No | Opt-in workspace-wide diagnostics for files that are not open. Needs a full-solution compiler scope, which is the expensive setting. | off |
| CLAUDE_ROSLYN_LSP_DIAGNOSTIC_MIN_SEVERITY | No | The severity floor applied before diagnostics are published to an LSP client. | warning |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessLimited data