PluginBench
MCP Server

com.joelverhagen.mcp/Knapcode.SampleMcpServer MCP Server

com.joelverhagen.mcp/Knapcode.SampleMcpServer

What is the com.joelverhagen.mcp/Knapcode.SampleMcpServer MCP server?

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

How to install com.joelverhagen.mcp/Knapcode.SampleMcpServer

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • WEATHER_CHOICES
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "Knapcode-SampleMcpServer": {
      "command": "dnx",
      "args": [
        "Knapcode.SampleMcpServer",
        "mcp",
        "start"
      ],
      "env": {
        "WEATHER_CHOICES": "<YOUR_WEATHER_CHOICES>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "Knapcode-SampleMcpServer": {
      "command": "dnx",
      "args": [
        "Knapcode.SampleMcpServer",
        "mcp",
        "start"
      ],
      "env": {
        "WEATHER_CHOICES": "<YOUR_WEATHER_CHOICES>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "Knapcode-SampleMcpServer": {
      "command": "dnx",
      "args": [
        "Knapcode.SampleMcpServer",
        "mcp",
        "start"
      ],
      "env": {
        "WEATHER_CHOICES": "<YOUR_WEATHER_CHOICES>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "Knapcode-SampleMcpServer": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "Knapcode.SampleMcpServer",
        "mcp",
        "start"
      ],
      "env": {
        "WEATHER_CHOICES": "<YOUR_WEATHER_CHOICES>"
      }
    }
  }
}
Claude Code
claude mcp add Knapcode-SampleMcpServer --env WEATHER_CHOICES=<YOUR_WEATHER_CHOICES> -- dnx Knapcode.SampleMcpServer mcp start

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →