From dotnet
OmniSharp language server for C# — provides diagnostics, go-to-definition, find references, and code navigation for .cs and .csx files.
Ships in dotnet. Installing the plugin adds it to Claude Code.
This LSP server requires dotnet to be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"csharp": {
"command": "dotnet",
"extensionToLanguage": {
".cs": "csharp",
".razor": "aspnetcorerazor",
".cshtml": "aspnetcorerazor"
},
"args": [
"dnx",
"roslyn-language-server",
"--yes",
"--prerelease",
"--",
"--stdio",
"--daemon-mode",
"--autoLoadProjects"
]
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
dotnetstdioCommand-line arguments passed to the server process
Initialization options and workspace settings
7-day visitors to each server page
npx claudepluginhub dotnet/skills --plugin dotnet