Back to code-only MCP servers

Knapcode.SampleMcpServer

updated this year

A sample MCP server using the MCP C# SDK. Generates random numbers and random weather.

Code-only MCP server: no hosted endpoint, so you install and run it yourself. It is not probed, graded or counted in our reachability statistics.

Get it

Repository
github.com/joelverhagen/Knapcode.SampleMcpServer
Package
nuget: Knapcode.SampleMcpServer
Run (stdio)
dnx Knapcode.SampleMcpServer --yes
The usual command for this package registry; check the repository README for required settings.
License
not declared
Last update
2026-01-20
GitHub stars
★ 0
Homepage
www.nuget.org/packages/Knapcode.SampleMcpServer

Listed in

Run this server as a hosted endpoint? Submit the endpoint and it moves to the remote directory, where it is probed and graded.