Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol
10.2.1
dotnet add package Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol --version 10.2.1
NuGet\Install-Package Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol -Version 10.2.1
<PackageReference Include="Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol" Version="10.2.1" />
<PackageVersion Include="Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol" Version="10.2.1" />
<PackageReference Include="Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol" />
paket add Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol --version 10.2.1
#r "nuget: Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol, 10.2.1"
#:package Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol@10.2.1
#addin nuget:?package=Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol&version=10.2.1
#tool nuget:?package=Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol&version=10.2.1
About
An open-source project (MIT license) that targets and complements the Swashbuckle.AspNetCore Swagger tooling for APIs built with ASP.NET Core. It aims to provide a uniform and convenient developer experience when working with Swagger and OpenAPI.
Your versatile Swashbuckle.AspNetCore companion for modern development with .NET 9 and .NET 10.
It is, by heart, free, flexible and built to extend and boost your agile codebelt.
Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol for .NET
The Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol namespace contains types and extension methods that complements the Swashbuckle.AspNetCore by adding support for documenting Model Context Protocol (MCP) endpoints in generated OpenAPI documents.
More documentation available at our documentation site:
| 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 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. |
-
net10.0
- Codebelt.Extensions.Swashbuckle.AspNetCore (>= 10.2.1)
- ModelContextProtocol (>= 1.3.0)
-
net9.0
- Codebelt.Extensions.Swashbuckle.AspNetCore (>= 10.2.1)
- ModelContextProtocol (>= 1.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version: 10.2.1
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
# Improvements
- REFACTORED McpDocumentFilter tool discovery logic to separate assembly filtering from type attribute filtering for improved clarity and maintainability.
Version: 10.2.0
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
# New Features
- ADDED McpDocumentFilter class in the Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol namespace that injects the MCP Streamable HTTP transport endpoint (and optionally the legacy SSE endpoints) into the generated OpenAPI document
- ADDED McpDocumentOptions class in the Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol namespace that defines options for the McpDocumentFilter class
- ADDED SwaggerGenOptionsExtensions class in the Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol namespace with an extension method for the SwaggerGenOptions class: AddMcpServer