Kododo.Reiho.AspNetCore.Mcp 2.1.1

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

Kododo.Reiho.AspNetCore.Mcp

Offers Reiho requests as tools to AI agents over the Model Context Protocol, next to their HTTP endpoints. Built on the official MCP C# SDK.

[McpTool(ReadOnly = true), Description("Finds the orders of a customer, newest first.")]
public sealed record FindOrders([property: Description("Customer id, e.g. c-63")] string CustomerId) : IRequest<Order[]>;
builder.Services.AddRequestHandlers(typeof(Program).Assembly);
builder.Services.AddMcpServer()
    .WithHttpTransport()
    .WithRequests(typeof(Program).Assembly);

app.MapMcp("/mcp").RequireAuthorization();

Only requests marked with [McpTool], or included with o.Include<TRequest>(), become tools. A tool's arguments are the request's properties, and its result is the handler's result as JSON. A tool call does not go through the HTTP endpoints, so protect the MCP endpoint itself.

The request's validation, RequestExceptions and request filters apply to tool calls as to HTTP requests, and errors come back as error results the agent can read and act on. A FileResponse result is returned as an embedded resource; a request that receives files cannot be a tool.

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 (1)

Showing the top 1 NuGet packages that depend on Kododo.Reiho.AspNetCore.Mcp:

Package Downloads
Kododo.MonitorWay.Mcp

Lets AI agents read the telemetry kept by MonitorWay over the Model Context Protocol: the overview of the HTTP endpoints, logs with search and context, traces with their spans, errors grouped with their occurrences, and metrics as time series.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.1 105 10/16/2026
2.1.0 92 10/16/2026
2.0.0 90 10/14/2026