DotSight 0.1.0-preview.2

This is a prerelease version of DotSight.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet tool install --global DotSight --version 0.1.0-preview.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local DotSight --version 0.1.0-preview.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DotSight&version=0.1.0-preview.2&prerelease
                    
nuke :add-package DotSight --version 0.1.0-preview.2
                    

DotSight

An MCP (Model Context Protocol) server that provides C# solution intelligence to AI coding agents. Built with .NET 10, Roslyn, and the official ModelContextProtocol SDK.

Tools

Tool Description
get_project_graph Full codebase overview: project dependency graph, TFMs, packages, source files, and code outlines with types and members
find_symbols Search for types, methods, properties by name pattern or regex across source and metadata
get_symbol_detail Full detail for a symbol: signature, docs, members, base types, extension methods
get_source_text Read the actual source code of a symbol or file region with line numbers
get_document_symbols File outline — all symbols defined in a source file with kind, signature, and line numbers
find_references All usages of a symbol across the solution with location info
find_implementations Concrete implementations of interfaces, abstract classes, virtual members
get_diagnostics Compiler errors, warnings, and analyzer diagnostics by scope
inspect_package Explore any NuGet package's public API — types, members, docs — without modifying the project

All tools are read-only — no modifications to source code or projects.

Installation

dotnet tool install -g DotSight --prerelease

Setup

Add DotSight to your VS Code user settings (one-time setup, works for all workspaces):

Settings JSON (Ctrl+Shift+P → "Preferences: Open User Settings (JSON)"):

{
  "mcp": {
    "servers": {
      "dotsight": {
        "type": "stdio",
        "command": "dotsight"
      }
    }
  }
}

DotSight auto-detects the .sln file from the workspace directory. If you have multiple solutions or need to specify one explicitly, use --solution:

{
  "mcp": {
    "servers": {
      "dotsight": {
        "type": "stdio",
        "command": "dotsight",
        "args": ["--solution", "${workspaceFolder}/MyApp.sln"]
      }
    }
  }
}

You can also use a per-workspace .vscode/mcp.json if you prefer.

Running from source

dotnet run -- --solution /path/to/YourSolution.sln

Building

dotnet build
dotnet pack   # produces a .nupkg for tool installation
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.1.0-preview.7 69 7/30/2026
0.1.0-preview.6 125 2/21/2026
0.1.0-preview.5 78 2/21/2026
0.1.0-preview.4 95 2/17/2026
0.1.0-preview.3 79 2/17/2026
0.1.0-preview.2 87 2/17/2026
0.1.0-preview.1 84 2/16/2026