Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.joelverhagen/Knapcode.SampleMcpServer

NUGET · KNAPCODE.SAMPLEMCPSERVER

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

0 this week 76 Trust /100

Last scanned (17 hours ago)

Scores higher than 55% of NuGet servers

Category Maps and Location

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security100
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • No production dependencies, so there is no dependency health to assess. View diagnostics → Pass
Provenance & Transparency18
Schema Quality & AI Usability66
  • AI-judged instruction clarity (good).Pass
  • Tool/resource definitions use about 76 tokens (~38/item across 2 items; 2 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 2 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 2 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities60
  • Spec-recency check failed: implements MCP spec 2025-06-18; the latest is 2026-07-28. See how to fix → Fail
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 24 Oct 26 +1
    • Stability: 0.97 → pass security
  • 23 Oct 26 −1
    • Stability: pass → 0.97 functional
  • 17 Oct 26 +1
    • Stability: 0.97 → pass security
  • 15 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.

  • 12 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.

  • 4 Oct 26 −3
    • Stability: pass → 0.80 functional
  • 3 Oct 26 +1
    • Stability: 0.97 → pass security
  • 1 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Nov 2026 · Analysed nuget/Knapcode.SampleMcpServer@0.7.0-beta

Provenance Inconclusive

We could not complete the check, so nothing is claimed either way. This is a gap on our side, not a finding about the package.

Result Inconclusive
Ecosystem nuget
Reason Signature present, unverified

Signer

Signed as Repository signature, names nuget.org
Subject CN=NuGet.org Repository by Microsoft,O=NuGet.org Repository by Microsoft,L=Redmond,ST=Washington,C=US
Issuer CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1,O=DigiCert\, Inc.,C=US
Valid from 23 Feb 2024
Valid until 18 May 2027
Service index https://api.nuget.org/v3/index.json
Owners joelverhagen

Background: How many MCP packages publish verified provenance →

Dependencies 0 packages
Packages resolved 0
Tree resolution Complete

Background: SBOMs and build attestations, explained →

Registry declarations For information only

What the registry and the package's own manifest say about this version. The publisher or the registry writes these, nothing here is verified, and none of it affects the score.

Repository https://github.com/joelverhagen/Knapcode.SampleMcpServer.git
Repository type git
Branch refs/heads/main
Commit 35f29c0b54f4e667bfaaaae6a8e889bc82dd355f
MCP tools · 2 exposed · ~76 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
get_city_weather ~33

Describes random weather in the provided city.

NameTypeReqDescription
citystringyesName of the city to return weather for

No output schema declared.

No examples provided.

get_random_number ~43

Generates a random number between the specified minimum and maximum values.

NameTypeReqDescription
maxinteger–Maximum value (exclusive)
mininteger–Minimum value (inclusive)

No output schema declared.

No examples provided.

Install

How do I install the io.github.joelverhagen/Knapcode.SampleMcpServer MCP server?

io.github.joelverhagen/Knapcode.SampleMcpServer runs locally as a NuGet package, launched with dnx Knapcode.SampleMcpServer@0.7.0-beta --yes. Ready-made configuration for Claude, Cursor, VS Code, Codex and 3 more is on this page, copied from each client's own documentation.

nuget · Knapcode.SampleMcpServer

# add to Claude Code
claude mcp add joelverhagen-knapcode-samplemcpserver -- dnx Knapcode.SampleMcpServer@0.7.0-beta --yes
Common questions

What is the io.github.joelverhagen/Knapcode.SampleMcpServer MCP server?

io.github.joelverhagen/Knapcode.SampleMcpServer is an MCP server listed in the public MCP registry as io.github.joelverhagen/Knapcode.SampleMcpServer. A sample MCP server using the MCP C# SDK. Generates random numbers and random weather. This page covers its NuGet package (Knapcode.SampleMcpServer).

Is the io.github.joelverhagen/Knapcode.SampleMcpServer MCP server safe to use?

io.github.joelverhagen/Knapcode.SampleMcpServer scores 76 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 4 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.joelverhagen/Knapcode.SampleMcpServer MCP server expose?

io.github.joelverhagen/Knapcode.SampleMcpServer exposes 2 tools: get_random_number, get_city_weather. Their descriptions and schemas cost roughly 76 tokens of context every time the server is loaded.

Is the io.github.joelverhagen/Knapcode.SampleMcpServer MCP server still maintained?

io.github.joelverhagen/Knapcode.SampleMcpServer is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.joelverhagen/Knapcode.SampleMcpServer MCP server under?

io.github.joelverhagen/Knapcode.SampleMcpServer declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.