Dotnet Template icon

Dotnet Template

Provides a .NET template for building Model Context Protocol (MCP) applications, offering a basic structure and example code.

About

This repository offers a .NET template designed to streamline the creation of Model Context Protocol (MCP) applications. It includes a foundational structure and illustrative code samples, enabling developers to quickly initiate MCP-enabled projects and integrate large language models with external data sources.

Key Features

  • Supports local and global installation
  • Uses .NET attributes for tool definition
  • Includes multiple templates (Stdio, SSE, Hybrid)
  • Provides example code for an echo server
  • 6 GitHub stars
  • Integrates with Aspire for cloud-native development

Use Cases

  • Creating a server that interacts with LLMs using external tools
  • Distributing MCP servers as .NET tools
  • Rapidly prototyping MCP-compatible applications in .NET
Craft Better Prompts with AnyPrompt