Skip to content

Create an MCP server template following package conventions #6518

@joelverhagen

Description

@joelverhagen

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions