Skip to content

MCP App: Template Wizard — Interactive project creation form #414

@jongalloway

Description

@jongalloway

Summary

Create an interactive Template Wizard MCP App that replaces multi-turn template configuration conversations with a visual form.

MCP Apps Pattern: Configuring with many options

Setting up a new .NET project involves multiple interdependent choices (template, framework, auth, Docker, OpenAPI, etc.). Rather than a back-and-forth conversation, the Template Wizard presents a form where users see all options at once, with validation and defaults.

Design

  • Template selector: Searchable/filterable grid of installed templates (from TemplateEngineHelper.GetInstalledTemplatesAsync())
  • Dynamic parameters: When a template is selected (e.g., Blazor), show its specific parameters with dropdowns, checkboxes, and defaults (from TemplateEngineHelper.GetTemplateDetailsAsync(shortName))
  • Framework picker: Dropdown with LTS badges (from FrameworkHelper)
  • Live validation: Parameter constraints checked before submission
  • Create button: Calls DotnetProject with action New and all configured parameters

Data Sources

  • TemplateEngineHelper.GetInstalledTemplatesAsync() — full template catalog
  • TemplateEngineHelper.GetTemplateDetailsAsync(shortName) — per-template parameters with types, defaults, choices
  • FrameworkHelper — framework validation, LTS status

Resource URI

ui://dotnet-mcp/template-wizard

Priority

High — strongest MCP Apps showcase scenario for this server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmcp-appMCP App interactive dashboard features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions