Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Test C# MCP servers at multiple levels: unit tests for individual tools and integration tests using the MCP client SDK. USE FOR: unit testing MCP tool methods, integration testing with in-memory MCP client/server, end-to-end testing via MCP protocol, testing HTTP MCP servers with WebApplicationFactory, mocking dependencies in tool tests, creating evaluations for MCP servers, writing eval questions, measuring tool quality. DO NOT USE FOR: testing MCP clients (this is server testing only), load or
Use this skill ↓50% 82%+32 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 11 of 22 without it.
Where in the project documentation can I find guidelines and detailed examples for writing LLM evaluation questions for our C# MCP server tools?
References references/evaluations.md.
3 of 3 safety checks passed
Test MCP servers at two levels: unit tests for individual tool methods, and integration tests that exercise the full MCP protocol in-memory.
mcp-csharp-create firstmcp-csharp-debugmcp-csharp-debug for MCP Inspector| Input | Required | Description |
|---|---|---|
| MCP server project path | Yes | Path to the server .csproj being tested |
| Test framework | Recommended | Default: xUnit. Also supports NUnit or MSTest |
| Transport type | Recommended | Determines integration test approach (stdio vs HTTP) |
dotnet new xunit -n <ServerName>.Tests
cd <ServerName>.Tests
dotnet add reference ../<ServerName>/<ServerName>.csproj
dotnet add package ModelContextProtocol
dotnet add package Moq
dotnet add package FluentAssertions
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.