MyMcpServer
Verified Safeby viktortat
Overview
A C# project template for building and publishing self-contained Model Context Protocol (MCP) servers as NuGet packages, enabling AI assistants like Copilot Chat to use custom tools.
Installation
dotnet run --project <PATH TO PROJECT DIRECTORY>Environment Variables
- NUGET_API_KEY
Security Notes
No direct application code was provided for the MCP server implementation. The `publish.sh` script securely handles the `NUGET_API_KEY` by loading it from a `.env` file, preventing hardcoding. No `eval`, obfuscation, or apparent malicious patterns were found in the provided documentation or build scripts. The overall security of the MCP server would depend on the specific C# logic implemented by the developer using this template.
Similar Servers
mcp-dotnet-samples
This MCP server retrieves GitHub Copilot customizations, including instructions, agents, prompts, and collections, from the `awesome-copilot` repository to provide contextual guidance to AI models.
How-To-Create-MCP-Server
This project demonstrates how to set up a basic Model Context Protocol (MCP) server in .NET for interaction with AI tools like Copilot Chat.
mcp-server-python-template
This server acts as a template for building Model Context Protocol (MCP) servers in Python, specifically demonstrating how to expose weather-related tools (get_alerts, get_forecast) by integrating with an external API (National Weather Service) to provide context and actions for AI models.
csharp-lsp-mcp
An MCP server that provides C# and XAML language intelligence by integrating with `csharp-ls` and built-in XAML analysis for AI assistants like Claude.