Svanrj.McpServer.Playground.win-arm64 0.1.4

dotnet add package Svanrj.McpServer.Playground.win-arm64 --version 0.1.4
                    
NuGet\Install-Package Svanrj.McpServer.Playground.win-arm64 -Version 0.1.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Svanrj.McpServer.Playground.win-arm64" Version="0.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Svanrj.McpServer.Playground.win-arm64" Version="0.1.4" />
                    
Directory.Packages.props
<PackageReference Include="Svanrj.McpServer.Playground.win-arm64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Svanrj.McpServer.Playground.win-arm64 --version 0.1.4
                    
#r "nuget: Svanrj.McpServer.Playground.win-arm64, 0.1.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Svanrj.McpServer.Playground.win-arm64@0.1.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Svanrj.McpServer.Playground.win-arm64&version=0.1.4
                    
Install as a Cake Addin
#tool nuget:?package=Svanrj.McpServer.Playground.win-arm64&version=0.1.4
                    
Install as a Cake Tool

MCP Server Playground

mcp-server-playground is a small .NET MCP server used for local experimentation, packaging, and publishing practice.

It currently exposes two sample tools:

  • get_random_number: returns a random integer in a given range
  • get_city_weather: returns a sample weather description for a city

Repository

Run Locally

You can run the MCP server directly from source with dotnet run.

Example Codex MCP configuration:

[mcp_servers.mymcpserver]
enabled = true
cwd = "/Users/svanrj/project/CS/MyMcpServer"
command = "dotnet"
args = ["run", "--project", "."]
env = { WEATHER_CHOICES = "sunny,cloudy,rainy,stormy" }

Build And Pack

Build the project:

dotnet build

Create a NuGet package:

dotnet pack -c Release

The package will be generated under bin/Release.

Publish To NuGet

After creating a NuGet API key, publish with:

dotnet nuget push bin/Release/*.nupkg --api-key <your-api-key> --source https://api.nuget.org/v3/index.json

Notes

This repository is a playground project. The weather tool is currently a sample tool that returns a randomized description rather than real weather data.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.4 323 4/22/2026
0.1.3 292 4/22/2026