How to install C# LSP
Make the C# language server available to Claude Code and open the solution or project file it should index.
- Install the language server separately and make sure csharp-ls is available on your PATH.
- Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
- Start a new Claude Code session in a project for the language and open a source file to confirm the server loads.
Claude Code · Install in Claude Code
claude plugin install csharp-lsp@claude-plugins-officialTry a first task
Trace a renamed C# interface method to all implementations in a working copy. Review the stale references flagged by the language server and compare with the compiler output.
Package components
- C# language server