Knapcode.SampleMcpServer for Windsurf
io.github.joelverhagen/knapcode.samplemcpserver
A sample MCP server using the MCP C# SDK. Generates random numbers and random weather.
client:Windsurf
transport:stdio
runtime:nuget
Install Knapcode.SampleMcpServer in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"knapcode.samplemcpserver": {
"command": "dnx",
"args": [
"Knapcode.SampleMcpServer",
"--yes"
],
"env": {
"WEATHER_CHOICES": "<WEATHER_CHOICES>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs