
Dotnet Template Mcp
Let your coding agent search dotnet new templates, preview scaffolds, and instantiate new .NET solutions without leaving the chat.
Overview
dotnet-template-mcp is a MCP server for the Build phase that searches, inspects, previews, and creates .NET projects from dotnet new templates through your agent.
What is this MCP server?
- Search and filter installed dotnet new template packs from the agent
- Inspect template metadata and parameters before committing to a stack
- Preview generated file trees without writing to disk
- Create new projects from chosen templates via MCP tools
- Runs as stdio MCP via NuGet (dnx) with -y auto-confirm for package install
- Registry version 1.0.1
- Transport: stdio
- Package: DotnetTemplateMCP via NuGet (registryType nuget, runtimeHint dnx)
Community signal: 4 GitHub stars.
What problem does it solve?
Agents guess project layout or hallucinate dotnet new flags instead of using real installed templates.
Who is it for?
Indie builders starting ASP.NET Core, minimal APIs, workers, or other dotnet new scaffolds with an AI pair programmer.
Skip if: Teams not on .NET, or anyone who only needs frontend-only stacks without the SDK installed.
What do I get? / Deliverables
You get an agent-verified template choice and an on-disk project that matches dotnet new, ready for your next implementation steps.
- Searchable list of local dotnet new templates
- Preview of files a template would generate
- New project directory created from a selected template
Recommended MCP Servers
Journey fit
How it compares
Template-scaffolding MCP integration, not a code-review or deployment skill.
Common Questions / FAQ
Who is dotnet-template-mcp for?
Solo and small-team developers using Claude Code, Cursor, or similar agents who build on .NET and want template-accurate project creation.
When should I use dotnet-template-mcp?
Use it during Build when you need to pick a dotnet new template, preview output, or create a new solution before writing feature code.
How do I add dotnet-template-mcp to my agent?
Register the MCP server from the official registry entry (NuGet DotnetTemplateMCP, stdio, dnx) in your agent’s MCP config and ensure the .NET SDK and desired template packs are installed locally.