MCP server
Knapcode Sample
com.joelverhagen.mcp/Knapcode.SampleMcpServer
Checked 26 Oct 2026, 08:31 UTC · Checked against OSV.dev for malware and vulnerabilities; never run by us
A sample MCP server using the MCP C# SDK. Generates random numbers and random weather.
Runs on your computerVerified publisher: joelverhagen.com
At a glance
- Type
- MCP server
- Publisher
- joelverhagen.com (verified by the MCP Registry)
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 26 Oct 2026, 08:31 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add knapcode-samplemcpserver -- dnx Knapcode.SampleMcpServer@0.10.0-beta.10 --yes
Claude Desktop
{"mcpServers":{"knapcode-samplemcpserver":{"command":"dnx","args":["Knapcode.SampleMcpServer@0.10.0-beta.10","--yes"]}}}
Codex (config.toml)
[mcp_servers.knapcode-samplemcpserver] command = "dnx" args = ["Knapcode.SampleMcpServer@0.10.0-beta.10","--yes"]
Gemini CLI
{"mcpServers":{"knapcode-samplemcpserver":{"command":"dnx","args":["Knapcode.SampleMcpServer@0.10.0-beta.10","--yes"]}}}
Cursor
{"mcpServers":{"knapcode-samplemcpserver":{"command":"dnx","args":["Knapcode.SampleMcpServer@0.10.0-beta.10","--yes"]}}}
VS Code
{"servers":{"knapcode-samplemcpserver":{"type":"stdio","command":"dnx","args":["Knapcode.SampleMcpServer@0.10.0-beta.10","--yes"]}}}
Runs on your computer with your permissions: check the package and its source before installing.
Browse
Related MCP servers
- Hopi
Free UK calculators, converters and validators (tax, VAT, stamp duty, dates, units), read-only. - SmartTools
70+ free calculators & converters as MCP tools; each result links to its source page. - AI SENSE Free Public Tools
66 public tools: semantic search, queues, inboxes, webhooks, approvals, DNS, images, PDF and more. - Phoenix Number
phoenix-number MCP — wraps StupidAPIs (keyless — no credential needed) - TidyData Tools
Holidays, business days, currency, time zones, DNS/WHOIS, web page checks, geodata and text tools. - NanoTools
44 tools for AI agents: Trends, SERP, SEO audits, screenshots, weather, FX, whois, RSS. - Mercury Number
mercury-number MCP — wraps StupidAPIs (keyless — no credential needed) - Sample Shop MCP server
Sample shop MCP server: paginated search, idempotent orders, guarded cancellation. Four languages.
Badge for your README
[](https://aptlynx.net/servers/com.joelverhagen.mcp/Knapcode.SampleMcpServer)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents