Knapcode.SampleMcpServer
Verified Safeby joelverhagen
Overview
Demonstrates and provides a template for creating Model Context Protocol (MCP) servers using C# and NuGet packages, specifically showcasing a simple tool for generating random numbers.
Installation
dnx Knapcode.SampleMcpServer@0.4.0-beta --yes -- mcp startEnvironment Variables
- WEATHER_CHOICES
Security Notes
Actual server logic (C# source code) is not provided, limiting a full security audit of the implementation. Based on the provided `global.json` and `README.md` (which covers configuration and setup), no 'eval', obfuscation, hardcoded secrets, or direct network risks (beyond standard stdio communication) are apparent in the configuration or setup instructions. The `WEATHER_CHOICES` environment variable is shown in configuration examples, but its usage and validation within the unseen server logic are unknown.
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.
MCPJira
Demonstrates building an MCP (Model-Controller-Proxy) server for Jira integration using .NET Core.
Clartat-MCP
Integrate GitHub Projects v2 data with GitHub Copilot Chat for viewing project items and creating issues.