mcp-csharp-debug

Debug and test C# MCP servers locally with dotnet run and MCP Inspector.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ojrojas/AgentsInstructions --skill mcp-csharp-debug-ojrojas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-csharp-debug
Source: https://github.com/ojrojas/AgentsInstructions/tree/main/.claude/skills/dotnet-ai/skills/mcp-csharp-debug
Command: npx skills add https://github.com/ojrojas/AgentsInstructions --skill mcp-csharp-debug-ojrojas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of running, debugging, and testing C# MCP (Model-Context Protocol) servers locally, providing a comprehensive set of tools and configurations for developers.

Core Features & Use Cases

  • Local Execution: Run and debug C# MCP servers locally using dotnet run.
  • IDE Configuration: Automate the setup of VS Code or Visual Studio for debugging.
  • MCP Inspector Integration: Test tools interactively with the MCP Inspector.
  • GitHub Copilot Agent Mode: Verify tools appear and function in GitHub Copilot Agent Mode.
  • Troubleshooting: Diagnose issues with tool registration, protocol messages, and logging.
  • Use Case: Suppose you have a C# MCP server and need to debug a tool that is not discovered by the MCP Inspector. Use this Skill to diagnose the issue and set up the necessary configurations.

Quick Start

Run the C# MCP server locally using the mcp-csharp-debug skill.

Frequently Asked Questions about mcp-csharp-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a C# MCP server locally using dotnet run?

Debug a C# MCP server locally by automating VS Code or Visual Studio IDE setup, enabling step-by-step execution and troubleshooting directly through the dotnet run command.

Why is my C# MCP tool not discovered by the MCP Inspector?

When your C# MCP tool is not discovered by the MCP Inspector, use this skill's troubleshooting guidance to diagnose and fix tool registration, protocol message, and logging issues.

Can I test MCP servers interactively with the MCP Inspector?

Yes, you can test MCP servers interactively with the MCP Inspector. This skill integrates with the Inspector to verify tool functionality and diagnose protocol message issues during local execution.

Does this skill support GitHub Copilot Agent Mode for MCP testing?

Yes, this skill supports GitHub Copilot Agent Mode for MCP testing by verifying that your C# server tools appear and function correctly within the agent environment during local debugging.

What's the best way to set up VS Code for C# MCP server debugging?

Automate VS Code IDE configuration for C# MCP server debugging to ensure the environment correctly handles tool registration and protocol messages, eliminating manual setup errors.