SourceExplorerMcp.linux-arm64 1.0.2

dotnet add package SourceExplorerMcp.linux-arm64 --version 1.0.2
                    
NuGet\Install-Package SourceExplorerMcp.linux-arm64 -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SourceExplorerMcp.linux-arm64" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SourceExplorerMcp.linux-arm64" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="SourceExplorerMcp.linux-arm64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SourceExplorerMcp.linux-arm64 --version 1.0.2
                    
#r "nuget: SourceExplorerMcp.linux-arm64, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SourceExplorerMcp.linux-arm64@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SourceExplorerMcp.linux-arm64&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=SourceExplorerMcp.linux-arm64&version=1.0.2
                    
Install as a Cake Tool

SourceExplorerMcp

MCP tools for exploring source code of .NET assemblies via decompilation

GitHub Release NuGet Downloads Build Status License: MIT


What is SourceExplorerMcp

SourceExplorerMcp is a Model Context Protocol (MCP) server distributed as a dotnet tool. It lets AI agents explore and decompile .NET types from a project's dependency graph — NuGet packages and framework assemblies — without needing the original source code.

Point it at any .NET project directory, and the server will resolve the project's dependencies, scan for assemblies, and expose tools that let an agent search for types and decompile them into readable C# source.

How it works

  1. Parses project.assets.json to map DLL filenames to NuGet packages.
  2. Scans bin/ directories for matching .dll files.
  3. Indexes types via System.Reflection.Metadata.
  4. Decompiles on demand via ICSharpCode.Decompiler.

Assembly and type data are cached in memory, so repeated tool calls against the same project are fast.

Available tools

Tool Description
search-types Search for .NET types across all assemblies in a project's dependency graph using wildcard patterns (e.g. *HttpClient*, Microsoft.Extensions.*Options). Returns type summaries including fully-qualified names.
decompile-type Decompile a .NET type into C# source code. Supports full mode (complete source with method bodies) and signatures mode (API surface only). Large outputs are automatically offloaded to a temporary file.

Installation

Prerequisites

Configure the MCP server in your client

Claude Code:

claude mcp add source-explorer -- dotnet dnx SourceExplorerMcp --yes

You can also add --scope local, --scope user or --scope project to the above command. It defaults to local if not specified.

Standard Config (works in most MCP clients):

{
    "mcpServers": {
        "source-explorer": {
            "type": "stdio",
            "command": "dotnet",
            "args": [
                "dnx",
                "SourceExplorerMcp",
                "--yes"
            ]
        }
    }
}

Configuration

Environment Variable Default Description
SOURCE_EXPLORER_MAX_INLINE_CHARS 10000 Character threshold before decompiled source is offloaded to a temporary file instead of returned inline.

Changelog

See CHANGELOG.md for a full list of changes between versions.

Licence

This project is licenced under the MIT Licence.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 78 3/20/2026
1.0.1 77 3/18/2026
1.0.0 81 3/8/2026