MCP-Plugin-dotnet CLAUDE.md

MCP-Plugin-dotnet CLAUDE.md is an instructions file for coding agents from IvanMurzak/MCP-Plugin-dotnet. It costs 380 tokens per session, scanned A, original, Apache-2.0.

Project instructions for a .NET plugin that lets large applications such as Unity, WPF, and game servers expose tools to AI clients through MCP, a standard way to connect models with software capabilities.

In plain words
What is it for?
They guide building and testing the client, server bridge, shared package, SignalR communication, tool registration, and demo application.
Why use it?
They document the bridge architecture and enforce rules needed to keep packages, namespaces, licenses, versions, and downstream integrations compatible.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/ivanmurzak/mcp-plugin-dotnet/claude-md
Clone the repo
git clone --depth 1 https://github.com/IvanMurzak/MCP-Plugin-dotnet

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for MCP-Plugin-dotnet CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ivanmurzak/mcp-plugin-dotnet/claude-md.svg)](https://agentmods.dev/instructions/ivanmurzak/mcp-plugin-dotnet/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ivanmurzak/mcp-plugin-dotnet/claude-md"><img src="https://agentmods.dev/badge/instructions/ivanmurzak/mcp-plugin-dotnet/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 380 This file is loaded in full into every session.
When invoked 380 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00380 $0.00380
Opus 5 $0.00190 $0.00190
Sonnet 5 $0.00076 $0.00076
Haiku 4.5 $0.00038 $0.00038

Measured 5d ago against content hash 74e299d91cb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

MCP-Plugin-dotnet CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 29 lines

What it actually says

CLAUDE.md

What this is

MCP Plugin for .NET — a SignalR bridge that lets heavy .NET apps (Unity, WPF, game servers) expose MCP tools/prompts/resources to AI clients like Claude Desktop without being spawned as subprocesses. Three NuGet packages: McpPlugin (client), McpPlugin.Server (bridge), McpPlugin.Common (shared).

Build / run

dotnet build McpPlugin.sln
dotnet test
cd DemoWebApp && dotnet run port=11111 client-transport=stdio

Critical invariants

  • ALL .cs files must start with the ASCII art Apache 2.0 license header — copy from any existing file.
  • Namespaces are reverse-domain com.IvanMurzak.McpPlugin.* — not standard C# convention.
  • Version is single-sourced in McpPlugin/McpPlugin.csproj; use commands/bump-version.ps1 to change it.
  • Public API changes here cascade to Unity-MCP and downstream extensions — notify the lead.

Find detail in

  • docs/claude/architecture.md — Bridge architecture, packages, SignalR hub endpoint
  • docs/claude/patterns.md[AiToolType] / [AiTool] examples (and the [McpPlugin*] obsolete-alias compatibility note), builder & server registration
  • docs/claude/style.md — Code style mandates (LangVersion, R3, NLog, DI, disposal)
  • docs/claude/testing.md — xUnit + Shouldly + Moq conventions, filtered test commands
  • docs/claude/release.md — Versioning, bump-version, ReflectorNet updates, CI release flow
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 29 lines · 380 tokens per session scan A 74e299d91cb6

Subscribe to this mod's changes

MCP-Plugin-dotnet CLAUDE.md is an instructions file published in the GitHub repository IvanMurzak/MCP-Plugin-dotnet (20 stars, last pushed today), licensed Apache-2.0. It adds 380 tokens to every session, about $0.0019 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories