{"repo":"NikiforovAll/mcp-template-dotnet","free":true,"listed":false,"github":"https://github.com/NikiforovAll/mcp-template-dotnet","clone":"git clone https://github.com/NikiforovAll/mcp-template-dotnet.git","description":"This repository contains a template for creating a Model Context Protocol (MCP) applications in .NET.","language":"C#","stars":28,"topics":["mcp","mcp-server","template"],"license":"MIT","category":"mcp-servers","readme_excerpt":"Model Context Protocol .NET Template A protocol for seamless integration between LLM applications and external data sources Documentation Specification Discussions This repository contains a template for creating a Model Context Protocol (MCP) application in .NET. It provides a basic structure and example code to help you get started with building your own MCP-enabled applications. Package Version Description ---------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------- Nall.ModelContextProtocol.Template Templates Nall.ModelContextProtocol.Inspector.Aspire.Hosting Aspire Hosting Integration Getting Started Install: Verify installation: [!TIP] Practically, you want to switch between modes, so I recommend using the mcp-server-hybrid template. It allows you to run the server in both Stdio and HTTP modes. Verify output: Create from template: Here is a content of Program.cs : It is a simple echo server that listens for incoming messages and responds with a greeting. You can add more tools by creating additional methods with the [McpServerTool] attribute. The WithToolsFromAssembly() method automatically registers all tools in the assembly. Run Locally Build from the project directory: Run the inspector: Open inspector in your browser and test the server: Distribute as .NET Tool Pack from th","default_branch":null,"files":null,"tree":[],"storefront":"/r/NikiforovAll","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NikiforovAll/mcp-template-dotnet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}