/
by joelverhagen
A sample MCP server using the MCP C# SDK. Generates random numbers and random weather.
Server configuration and capabilities from the MCP manifest
Size: 828 bytes (207 tokens)
Tools Found: 2
Analysis ID: qlj5tj03
Sample MCP tools for demonstration purposes.
{
"name": "Knapcode.SampleMcpServer",
"tags": [
"MCP",
"Random",
"Weather"
],
"tools": [
{
"name": "GetRandomNumber",
"description": "Generates a random number between the specified minimum and maximum values.",
"input_schema": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "integer",
"description": "Maximum value (exclusive)"
},
"min": {
"type": "integer",
"description": "Minimum value (inclusive)"
}
}
},
"output_schema": {
"type": "integer"
}
},
{
"name": "GetCityWeather",
"description": "Describes random weather in the provided city.",
"input_schema": {
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string",
"description": "Name of the city to return weather for"
}
}
},
"output_schema": {
"type": "string"
}
}
],
"version": "1.0.0",
"categories": [
"Sample",
"MCP",
"Tools"
],
"description": "Sample MCP tools for demonstration purposes."
}Stars
Forks
Registry ID: 16498a6c-38c5-45d4-83b2-977bdef88d80
Added to Registry: 9/21/2025
Last Updated: 9/22/2025
Last Seen: 9/22/2025
Historical performance and growth metrics over time
Watchers
Contributors