TicketFlow.Mcp.AspNetCore
0.1.0-alpha.4.1
This is a prerelease version of TicketFlow.Mcp.AspNetCore.
dotnet add package TicketFlow.Mcp.AspNetCore --version 0.1.0-alpha.4.1
NuGet\Install-Package TicketFlow.Mcp.AspNetCore -Version 0.1.0-alpha.4.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="TicketFlow.Mcp.AspNetCore" Version="0.1.0-alpha.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TicketFlow.Mcp.AspNetCore" Version="0.1.0-alpha.4.1" />
<PackageReference Include="TicketFlow.Mcp.AspNetCore" />
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 TicketFlow.Mcp.AspNetCore --version 0.1.0-alpha.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TicketFlow.Mcp.AspNetCore, 0.1.0-alpha.4.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 TicketFlow.Mcp.AspNetCore@0.1.0-alpha.4.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=TicketFlow.Mcp.AspNetCore&version=0.1.0-alpha.4.1&prerelease
#tool nuget:?package=TicketFlow.Mcp.AspNetCore&version=0.1.0-alpha.4.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TicketFlow.Mcp.AspNetCore
Optional ASP.NET Core wiring for TicketFlow.Mcp.
builder.Services.AddMcpServer()
.WithHttpTransport(options => options.Stateless = true)
.WithTicketFlowTools(options => options.DefaultWorkspace = "acme")
.WithTicketFlowHostPrincipals(); // MCP caller = ITicketFlowPartitionResolver + ITicketFlowPrincipalResolver
app.UseAuthentication();
app.UseAuthorization();
app.MapTicketFlowMcp("/mcp", authorizationPolicy: "mcp"); // always RequireAuthorization (default or named policy)
WithTicketFlowHostPrincipals()resolves the MCP caller from the MCP request'sHttpContextwith the sameITicketFlowPartitionResolverandITicketFlowPrincipalResolverthe HTTP endpoints use (for exampleAddIdentityFlowPrincipals()), so an API key maps to anApiClientPrincipalholding ordinary Access grants.MapTicketFlowMcp()maps the SDK's Streamable HTTP endpoint and requires authorization; authentication schemes and policies stay with the host.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- Microsoft.AspNetCore.OpenApi (>= 11.0.0)
- Microsoft.Extensions.AI.Abstractions (>= 11.0.0)
- ModelContextProtocol (>= 2.4.0)
- ModelContextProtocol.AspNetCore (>= 2.4.0)
- TicketFlow.Hosting.AspNetCore (>= 0.1.0-alpha.4.1)
- TicketFlow.Mcp (>= 0.1.0-alpha.4.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TicketFlow.Mcp.AspNetCore:
| Package | Downloads |
|---|---|
|
TicketFlow
Catch-all meta-package for the TicketFlow stack: core primitives, support domains, in-memory and PostgreSQL stores, ASP.NET Core hosting, SignalR realtime, background workers, Blazor management UI, and MCP server toolsets. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.4.1 | 38 | 11/23/2026 |
| 0.1.0-alpha.3.1 | 40 | 11/23/2026 |
| 0.1.0-alpha.2.1 | 45 | 11/22/2026 |