This MCP server allows users to create and package an MCP server using C#. It can be published as a NuGet package for use in applications like VS Code.
From the registry: A sample MCP server using the MCP C# SDK. Generates random numbers and random weather.
Please install the `knapcode-samplemcpserver-joelverhagen` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **.NET dnx runtime** — dnx (part of .NET NuGet MCP tooling) must be installed. (https://aka.ms/nuget/mcp/guide)
Canonical MCP server config (stdio transport):
- command: `dnx`
- args: ["Knapcode.SampleMcpServer@0.4.0-beta","--yes","--","mcp","start"]
- optional environment variables:
- `WEATHER_CHOICES`: Comma-separated weather choices for the sample tools. (example: `sunny,humid,freezing`)
Note: Sample/template MCP server demonstrating the C# NuGet MCP packaging workflow.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.WEATHER_CHOICESrequiredSpecifies the weather options available for the MCP server.MCP server for Gearsystem Sega Master System / Game Gear / SG-1000 emulator