MyMcpServer
Verified Safeby viktortat
Overview
A C# template for developing and publishing ModelContextProtocol (MCP) servers as NuGet packages, enabling AI agents like Copilot Chat to utilize custom tools.
Installation
dotnet run --project <PATH TO PROJECT DIRECTORY>Environment Variables
- NUGET_API_KEY
Security Notes
The provided source code is primarily a template, documentation, and a shell script for publishing. The `publish.sh` script correctly uses an environment variable (`NUGET_API_KEY`) for sensitive information, demonstrating good practice. Communication type is 'stdio', which is generally low-risk for inter-process communication. No application logic (e.g., C# code implementing tools) is provided, so a full security audit of the server's runtime behavior is not possible, but the template structure and provided scripts follow good security practices.
Similar Servers
mcp-dotnet-samples
This MCP server enhances GitHub Copilot by providing a mechanism to search, retrieve, and manage custom instructions and agents from the awesome-copilot repository, allowing for personalized AI assistance in development workflows.
How-To-Create-MCP-Server
Set up a basic .NET MCP server to integrate custom tools with Copilot Chat in VS Code.
azure-devops-mcp-server
Exposes Azure DevOps operations as tools for AI assistants, enabling AI agents to automate tasks like creating work items, managing pull requests, and queuing builds.
mcp-server-python-template
This server provides weather forecasting and alert information to LLM applications via the Model Context Protocol (MCP).