csharp_references
Find all references
How to use it
csharp_references is exposed by the Csharp Lsp MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the csharp_references tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL CSHARP LSP MCP LISTINGOther tools in Csharp Lsp MCP (16)
Get available code actions
Get IntelliSense completions
Go to definition
Get compiler errors and warnings
Get type info at a position
Preview symbol rename
Set the solution/project directory (restarts LSP if workspace changes)
Stop the LSP server to release file locks for rebuilding
Get document symbols
Extract data bindings
Generate ViewModel from bindings
Find binding errors
List x:Name declarations
List resource references
Show element tree
Validate XAML for errors