Nabs.Launchpad.Core.Ai.Mcp 10.1.2

Prefix Reserved
dotnet add package Nabs.Launchpad.Core.Ai.Mcp --version 10.1.2
                    
NuGet\Install-Package Nabs.Launchpad.Core.Ai.Mcp -Version 10.1.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="Nabs.Launchpad.Core.Ai.Mcp" Version="10.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nabs.Launchpad.Core.Ai.Mcp" Version="10.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Nabs.Launchpad.Core.Ai.Mcp" />
                    
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 Nabs.Launchpad.Core.Ai.Mcp --version 10.1.2
                    
#r "nuget: Nabs.Launchpad.Core.Ai.Mcp, 10.1.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 Nabs.Launchpad.Core.Ai.Mcp@10.1.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=Nabs.Launchpad.Core.Ai.Mcp&version=10.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Nabs.Launchpad.Core.Ai.Mcp&version=10.1.2
                    
Install as a Cake Tool

NuGet

Nabs.Launchpad.Core.Ai.Mcp

Nabs.Launchpad.Core.Ai.Mcp provides small, focused extensions for wiring a Model Context Protocol (MCP) server into an ASP.NET Core app, with support for stdio transport and optional HTTP transport.

Installation

dotnet add package Nabs.Launchpad.Core.Ai.Mcp

The Problem

// 1) MCP server setup repeated in each app
builder.Services
	.AddMcpServer()
	.WithToolsFromAssembly();

// 2) Transport selection scattered and inconsistent
if (useHttp)
{
	// http setup
}
else
{
	// stdio setup
}

// 3) Endpoint mapping forgotten or drifted between services
app.MapMcp("/mcp");

Features

  • Simple MCP bootstrap via AddHttpMcp(Action<IMcpServerBuilder>).
  • Transport switching by configuration using UseHttpTransport.
  • HTTP endpoint mapping helper via UseHttpMcp().
  • Tool discovery from assembly using .WithToolsFromAssembly().
  • Console logging to stderr to avoid colliding with stdio MCP protocol output.

Usage

using Nabs.Launchpad.Core.Ai.Mcp;

var builder = WebApplication.CreateBuilder(args);

builder.AddHttpMcp(mcp =>
{
	// Add additional MCP configuration here if needed.
});

var app = builder.Build();

app.UseHttpMcp();

app.Run();

Configuration

Set UseHttpTransport to control which MCP transport is used:

  • false (default): stdio transport (WithStdioServerTransport) for local/agent-hosted scenarios.
  • true: HTTP transport (WithHttpTransport) with Stateless = true, mapped at /mcp.

Example appsettings.json:

{
  "UseHttpTransport": true
}

Project Structure

  • ProjectExtensions - extension methods for WebApplicationBuilder and WebApplication MCP integration.

License

Copyright (c) Net Advantage Business Solutions.

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.

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
10.1.2 86 9/30/2026
10.1.1 93 9/23/2026
10.1.0 85 9/23/2026
10.0.290 71 9/22/2026
10.0.289 78 9/22/2026
10.0.288 82 9/22/2026
10.0.287 84 9/21/2026
10.0.286 83 9/18/2026
10.0.285 85 9/18/2026
10.0.273 100 9/6/2026
10.0.272 97 9/5/2026
10.0.270 97 9/5/2026
10.0.269 94 9/5/2026
10.0.255 120 7/26/2026
10.0.250 118 6/23/2026
10.0.249 104 6/6/2026
10.0.248 112 6/6/2026
10.0.247 107 6/6/2026
10.0.246 115 6/6/2026
10.0.242 106 6/4/2026
Loading failed