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.
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" />
<PackageReference Include="MCP.Extensions" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=MCP.Extensions&version=0.0.1-preview.15778048273&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
- Install the package using
dotnet add package MCP.Extensions
. - Add the extensions and middleware to your ASP.NET Core project. See the documentation for usage examples.
Requirements
- .NET 9.0 or later
- ModelContextProtocol (https://www.nuget.org/packages/ModelContextProtocol)
- ModelContextProtocol.AspNetCore (https://www.nuget.org/packages/ModelContextProtocol.AspNetCore)
License
MIT © 2025 Eric Chapman
Repository
Product | Versions 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.
-
net9.0
- ModelContextProtocol (>= 0.2.0-preview.3)
- ModelContextProtocol.AspNetCore (>= 0.2.0-preview.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.