Sébastien Rigaux

.NET and AI agents: guiding diagnostics with MCP and SKILL.md

View resource

chrisnas.github.io

To let an AI agent investigate .NET incidents, this article compares two ways to connect diagnostic tools: expose tools you own as an MCP server, or describe a workflow in a SKILL.md file to drive existing tools without changing them.

The MCP server provides typed tools and workflow prompts; a skill relies on shell commands and their text output. The memory-diagnostics example shows how to guide an investigation step by step, using non-interactive SOS commands and guardrails before risky actions.

Diagram of exchanges between the user, models, the Agent Harness, and the environment: prompts, tool calls, and responses flow through Skills components and MCP servers.