What problem does it solve? Building an MCP server in C# is only half the work — without automated tests you cannot verify that tools list correctly, return expected results, or survive refactors. This Skill provides a complete testing workflow for .NET MCP servers, from isolated unit tests to full MCP protocol integration tests. ## Core Features & Use Cases - Unit Testing of Tool Methods: Test individual MCP tool methods directly with xUnit, Moq, and FluentAssertions, including mocking HttpClient dependencies via a reusable MockHttpMessageHandler. - Integration Testing via MCP Protocol: Validate tool listing with ListToolsAsync and invocation with CallToolAsync using StdioClientTransport, the SDK's in-memory ClientServerTestBase, or WebApplicationFactory for HTTP servers. - Evaluations for Tool Quality: Design read-only, deterministic, multi-step evaluation questions in XML qa_pair format to measure how well an LLM uses your tools. - Use Case: You just scaffolded a product-catalog MCP server and need CI-ready tests. This Skill walks you through creating the test project, writing unit and integration tests, and adding evaluation questions. ## Quick Start Ask the AI to create unit and integration tests for your C# MCP server project, covering tool listing, tool invocation, and edge cases with xUnit and the MCP client SDK.