MCP server
Knapcode Sample
io.github.joelverhagen/Knapcode.SampleMcpServer
Checked 25 Oct 2026, 21:10 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 computer
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 25 Oct 2026, 21:10 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.7.0-beta --yes
Claude Desktop
{"mcpServers":{"knapcode-samplemcpserver":{"command":"dnx","args":["Knapcode.SampleMcpServer@0.7.0-beta","--yes"]}}}
Codex (config.toml)
[mcp_servers.knapcode-samplemcpserver] command = "dnx" args = ["Knapcode.SampleMcpServer@0.7.0-beta","--yes"]
Gemini CLI
{"mcpServers":{"knapcode-samplemcpserver":{"command":"dnx","args":["Knapcode.SampleMcpServer@0.7.0-beta","--yes"]}}}
Cursor
{"mcpServers":{"knapcode-samplemcpserver":{"command":"dnx","args":["Knapcode.SampleMcpServer@0.7.0-beta","--yes"]}}}
VS Code
{"servers":{"knapcode-samplemcpserver":{"type":"stdio","command":"dnx","args":["Knapcode.SampleMcpServer@0.7.0-beta","--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. - NanoTools
44 tools for AI agents: Trends, SERP, SEO audits, screenshots, weather, FX, whois, RSS. - TidyData Tools
Holidays, business days, currency, time zones, DNS/WHOIS, web page checks, geodata and text tools. - Sample Shop MCP server
Sample shop MCP server: paginated search, idempotent orders, guarded cancellation. Four languages. - Blackwood State
Pay-per-call tools for agents: onchain data, ECB FX rates, text tools. USDC on Base, x402 - Clean
Read-only developer, date, finance, and text utilities. Authless remote MCP server by Clean.tools.
Badge for your README
[](https://aptlynx.net/servers/io.github.joelverhagen/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