skills/dotnet/skills/mcp-csharp-debug/Gen Agent Trust Hub

mcp-csharp-debug

Pass

Audited by Gen Agent Trust Hub on Apr 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • Local Development Command Execution: The skill instructs the use of commands like dotnet run and dotnet build within the project directory. These are standard procedures for compiling and executing C# applications during development and debugging phases.
  • Registry-Based Tool Execution: It utilizes npx @modelcontextprotocol/inspector to facilitate interactive testing. This command downloads and runs a utility from the official npm registry, which is a common practice in the MCP development ecosystem.
  • Configuration and Environment Management: The provided templates for mcp.json and launch.json include mechanisms for environment variable configuration. Notably, it suggests using ${input:api_key} in VS Code, which is a secure method for prompting users for secrets rather than hardcoding them.
  • Automated Configuration Scripting: A PowerShell script is included to automate the generation of mcp.json. This script performs read operations on local project files (.csproj and Program.cs) to detect transport settings and generate corresponding configuration entries.
  • Diagnostic Logging Practices: The skill provides specific advice on redirecting logging to stderr for stdio transports. This is a technical requirement to prevent diagnostic output from interfering with the JSON-RPC protocol communication over stdout.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 22, 2026, 09:51 AM