---
bezeichner: "io.github.lahma/claude-roslyn-lsp"
art: "mcp_server"
slug: "io-github-lahma-claude-roslyn-lsp"
paketkoordinate: "nuget:claude-roslyn-lsp"
status: "aktiv"
homepage: "https://github.com/lahma/claude-roslyn-lsp"
erhebungsstand: "2026-12-04T01:17:02.124Z"
namensraum: "io.github.lahma"
registerseite: "https://tracevero.de/mcp/io-github-lahma-claude-roslyn-lsp"
abgerufen_am: "2026-12-04"
zugangsdaten_erforderlich: false
ausfuehrungsort: "lokal"
dateisystem_pfadargument: false
quelloffen_einsehbar: true
roh_beschreibung: "C# semantic rename, code actions, fix-all, formatting and diagnostics via Microsoft's Roslyn server"
version: "1.1.0"
roh_umgebungsvariablen: "CLAUDE_ROSLYN_LSP_SOLUTION, CLAUDE_ROSLYN_LSP_ROSLYN_PATH, CLAUDE_ROSLYN_LSP_ROSLYN_VERSION, CLAUDE_ROSLYN_LSP_ROSLYN_ARGS, CLAUDE_ROSLYN_LSP_CACHE_DIR, CLAUDE_ROSLYN_LSP_HOME, CLAUDE_ROSLYN_LSP_OFFLINE, CLAUDE_ROSLYN_LSP_TRANSPORT, CLAUDE_ROSLYN_LSP_READY_TIMEOUT_SECONDS, CLAUDE_ROSLYN_LSP_DIAGNOSTICS, CLAUDE_ROSLYN_LSP_DIAGNOSTIC_MIN_SEVERITY, CLAUDE_ROSLYN_LSP_WORKSPACE_DIAGNOSTICS, CLAUDE_ROSLYN_LSP_FILE_WATCHER, CLAUDE_ROSLYN_LSP_SHARE, CLAUDE_ROSLYN_LSP_SKILLS, CLAUDE_ROSLYN_LSP_GC, CLAUDE_ROSLYN_LSP_GC_CONSERVE, CLAUDE_ROSLYN_LSP_IDLE_RECYCLE_MINUTES, CLAUDE_ROSLYN_LSP_RECYCLE_GROWTH_FACTOR, CLAUDE_ROSLYN_LSP_IDLE_SHUTDOWN_MINUTES, CLAUDE_ROSLYN_LSP_LOG_LEVEL, CLAUDE_ROSLYN_LSP_ROSLYN_LOG_LEVEL, CLAUDE_ROSLYN_LSP_OPTIONS"
roh_geheime_pflichtvariablen: ""
roh_transportarten: "stdio"
roh_pfadargumente: ""
roh_repository_url: "https://github.com/lahma/claude-roslyn-lsp"
roh_paketquellen: "nuget"
roh_geheime_pflichtkopfzeilen: ""
roh_pfad_umgebungsvariablen: ""
roh_remote_adressen: ""
roh_remote_hosts: ""
roh_statusmeldung: ""
roh_veroeffentlicht_am: "2026-11-28"
roh_aktualisiert_am: "2026-11-28"
roh_schemafassung: "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json"
roh_bereitstellungsform: "paket"
roh_repository_quelle: "github"
roh_repository_unterordner: ""
roh_paketbezeichner: "claude-roslyn-lsp"
roh_paketversionen: "1.1.0"
roh_laufzeithinweise: ""
roh_umgebungsformate: ""
roh_umgebungsbeschreibungen: "CLAUDE_ROSLYN_LSP_CACHE_DIR=Where downloaded Roslyn servers are extracted. Optional; defaults to a directory under the adapter's home. Moves the payloads only - logs and staged downloads stay under the home. · CLAUDE_ROSLYN_LSP_DIAGNOSTICS=The pull-to-push diagnostics bridge, on by default. Applies to the lsp verb only: an MCP client asks for diagnostics with getDiagnostics instead. Accepts 1/true/yes/on and 0/false/no/off. · CLAUDE_ROSLYN_LSP_DIAGNOSTIC_MIN_SEVERITY=The severity floor applied before diagnostics are pushed to an LSP client: error, warning (default), information or hint. The MCP getDiagnostics tool takes its own minSeverity argument instead. · CLAUDE_ROSLYN_LSP_FILE_WATCHER=The file-watch bridge, on by default. Without it a file created by a shell command or by git never joins its project and every later answer is silently stale. Accepts 1/true/yes/on and 0/false/no/off. · CLAUDE_ROSLYN_LSP_GC=Which garbage collector the Roslyn child runs with: workstation (the default) or server. Workstation peaks at about 577 MB on a 239-project solution where server peaks at about 2 GB, and costs about 8 seconds of load time. An explicit DOTNET_gcServer in the environment wins over this. · CLAUDE_ROSLYN_LSP_GC_CONSERVE=The DOTNET_GCConserveMemory level, 0-9, the Roslyn child runs with: it caps how far the child's heap may grow past its live data, so less free space stays committed after a compacting collection. Default 7; 0 sets nothing. An explicit DOTNET_GCConserveMemory in the environment wins over this. · CLAUDE_ROSLYN_LSP_HOME=The adapter's per-user state directory: downloads, logs and lock files. Optional; unset, it falls back to CLAUDE_PLUGIN_DATA and then to the platform cache location (%LOCALAPPDATA%, ~/Library/Caches, $XDG_CACHE_HOME or ~/.cache). Around 140 MB extracted per Roslyn version per platform, so it belongs on a disk with room and outside a roaming profile. · CLAUDE_ROSLYN_LSP_IDLE_RECYCLE_MINUTES=How long the session has to be idle before a Roslyn child that has grown past its threshold is stopped to give its memory back; the next call relaunches it and waits for the reload. Default 20; 0 switches the recycle off. · CLAUDE_ROSLYN_LSP_IDLE_SHUTDOWN_MINUTES=Stop the Roslyn child after this many idle minutes whatever its size; the next call relaunches it. Default 0, which is off, because every relaunch costs a full solution load. · CLAUDE_ROSLYN_LSP_LOG_LEVEL=Trace, Debug, Information, Warning, Error, Critical or None (default Information). Logs go to stderr only - stdout is the JSON-RPC channel. · CLAUDE_ROSLYN_LSP_OFFLINE=Set to 1 to refuse to download a Roslyn server. A missing cache entry becomes an immediate, explained failure instead of a 70 MB fetch. Accepts 1/true/yes/on and 0/false/no/off; default 0. · CLAUDE_ROSLYN_LSP_OPTIONS=A JSON object merged into the answers the adapter gives Roslyn's workspace/configuration requests, for the sections the defaults get wrong for your repository. A syntax error is a logged warning, never a startup failure. · CLAUDE_ROSLYN_LSP_READY_TIMEOUT_SECONDS=How long a call waits for the workspace to finish loading before it is answered anyway, 1-3600, default 120. Tools report status \"loading\" rather than hanging while they wait. · CLAUDE_ROSLYN_LSP_RECYCLE_GROWTH_FACTOR=How far past its post-load baseline the Roslyn child has to have grown before an idle recycle is worth a reload: the threshold is the larger of baseline times this factor and baseline plus 512 MB. A decimal, 1.2-20, default 2. · CLAUDE_ROSLYN_LSP_ROSLYN_ARGS=Extra arguments for the Roslyn child process, split on whitespace with no quoting. Development only: it exists so the smoke test can point the launcher at this binary's own scripted backend. · CLAUDE_ROSLYN_LSP_ROSLYN_LOG_LEVEL=The level handed to the Roslyn child process, default Warning. Its Information level is about twenty lines of narration per start, all of it on this adapter's stderr. · CLAUDE_ROSLYN_LSP_ROSLYN_PATH=Directory holding an already-installed Microsoft.CodeAnalysis.LanguageServer.dll, used instead of downloading one. Optional; set it to run air-gapped or against a locally built server. Its version is not checked. Alias: CLAUDE_ROSLYN_LSP_SERVER_PATH. · CLAUDE_ROSLYN_LSP_ROSLYN_VERSION=Overrides the pinned roslyn-language-server version the adapter downloads from nuget.org. Optional; the pin is the only version this release is tested against, an override has no hash to verify against, and doctor reports it as unverified. Alias: CLAUDE_ROSLYN_LSP_SERVER_VERSION. · CLAUDE_ROSLYN_LSP_SHARE=Whether the lsp and mcp servers share one Roslyn per solution, on by default. Off makes each of them launch a Roslyn of its own, which loads the solution twice and pays for it twice in memory. getWorkspaceStatus reports engine: owned or attached, so which of the two happened is never a guess. · CLAUDE_ROSLYN_LSP_SKILLS=Whether the mcp server serves its C# workflow skill (claude-roslyn-lsp) over the MCP Skills extension, on by default, for clients that load skills from MCP servers. Turn it off where the same skill is already installed another way, so a client does not list it twice. Accepts 1/true/yes/on and 0/false/no/off. · CLAUDE_ROSLYN_LSP_SOLUTION=Path to the .slnx, .sln or .csproj to load. Optional: the adapter discovers one from the working directory, honouring .vscode/settings.json's dotnet.defaultSolution. Set it in a monorepo, where discovery picks a solution that is often not the one being worked in. A path that does not exist is a startup failure rather than a fall back to discovery. · CLAUDE_ROSLYN_LSP_TRANSPORT=How the adapter talks to the Roslyn child process: pipe (default) or stdio. The named pipe is preferred because Roslyn writes a startup banner to its own stdout, which under stdio shares a stream with the protocol. · CLAUDE_ROSLYN_LSP_WORKSPACE_DIAGNOSTICS=Opt-in workspace-wide diagnostics for files that are not open, for the lsp verb. Off unless set, because it needs a full-solution compiler scope, which is what makes a large solution slow."
roh_symbolformate: ""
roh_verbindungswege: "{\"packages\":[{\"registryType\":\"nuget\",\"identifier\":\"claude-roslyn-lsp\",\"version\":\"1.1.0\",\"transport\":\"stdio\",\"environment\":[{\"name\":\"CLAUDE_ROSLYN_LSP_SOLUTION\",\"description\":\"Path to the .slnx, .sln or .csproj to load. Optional: the adapter discovers one from the working directory, honouring .vscode/settings.json's dotnet.defaultSolution. Set it in a monorepo, where discovery picks a solution that is often not the one being worked in. A path that does not exist is a startup failure rather than a fall back to discovery.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_ROSLYN_PATH\",\"description\":\"Directory holding an already-installed Microsoft.CodeAnalysis.LanguageServer.dll, used instead of downloading one. Optional; set it to run air-gapped or against a locally built server. Its version is not checked. Alias: CLAUDE_ROSLYN_LSP_SERVER_PATH.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_ROSLYN_VERSION\",\"description\":\"Overrides the pinned roslyn-language-server version the adapter downloads from nuget.org. Optional; the pin is the only version this release is tested against, an override has no hash to verify against, and doctor reports it as unverified. Alias: CLAUDE_ROSLYN_LSP_SERVER_VERSION.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_ROSLYN_ARGS\",\"description\":\"Extra arguments for the Roslyn child process, split on whitespace with no quoting. Development only: it exists so the smoke test can point the launcher at this binary's own scripted backend.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_CACHE_DIR\",\"description\":\"Where downloaded Roslyn servers are extracted. Optional; defaults to a directory under the adapter's home. Moves the payloads only - logs and staged downloads stay under the home.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_HOME\",\"description\":\"The adapter's per-user state directory: downloads, logs and lock files. Optional; unset, it falls back to CLAUDE_PLUGIN_DATA and then to the platform cache location (%LOCALAPPDATA%, ~/Library/Caches, $XDG_CACHE_HOME or ~/.cache). Around 140 MB extracted per Roslyn version per platform, so it belongs on a disk with room and outside a roaming profile.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_OFFLINE\",\"description\":\"Set to 1 to refuse to download a Roslyn server. A missing cache entry becomes an immediate, explained failure instead of a 70 MB fetch. Accepts 1/true/yes/on and 0/false/no/off; default 0.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_TRANSPORT\",\"description\":\"How the adapter talks to the Roslyn child process: pipe (default) or stdio. The named pipe is preferred because Roslyn writes a startup banner to its own stdout, which under stdio shares a stream with the protocol.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_READY_TIMEOUT_SECONDS\",\"description\":\"How long a call waits for the workspace to finish loading before it is answered anyway, 1-3600, default 120. Tools report status \\\"loading\\\" rather than hanging while they wait.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_DIAGNOSTICS\",\"description\":\"The pull-to-push diagnostics bridge, on by default. Applies to the lsp verb only: an MCP client asks for diagnostics with getDiagnostics instead. Accepts 1/true/yes/on and 0/false/no/off.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_DIAGNOSTIC_MIN_SEVERITY\",\"description\":\"The severity floor applied before diagnostics are pushed to an LSP client: error, warning (default), information or hint. The MCP getDiagnostics tool takes its own minSeverity argument instead.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_WORKSPACE_DIAGNOSTICS\",\"description\":\"Opt-in workspace-wide diagnostics for files that are not open, for the lsp verb. Off unless set, because it needs a full-solution compiler scope, which is what makes a large solution slow.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_FILE_WATCHER\",\"description\":\"The file-watch bridge, on by default. Without it a file created by a shell command or by git never joins its project and every later answer is silently stale. Accepts 1/true/yes/on and 0/false/no/off.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_SHARE\",\"description\":\"Whether the lsp and mcp servers share one Roslyn per solution, on by default. Off makes each of them launch a Roslyn of its own, which loads the solution twice and pays for it twice in memory. getWorkspaceStatus reports engine: owned or attached, so which of the two happened is never a guess.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_SKILLS\",\"description\":\"Whether the mcp server serves its C# workflow skill (claude-roslyn-lsp) over the MCP Skills extension, on by default, for clients that load skills from MCP servers. Turn it off where the same skill is already installed another way, so a client does not list it twice. Accepts 1/true/yes/on and 0/false/no/off.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_GC\",\"description\":\"Which garbage collector the Roslyn child runs with: workstation (the default) or server. Workstation peaks at about 577 MB on a 239-project solution where server peaks at about 2 GB, and costs about 8 seconds of load time. An explicit DOTNET_gcServer in the environment wins over this.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_GC_CONSERVE\",\"description\":\"The DOTNET_GCConserveMemory level, 0-9, the Roslyn child runs with: it caps how far the child's heap may grow past its live data, so less free space stays committed after a compacting collection. Default 7; 0 sets nothing. An explicit DOTNET_GCConserveMemory in the environment wins over this.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_IDLE_RECYCLE_MINUTES\",\"description\":\"How long the session has to be idle before a Roslyn child that has grown past its threshold is stopped to give its memory back; the next call relaunches it and waits for the reload. Default 20; 0 switches the recycle off.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_RECYCLE_GROWTH_FACTOR\",\"description\":\"How far past its post-load baseline the Roslyn child has to have grown before an idle recycle is worth a reload: the threshold is the larger of baseline times this factor and baseline plus 512 MB. A decimal, 1.2-20, default 2.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_IDLE_SHUTDOWN_MINUTES\",\"description\":\"Stop the Roslyn child after this many idle minutes whatever its size; the next call relaunches it. Default 0, which is off, because every relaunch costs a full solution load.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_LOG_LEVEL\",\"description\":\"Trace, Debug, Information, Warning, Error, Critical or None (default Information). Logs go to stderr only - stdout is the JSON-RPC channel.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_ROSLYN_LOG_LEVEL\",\"description\":\"The level handed to the Roslyn child process, default Warning. Its Information level is about twenty lines of narration per start, all of it on this adapter's stderr.\",\"required\":false,\"secret\":false},{\"name\":\"CLAUDE_ROSLYN_LSP_OPTIONS\",\"description\":\"A JSON object merged into the answers the adapter gives Roslyn's workspace/configuration requests, for the sections the defaults get wrong for your repository. A syntax error is a logged warning, never a startup failure.\",\"required\":false,\"secret\":false}],\"additional_arguments_declared\":true}],\"remotes\":[]}"
---

# io.github.lahma/claude-roslyn-lsp

## Gemessene Werte

| Merkmal | Wert | Quelle | Erhoben am | Vertrauensgrad | Rohangabe |
| --- | --- | --- | --- | --- | --- |
| Pflicht-Geheimnisse deklariert | false | MCP-Register | 2026-11-20T01:17:02.451Z | abgeleitet | roh_geheime_pflichtvariablen: ; roh_geheime_pflichtkopfzeilen: |
| Ausführungsort | lokal | MCP-Register | 2026-11-20T01:17:02.451Z | abgeleitet | roh_transportarten: stdio |
| Pfadargument vorhanden | false | MCP-Register | 2026-11-20T01:17:02.451Z | abgeleitet | roh_pfadargumente: ; roh_pfad_umgebungsvariablen: |
| Repository-Adresse geführt | true | MCP-Register | 2026-11-20T01:17:02.451Z | abgeleitet | roh_repository_url: https://github.com/lahma/claude-roslyn-lsp |
| Beschreibung (Rohangabe) | C# semantic rename, code actions, fix-all, formatting and diagnostics via Microsoft's Roslyn server | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Deklarierte Version | 1.1.0 | MCP-Register | 2026-11-29T01:17:02.647Z | selbstauskunft |  |
| Umgebungsvariablen (Rohangabe) | CLAUDE_ROSLYN_LSP_SOLUTION, CLAUDE_ROSLYN_LSP_ROSLYN_PATH, CLAUDE_ROSLYN_LSP_ROSLYN_VERSION, CLAUDE_ROSLYN_LSP_ROSLYN_ARGS, CLAUDE_ROSLYN_LSP_CACHE_DIR, CLAUDE_ROSLYN_LSP_HOME, CLAUDE_ROSLYN_LSP_OFFLINE, CLAUDE_ROSLYN_LSP_TRANSPORT, CLAUDE_ROSLYN_LSP_READY_TIMEOUT_SECONDS, CLAUDE_ROSLYN_LSP_DIAGNOSTICS, CLAUDE_ROSLYN_LSP_DIAGNOSTIC_MIN_SEVERITY, CLAUDE_ROSLYN_LSP_WORKSPACE_DIAGNOSTICS, CLAUDE_ROSLYN_LSP_FILE_WATCHER, CLAUDE_ROSLYN_LSP_SHARE, CLAUDE_ROSLYN_LSP_SKILLS, CLAUDE_ROSLYN_LSP_GC, CLAUDE_ROSLYN_LSP_GC_CONSERVE, CLAUDE_ROSLYN_LSP_IDLE_RECYCLE_MINUTES, CLAUDE_ROSLYN_LSP_RECYCLE_GROWTH_FACTOR, CLAUDE_ROSLYN_LSP_IDLE_SHUTDOWN_MINUTES, CLAUDE_ROSLYN_LSP_LOG_LEVEL, CLAUDE_ROSLYN_LSP_ROSLYN_LOG_LEVEL, CLAUDE_ROSLYN_LSP_OPTIONS | MCP-Register | 2026-11-29T01:17:02.647Z | selbstauskunft |  |
| Geheime Pflichtvariablen (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Transportarten (Rohangabe) | stdio | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Pfadargumente (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Repository (Rohangabe) | https://github.com/lahma/claude-roslyn-lsp | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Paketquellen (Rohangabe) | nuget | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Geheime Pflichtkopfzeilen (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Pfad-Umgebungsvariablen (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Remote-Adressen (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Remote-Hosts (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Statusmeldung des Registers (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Im Register eingetragen am (Rohangabe) | 2026-11-28 | MCP-Register | 2026-11-29T01:17:02.647Z | selbstauskunft |  |
| Im Register geändert am (Rohangabe) | 2026-11-28 | MCP-Register | 2026-11-29T01:17:02.647Z | selbstauskunft |  |
| Schemafassung des Rohsatzes (Rohangabe) | https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Bereitstellungsform (Rohangabe) | paket | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Repository-Plattform (Rohangabe) | github | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Repository-Unterordner (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Paketbezeichner (Rohangabe) | claude-roslyn-lsp | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Paketversionen (Rohangabe) | 1.1.0 | MCP-Register | 2026-11-29T01:17:02.647Z | selbstauskunft |  |
| Laufzeithinweise (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Formate der Umgebungsvariablen (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Beschreibungen der Umgebungsvariablen (Rohangabe) | CLAUDE_ROSLYN_LSP_CACHE_DIR=Where downloaded Roslyn servers are extracted. Optional; defaults to a directory under the adapter's home. Moves the payloads only - logs and staged downloads stay under the home. · CLAUDE_ROSLYN_LSP_DIAGNOSTICS=The pull-to-push diagnostics bridge, on by default. Applies to the lsp verb only: an MCP client asks for diagnostics with getDiagnostics instead. Accepts 1/true/yes/on and 0/false/no/off. · CLAUDE_ROSLYN_LSP_DIAGNOSTIC_MIN_SEVERITY=The severity floor applied before diagnostics are pushed to an LSP client: error, warning (default), information or hint. The MCP getDiagnostics tool takes its own minSeverity argument instead. · CLAUDE_ROSLYN_LSP_FILE_WATCHER=The file-watch bridge, on by default. Without it a file created by a shell command or by git never joins its project and every later answer is silently stale. Accepts 1/true/yes/on and 0/false/no/off. · CLAUDE_ROSLYN_LSP_GC=Which garbage collector the Roslyn child runs with: workstation (the default) or server. Workstation peaks at about 577 MB on a 239-project solution where server peaks at about 2 GB, and costs about 8 seconds of load time. An explicit DOTNET_gcServer in the environment wins over this. · CLAUDE_ROSLYN_LSP_GC_CONSERVE=The DOTNET_GCConserveMemory level, 0-9, the Roslyn child runs with: it caps how far the child's heap may grow past its live data, so less free space stays committed after a compacting collection. Default 7; 0 sets nothing. An explicit DOTNET_GCConserveMemory in the environment wins over this. · CLAUDE_ROSLYN_LSP_HOME=The adapter's per-user state directory: downloads, logs and lock files. Optional; unset, it falls back to CLAUDE_PLUGIN_DATA and then to the platform cache location (%LOCALAPPDATA%, ~/Library/Caches, $XDG_CACHE_HOME or ~/.cache). Around 140 MB extracted per Roslyn version per platform, so it belongs on a disk with room and outside a roaming profile. · CLAUDE_ROSLYN_LSP_IDLE_RECYCLE_MINUTES=How long the session has to be idle before a Roslyn child that has grown past its threshold is stopped to give its memory back; the next call relaunches it and waits for the reload. Default 20; 0 switches the recycle off. · CLAUDE_ROSLYN_LSP_IDLE_SHUTDOWN_MINUTES=Stop the Roslyn child after this many idle minutes whatever its size; the next call relaunches it. Default 0, which is off, because every relaunch costs a full solution load. · CLAUDE_ROSLYN_LSP_LOG_LEVEL=Trace, Debug, Information, Warning, Error, Critical or None (default Information). Logs go to stderr only - stdout is the JSON-RPC channel. · CLAUDE_ROSLYN_LSP_OFFLINE=Set to 1 to refuse to download a Roslyn server. A missing cache entry becomes an immediate, explained failure instead of a 70 MB fetch. Accepts 1/true/yes/on and 0/false/no/off; default 0. · CLAUDE_ROSLYN_LSP_OPTIONS=A JSON object merged into the answers the adapter gives Roslyn's workspace/configuration requests, for the sections the defaults get wrong for your repository. A syntax error is a logged warning, never a startup failure. · CLAUDE_ROSLYN_LSP_READY_TIMEOUT_SECONDS=How long a call waits for the workspace to finish loading before it is answered anyway, 1-3600, default 120. Tools report status "loading" rather than hanging while they wait. · CLAUDE_ROSLYN_LSP_RECYCLE_GROWTH_FACTOR=How far past its post-load baseline the Roslyn child has to have grown before an idle recycle is worth a reload: the threshold is the larger of baseline times this factor and baseline plus 512 MB. A decimal, 1.2-20, default 2. · CLAUDE_ROSLYN_LSP_ROSLYN_ARGS=Extra arguments for the Roslyn child process, split on whitespace with no quoting. Development only: it exists so the smoke test can point the launcher at this binary's own scripted backend. · CLAUDE_ROSLYN_LSP_ROSLYN_LOG_LEVEL=The level handed to the Roslyn child process, default Warning. Its Information level is about twenty lines of narration per start, all of it on this adapter's stderr. · CLAUDE_ROSLYN_LSP_ROSLYN_PATH=Directory holding an already-installed Microsoft.CodeAnalysis.LanguageServer.dll, used instead of downloading one. Optional; set it to run air-gapped or against a locally built server. Its version is not checked. Alias: CLAUDE_ROSLYN_LSP_SERVER_PATH. · CLAUDE_ROSLYN_LSP_ROSLYN_VERSION=Overrides the pinned roslyn-language-server version the adapter downloads from nuget.org. Optional; the pin is the only version this release is tested against, an override has no hash to verify against, and doctor reports it as unverified. Alias: CLAUDE_ROSLYN_LSP_SERVER_VERSION. · CLAUDE_ROSLYN_LSP_SHARE=Whether the lsp and mcp servers share one Roslyn per solution, on by default. Off makes each of them launch a Roslyn of its own, which loads the solution twice and pays for it twice in memory. getWorkspaceStatus reports engine: owned or attached, so which of the two happened is never a guess. · CLAUDE_ROSLYN_LSP_SKILLS=Whether the mcp server serves its C# workflow skill (claude-roslyn-lsp) over the MCP Skills extension, on by default, for clients that load skills from MCP servers. Turn it off where the same skill is already installed another way, so a client does not list it twice. Accepts 1/true/yes/on and 0/false/no/off. · CLAUDE_ROSLYN_LSP_SOLUTION=Path to the .slnx, .sln or .csproj to load. Optional: the adapter discovers one from the working directory, honouring .vscode/settings.json's dotnet.defaultSolution. Set it in a monorepo, where discovery picks a solution that is often not the one being worked in. A path that does not exist is a startup failure rather than a fall back to discovery. · CLAUDE_ROSLYN_LSP_TRANSPORT=How the adapter talks to the Roslyn child process: pipe (default) or stdio. The named pipe is preferred because Roslyn writes a startup banner to its own stdout, which under stdio shares a stream with the protocol. · CLAUDE_ROSLYN_LSP_WORKSPACE_DIAGNOSTICS=Opt-in workspace-wide diagnostics for files that are not open, for the lsp verb. Off unless set, because it needs a full-solution compiler scope, which is what makes a large solution slow. | MCP-Register | 2026-11-29T01:17:02.647Z | selbstauskunft |  |
| Symbolformate (Rohangabe) |  | MCP-Register | 2026-11-20T01:17:02.451Z | selbstauskunft |  |
| Verbindungswege (Quellstruktur) | {"packages":[{"registryType":"nuget","identifier":"claude-roslyn-lsp","version":"1.1.0","transport":"stdio","environment":[{"name":"CLAUDE_ROSLYN_LSP_SOLUTION","description":"Path to the .slnx, .sln or .csproj to load. Optional: the adapter discovers one from the working directory, honouring .vscode/settings.json's dotnet.defaultSolution. Set it in a monorepo, where discovery picks a solution that is often not the one being worked in. A path that does not exist is a startup failure rather than a fall back to discovery.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_ROSLYN_PATH","description":"Directory holding an already-installed Microsoft.CodeAnalysis.LanguageServer.dll, used instead of downloading one. Optional; set it to run air-gapped or against a locally built server. Its version is not checked. Alias: CLAUDE_ROSLYN_LSP_SERVER_PATH.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_ROSLYN_VERSION","description":"Overrides the pinned roslyn-language-server version the adapter downloads from nuget.org. Optional; the pin is the only version this release is tested against, an override has no hash to verify against, and doctor reports it as unverified. Alias: CLAUDE_ROSLYN_LSP_SERVER_VERSION.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_ROSLYN_ARGS","description":"Extra arguments for the Roslyn child process, split on whitespace with no quoting. Development only: it exists so the smoke test can point the launcher at this binary's own scripted backend.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_CACHE_DIR","description":"Where downloaded Roslyn servers are extracted. Optional; defaults to a directory under the adapter's home. Moves the payloads only - logs and staged downloads stay under the home.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_HOME","description":"The adapter's per-user state directory: downloads, logs and lock files. Optional; unset, it falls back to CLAUDE_PLUGIN_DATA and then to the platform cache location (%LOCALAPPDATA%, ~/Library/Caches, $XDG_CACHE_HOME or ~/.cache). Around 140 MB extracted per Roslyn version per platform, so it belongs on a disk with room and outside a roaming profile.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_OFFLINE","description":"Set to 1 to refuse to download a Roslyn server. A missing cache entry becomes an immediate, explained failure instead of a 70 MB fetch. Accepts 1/true/yes/on and 0/false/no/off; default 0.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_TRANSPORT","description":"How the adapter talks to the Roslyn child process: pipe (default) or stdio. The named pipe is preferred because Roslyn writes a startup banner to its own stdout, which under stdio shares a stream with the protocol.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_READY_TIMEOUT_SECONDS","description":"How long a call waits for the workspace to finish loading before it is answered anyway, 1-3600, default 120. Tools report status \\"loading\\" rather than hanging while they wait.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_DIAGNOSTICS","description":"The pull-to-push diagnostics bridge, on by default. Applies to the lsp verb only: an MCP client asks for diagnostics with getDiagnostics instead. Accepts 1/true/yes/on and 0/false/no/off.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_DIAGNOSTIC_MIN_SEVERITY","description":"The severity floor applied before diagnostics are pushed to an LSP client: error, warning (default), information or hint. The MCP getDiagnostics tool takes its own minSeverity argument instead.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_WORKSPACE_DIAGNOSTICS","description":"Opt-in workspace-wide diagnostics for files that are not open, for the lsp verb. Off unless set, because it needs a full-solution compiler scope, which is what makes a large solution slow.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_FILE_WATCHER","description":"The file-watch bridge, on by default. Without it a file created by a shell command or by git never joins its project and every later answer is silently stale. Accepts 1/true/yes/on and 0/false/no/off.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_SHARE","description":"Whether the lsp and mcp servers share one Roslyn per solution, on by default. Off makes each of them launch a Roslyn of its own, which loads the solution twice and pays for it twice in memory. getWorkspaceStatus reports engine: owned or attached, so which of the two happened is never a guess.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_SKILLS","description":"Whether the mcp server serves its C# workflow skill (claude-roslyn-lsp) over the MCP Skills extension, on by default, for clients that load skills from MCP servers. Turn it off where the same skill is already installed another way, so a client does not list it twice. Accepts 1/true/yes/on and 0/false/no/off.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_GC","description":"Which garbage collector the Roslyn child runs with: workstation (the default) or server. Workstation peaks at about 577 MB on a 239-project solution where server peaks at about 2 GB, and costs about 8 seconds of load time. An explicit DOTNET_gcServer in the environment wins over this.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_GC_CONSERVE","description":"The DOTNET_GCConserveMemory level, 0-9, the Roslyn child runs with: it caps how far the child's heap may grow past its live data, so less free space stays committed after a compacting collection. Default 7; 0 sets nothing. An explicit DOTNET_GCConserveMemory in the environment wins over this.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_IDLE_RECYCLE_MINUTES","description":"How long the session has to be idle before a Roslyn child that has grown past its threshold is stopped to give its memory back; the next call relaunches it and waits for the reload. Default 20; 0 switches the recycle off.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_RECYCLE_GROWTH_FACTOR","description":"How far past its post-load baseline the Roslyn child has to have grown before an idle recycle is worth a reload: the threshold is the larger of baseline times this factor and baseline plus 512 MB. A decimal, 1.2-20, default 2.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_IDLE_SHUTDOWN_MINUTES","description":"Stop the Roslyn child after this many idle minutes whatever its size; the next call relaunches it. Default 0, which is off, because every relaunch costs a full solution load.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_LOG_LEVEL","description":"Trace, Debug, Information, Warning, Error, Critical or None (default Information). Logs go to stderr only - stdout is the JSON-RPC channel.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_ROSLYN_LOG_LEVEL","description":"The level handed to the Roslyn child process, default Warning. Its Information level is about twenty lines of narration per start, all of it on this adapter's stderr.","required":false,"secret":false},{"name":"CLAUDE_ROSLYN_LSP_OPTIONS","description":"A JSON object merged into the answers the adapter gives Roslyn's workspace/configuration requests, for the sections the defaults get wrong for your repository. A syntax error is a logged warning, never a startup failure.","required":false,"secret":false}],"additional_arguments_declared":true}],"remotes":[]} | MCP-Register | 2026-11-29T01:17:02.647Z | selbstauskunft |  |

## Verweise

- Namensraum: [[namensraum/io-github-lahma|io.github.lahma]]

---

- Registerseite: <https://tracevero.de/mcp/io-github-lahma-claude-roslyn-lsp>
- Abgerufen am: 2026-12-04
