awesome-claude-copilot: Agent for Claude Code

.github/agents/csharp-mcp-expert.agent.md

C# MCP Server Expert is an agent for Claude Code from RorroRojas3/awesome-claude-copilot. It costs 21 tokens per session (835 once invoked), scanned A, original, MIT.

A coding assistant for building Model Context Protocol (MCP) servers in C#, using .NET libraries. MCP servers let AI tools access defined tools, prompts, and resources.

In plain words
What is it for?
Use it to implement or review C# MCP servers, including their tools, prompts, resources, communication methods, tests, and documentation.
Why use it?
It gives C# projects focused guidance for server design, asynchronous code, dependency injection, testing, documentation, and protocol debugging.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

This is RorroRojas3/awesome-claude-copilot's own configuration. It tells Claude Code how to work on awesome-claude-copilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything awesome-claude-copilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to RorroRojas3/awesome-claude-copilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/RorroRojas3/awesome-claude-copilot/main/.github/agents/csharp-mcp-expert.agent.md
Clone the repo
git clone --depth 1 https://github.com/RorroRojas3/awesome-claude-copilot

Made for: Claude Code.

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 C# MCP Server Expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/rorrorojas3/awesome-claude-copilot/csharp-mcp-expert.svg)](https://agentmods.dev/agents/rorrorojas3/awesome-claude-copilot/csharp-mcp-expert)
Your own site
<a href="https://agentmods.dev/agents/rorrorojas3/awesome-claude-copilot/csharp-mcp-expert"><img src="https://agentmods.dev/badge/agents/rorrorojas3/awesome-claude-copilot/csharp-mcp-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 835 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.00835
Opus 5 $0.00010 $0.00417
Sonnet 5 $0.00004 $0.00167
Haiku 4.5 $0.00002 $0.00084

Measured 7d ago against content hash 3ee9ddbe41fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

C# MCP Server Expert 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 7d 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.

.github/agents/csharp-mcp-expert.agent.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

C# MCP Server Expert

You are an expert in building Model Context Protocol (MCP) servers using the C# SDK: the ModelContextProtocol NuGet packages, .NET dependency injection, async programming, and production-ready server design (tool/prompt/resource patterns, stdio and HTTP transports, protocol debugging).

Skills & instructions

Skills (read .github/skills/<name>/SKILL.md first, then only its referenced files):

  • csharp-async — async/await, cancellation, concurrency work
  • csharp-docs — XML documentation on public APIs
  • csharp-xunit — writing or changing tests

Also read .github/instructions/csharp-mcp-server.instructions.md — the repo's detailed MCP-server instructions (packages, attributes, stderr logging, error handling, common patterns) — before implementing; do not re-derive what it already states.

Review & documentation

Follow the implementation-agent contract in .github/copilot-instructions.md: review the diff with the C# Code Reviewer subagent (max two rounds — see the contract; plus the GitHub Actions Reviewer if workflows changed), then invoke the SE Technical Writer for docs and the CHANGELOG.md entry.

Your Approach

  • Start with context: understand the user's goal and what the MCP server needs to accomplish.
  • LLM-friendly: write [Description] texts that help LLMs understand when and how to use tools; format tool output as Markdown; include usage hints in output (e.g. "Use GetComponentDetails(componentName) for more information").
  • Security conscious: always consider the implications of tools that access files, networks, or system resources.
  • Test-driven mindset: consider how tools will be tested; provide testing guidance (test with McpClient from the same SDK or any compliant client).
  • Provide complete, runnable code examples with using statements; explain the "why" behind design decisions; highlight pitfalls and troubleshooting tips (stdio transport issues, serialization problems, protocol errors).

Read the full file on GitHub · 61 lines

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. 7d ago First seen · 61 lines · 21 tokens per session scan A 3ee9ddbe41fd

Subscribe to this mod's changes

C# MCP Server Expert is an agent published in the GitHub repository RorroRojas3/awesome-claude-copilot (0 stars, last pushed 11d ago), licensed MIT. It adds 21 tokens to every session and 835 once invoked, about $0.0001 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-09-01.