We've completed a proposal for setting some conventions around MCP NuGet packages:
NuGet/Home#14344
We can ease the steps of setting up the .csproj by having a project template, perhaps shipping with https://www.nuget.org/packages/Microsoft.Extensions.AI.Templates.
The .csproj will have:
McpServer package type
- ModelContextProtocol dependency
- PackAsTool
- server.json file packed into the .nupkg
It should be a "preview" template.
We've completed a proposal for setting some conventions around MCP NuGet packages:
NuGet/Home#14344
We can ease the steps of setting up the .csproj by having a project template, perhaps shipping with https://www.nuget.org/packages/Microsoft.Extensions.AI.Templates.
The .csproj will have:
McpServerpackage typeIt should be a "preview" template.