MCP.Extensions 0.0.1-preview.15778048273

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

MCP.Extensions

Extensions and middleware for ModelContextProtocol in ASP.NET Core.

Overview

MCP.Extensions provides a set of extension methods and middleware to enhance the ModelContextProtocol experience in ASP.NET Core applications. It is designed to simplify integration and extend the capabilities of ModelContextProtocol-based solutions.

Features

  • Middleware for streamlined ASP.NET Core integration
  • Curate the tools returned on aspnet applications by using an audience based context on each tool. One MCP server, multiple contexts.
  • Up to date with the latest MCP CSharp SDK
  • Designed for .NET 9.0 and above

Getting Started

  1. Install the package using dotnet add package MCP.Extensions.
  2. Add the extensions and middleware to your ASP.NET Core project. See the documentation for usage examples.

Requirements

License

MIT © 2025 Eric Chapman

Repository

https://github.com/echapmanFromBunnings/mcp.extensions

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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.