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.

com.joelverhagen.mcp/Knapcode.SampleMcpServer

NUGET · KNAPCODE.SAMPLEMCPSERVER · SCANNED SEP 20

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

0 this week 61 Trust /100
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 Security50
  • No malware found by supply-chain analysis.Pass
  • Known CVEs could not be checked: the version this server declares is not published in its registry.Unverified
  • Install-script risk not yet assessed.Unverified
  • Dependency health could not be checked: the version this server declares is not published in its registry.Unverified
Provenance & Transparency30
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 Management83
  • Stability observed for 25 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
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
Install

How do I install the com.joelverhagen.mcp/Knapcode.SampleMcpServer server?

com.joelverhagen.mcp/Knapcode.SampleMcpServer runs locally as a NuGet package, launched with dnx Knapcode.SampleMcpServer@0.10.0-beta.10 --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 com-joelverhagen-mcp-knapcode-samplemcpserver -- dnx Knapcode.SampleMcpServer@0.10.0-beta.10 --yes
// .cursor/mcp.json
{
  "mcpServers": {
    "com-joelverhagen-mcp-knapcode-samplemcpserver": {
      "command": "dnx",
      "args": [
        "Knapcode.SampleMcpServer@0.10.0-beta.10",
        "--yes"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "com-joelverhagen-mcp-knapcode-samplemcpserver": {
      "command": "dnx",
      "args": [
        "Knapcode.SampleMcpServer@0.10.0-beta.10",
        "--yes"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add com-joelverhagen-mcp-knapcode-samplemcpserver -- dnx Knapcode.SampleMcpServer@0.10.0-beta.10 --yes
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-joelverhagen-mcp-knapcode-samplemcpserver": {
      "type": "local",
      "command": [
        "dnx",
        "Knapcode.SampleMcpServer@0.10.0-beta.10",
        "--yes"
      ],
      "enabled": true
    }
  }
}
# ~/.hermes/config.yaml
mcp_servers:
  com-joelverhagen-mcp-knapcode-samplemcpserver:
    command: "dnx"
    args: ["Knapcode.SampleMcpServer@0.10.0-beta.10", "--yes"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "com-joelverhagen-mcp-knapcode-samplemcpserver": {
      "Transport": "stdio",
      "Command": "dnx",
      "Arguments": [
        "Knapcode.SampleMcpServer@0.10.0-beta.10",
        "--yes"
      ]
    }
  }
}
// mcp.json
{
  "mcpServers": {
    "com-joelverhagen-mcp-knapcode-samplemcpserver": {
      "command": "dnx",
      "args": [
        "Knapcode.SampleMcpServer@0.10.0-beta.10",
        "--yes"
      ]
    }
  }
}
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.

  • 20 Sept 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.

  • 19 Sept 26 −3
    • Stability: pass → 0.80 functional
  • 18 Sept 26 0
    • Stability: 0.97 → pass security
  • 17 Sept 26 +1

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

  • 15 Sept 26 +1

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

  • 13 Sept 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.

  • 12 Sept 26 −3
    • Stability: pass → 0.80 functional
  • 11 Sept 26 0
    • Stability: 0.97 → pass security
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 20 Sept 2026 · Analysed nuget/Knapcode.SampleMcpServer@0.10.0-beta.10

Provenance Version not published

The package exists but this version is not published, so there is no artifact to attest.

Result Version not published
Ecosystem nuget
Reason Signature present, unreadable

Background: How many MCP packages publish verified provenance →

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
maxintegerMaximum value (exclusive)
minintegerMinimum value (inclusive)

No output schema declared.

No examples provided.

Common questions

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

com.joelverhagen.mcp/Knapcode.SampleMcpServer is listed in the public MCP registry as com.joelverhagen.mcp/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 com.joelverhagen.mcp/Knapcode.SampleMcpServer server safe to use?

com.joelverhagen.mcp/Knapcode.SampleMcpServer scores 61 out of 100 on VerifyMCP. 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 com.joelverhagen.mcp/Knapcode.SampleMcpServer server expose?

com.joelverhagen.mcp/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 com.joelverhagen.mcp/Knapcode.SampleMcpServer server still maintained?

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