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

Canonical source : [.NET and AI agents: guiding diagnostics with MCP and SKILL.md](<https://sebastien.rigaux.be/en/tech-watch/links/net-and-ai-agents-guiding-diagnostics-with-mcp-and-skillmd>)

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.

- Selected on : 2026-11-20

- Resource publication : 2026-06-08

- Entry updated : 2026-11-20T03:13:56+0000

- Format : Article

- Source language : EN

- Credit : Christophe Nasarre

- Found via : [C\# Digest](<https://csharpdigest.net/>)

Original resource : [.NET and AI agents: guiding diagnostics with MCP and SKILL.md](<https://chrisnas.github.io/posts/2026-06-08_dotnet-cli-tools-in-the-ai-fury/>)

Tags : [.NET](<https://sebastien.rigaux.be/en/tech-watch/tags/dotnet>) · [AI Agents](<https://sebastien.rigaux.be/en/tech-watch/tags/ai-agents>) · [MCP](<https://sebastien.rigaux.be/en/tech-watch/tags/mcp>) · [Developer Experience](<https://sebastien.rigaux.be/en/tech-watch/tags/developer-experience>) · [Prompt Engineering](<https://sebastien.rigaux.be/en/tech-watch/tags/prompt-engineering>) · Software diagnostics

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/net-et-agents-ia-guider-les-diagnostics-avec-mcp-et-skillmd>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/net-and-ai-agents-guiding-diagnostics-with-mcp-and-skillmd>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
