Back to Home
viktortat icon

MyMcpServer

Verified Safe

by 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

Run Command
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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens5
Stars0
Forks0
Last Update2025-12-05

Tags

C#.NETMCPNuGetAI ToolsDeveloper Template