About Svanrj.McpServer.Playground
Svanrj.McpServer.Playground is an MCP server in the Browser category: a playground MCP server built with .NET, featuring sample random number and weather tools.
Install
git clone https://github.com/svanrjfei/mcp-server-playgroundThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Svanrj.McpServer.Playground
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
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 rangeget_city_weather: returns a sample weather description for a city
Repository
- GitHub: svanrjfei/mcp-server-playground
- NuGet package id:
Svanrj.McpServer.Playground
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.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.