CommunityToolkit.Aspire.Hosting.McpInspector 13.0.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.McpInspector --version 13.0.0
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.McpInspector -Version 13.0.0
                    
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="CommunityToolkit.Aspire.Hosting.McpInspector" Version="13.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.McpInspector" Version="13.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.McpInspector" />
                    
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 CommunityToolkit.Aspire.Hosting.McpInspector --version 13.0.0
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.McpInspector, 13.0.0"
                    
#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 CommunityToolkit.Aspire.Hosting.McpInspector@13.0.0
                    
#: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=CommunityToolkit.Aspire.Hosting.McpInspector&version=13.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.McpInspector&version=13.0.0
                    
Install as a Cake Tool

CommunityToolkit.Aspire.Hosting.McpInspector library

Provides extension methods and resource definitions for the .NET Aspire AppHost to support adding an MCP Inspector resource. The MCP Inspector enables inspection and debugging of MCP (Model Context Protocol) servers, with support for multiple server configurations and transport types.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.McpInspector

Example usage

In your Program.cs, add an MCP Inspector resource and configure it with one or more MCP servers:

var mcpServer = builder.AddProject<Projects.McpServer>("mcp-server");

var inspector = builder.AddMcpInspector("inspector")
    .WithMcpServer(mcpServer);

You can specify the transport type (StreamableHttp) and set which server is the default for the inspector.

Using options for complex configurations

For more complex configurations with multiple parameters, you can use the options-based approach:

var customToken = builder.AddParameter("custom-proxy-token", secret: true);

var options = new McpInspectorOptions
{
    ClientPort = 6275,
    ServerPort = 6278,
    InspectorVersion = "0.16.2",
    ProxyToken = customToken
};

var inspector = builder.AddMcpInspector("inspector", options)
    .WithMcpServer(mcpServer);

Alternatively, you can use a configuration delegate for a more fluent approach:

var inspector = builder.AddMcpInspector("inspector", options =>
{
    options.ClientPort = 6275;
    options.ServerPort = 6278;
    options.InspectorVersion = "0.16.2";
})
    .WithMcpServer(mcpServer);
Configuration options

The McpInspectorOptions class provides the following configuration properties:

  • ClientPort: Port for the client application (default: 6274
  • ServerPort: Port for the server proxy application (default: 6277)
  • InspectorVersion: Version of the Inspector app to use (default: latest supported version)
  • ProxyToken: Custom authentication token parameter (default: auto-generated)

Additional Information

See the official documentation for more details.

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.

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
13.0.1-beta.486 23 1/12/2026
13.0.1-beta.468 1,192 12/3/2025
13.0.1-beta.467 623 12/3/2025
13.0.0 1,839 11/25/2025
13.0.0-beta.462 140 11/25/2025
13.0.0-beta.456 207 11/23/2025
13.0.0-beta.454 129 11/23/2025
13.0.0-beta.453 120 11/22/2025
13.0.0-beta.450 120 11/22/2025
13.0.0-beta.448 119 11/22/2025
13.0.0-beta.444 510 11/17/2025
13.0.0-beta.443 304 11/17/2025
13.0.0-beta.440 124 11/15/2025
13.0.0-beta.439 368 11/12/2025
13.0.0-beta.438 235 11/12/2025
13.0.0-beta.436 256 11/12/2025
13.0.0-beta.435 252 11/11/2025
13.0.0-beta.433 164 11/10/2025
13.0.0-beta.432 160 11/10/2025
13.0.0-beta.431 146 11/6/2025
13.0.0-beta.430 148 11/6/2025
9.9.0 1,402 11/3/2025
9.9.0-beta.427 155 11/3/2025
9.8.1-beta.426 149 11/3/2025
9.8.1-beta.424 149 10/28/2025
9.8.1-beta.420 144 10/27/2025
9.8.1-beta.419 135 10/27/2025
9.8.1-beta.417 150 10/27/2025
9.8.1-beta.414 142 10/24/2025
9.8.1-beta.413 135 10/22/2025
9.8.1-beta.410 142 10/16/2025
9.8.1-beta.408 128 10/16/2025
9.8.1-beta.407 122 10/16/2025
9.8.1-beta.406 146 10/15/2025
9.8.0 1,397 9/26/2025
9.8.0-beta.405 134 10/15/2025
9.8.0-beta.404 140 10/13/2025
9.8.0-beta.402 147 9/29/2025
9.8.0-beta.401 133 9/29/2025
9.8.0-beta.399 141 9/26/2025
9.8.0-beta.398 144 9/25/2025
9.8.0-beta.397 143 9/25/2025
9.8.0-beta.395 143 9/24/2025
9.8.0-beta.394 146 9/23/2025
9.8.0-beta.393 139 9/23/2025
9.8.0-beta.392 144 9/23/2025
9.8.0-beta.389 290 9/18/2025
9.8.0-beta.388 273 9/16/2025
9.8.0-beta.386 222 9/15/2025
9.8.0-beta.385 221 9/15/2025
9.8.0-beta.384 78 9/13/2025
9.8.0-beta.376 148 9/8/2025
9.8.0-beta.375 73 9/6/2025
9.8.0-beta.373 152 9/5/2025
9.8.0-beta.372 148 9/4/2025
9.8.0-beta.370 148 9/2/2025
9.8.0-beta.364 144 9/1/2025
9.7.2 951 8/29/2025
9.7.2-beta.362 189 8/29/2025
9.7.2-beta.361 185 8/29/2025
9.7.2-beta.360 189 8/29/2025
9.7.2-beta.359 186 8/28/2025
9.7.2-beta.358 182 8/28/2025
9.7.2-beta.357 184 8/28/2025
9.7.1 288 8/27/2025
9.7.1-beta.355 183 8/27/2025
9.7.1-beta.354 194 8/27/2025
9.7.1-beta.353 187 8/27/2025
9.7.1-beta.352 189 8/27/2025
9.7.1-beta.351 193 8/27/2025
9.7.1-beta.348 178 8/14/2025
9.7.1-beta.344 240 8/10/2025
9.7.1-beta.343 219 8/8/2025
9.7.1-beta.342 230 8/7/2025
9.7.1-beta.341 224 8/6/2025
9.7.1-beta.340 201 8/5/2025
9.7.1-beta.339 211 8/5/2025
9.7.0 226 8/1/2025
9.7.0-beta.337 113 8/1/2025
9.7.0-beta.336 114 8/1/2025
9.7.0-beta.335 115 8/1/2025
9.7.0-beta.333 123 7/30/2025
9.6.1-beta.332 120 7/30/2025
9.6.1-beta.331 123 7/30/2025
9.6.1-beta.330 125 7/30/2025
9.6.1-beta.329 118 7/30/2025
9.6.1-beta.328 132 7/29/2025
9.6.1-beta.327 137 7/28/2025
9.6.1-beta.326 140 7/28/2025
9.6.0 608 7/10/2025
9.6.0-beta.324 206 7/10/2025
9.5.1-beta.323 147 7/10/2025
9.5.1-beta.322 143 7/10/2025
9.5.1-beta.321 142 7/10/2025
9.5.1-beta.320 152 7/9/2025