Skip to main content
Glama
claude-roslyn-lsp

claude-roslyn-lsp

by lahma

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLAUDE_ROSLYN_LSP_GCNoWhich 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_HOMENoWhere 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_SHARENoWhether the lsp and mcp servers share one Roslyn per solution. Off makes each launch one of its own.1
CLAUDE_ROSLYN_LSP_OFFLINENoNever download. A missing server becomes an explained failure instead of a 70 MB fetch.0
CLAUDE_ROSLYN_LSP_OPTIONSNoA 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_SOLUTIONNoThe .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_DIRNoMoves the downloaded servers only; logs and staged downloads stay under the home.
CLAUDE_ROSLYN_LSP_LOG_LEVELNoThis adapter's own stderr logger: Trace, Debug, Information, Warning, Error, Critical, None.Information
CLAUDE_ROSLYN_LSP_TRANSPORTNopipe or stdio. The pipe keeps the protocol on a channel nothing else can write to.pipe
CLAUDE_ROSLYN_LSP_DIAGNOSTICSNoThe pull-to-push diagnostics bridge. lsp only; an MCP client asks with getDiagnostics.1
CLAUDE_ROSLYN_LSP_GC_CONSERVENoThe 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_ARGSNoExtra arguments for the Roslyn child, split on whitespace. Development only.
CLAUDE_ROSLYN_LSP_ROSLYN_PATHNoA 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_PATHNoAlias 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_WATCHERNoThe 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_VERSIONNoFetch 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_VERSIONNoAlias 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_LEVELNoThe level handed to Roslyn. Its Information is about twenty lines of narration per start.Warning
CLAUDE_ROSLYN_LSP_IDLE_RECYCLE_MINUTESNoHow 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_MINUTESNoShut 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_SECONDSNoHow long a request waits for the workspace to load before passing through anyway. Range 1-3600.120
CLAUDE_ROSLYN_LSP_RECYCLE_GROWTH_FACTORNoHow 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_DIAGNOSTICSNoOpt-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_SEVERITYNoThe 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources