mcp-server-factory

diomonogatari/mcp-server-factory
★ 1 stars C# 💻 Code/Dev Tools Updated today
Provides an in-memory test harness for .NET MCP servers, similar to WebApplicationFactory<T> for Web APIs.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-server-factory": {
      "command": "npx",
      "args": [
        "-y",
        "diomonogatari/mcp-server-factory"
      ]
    }
  }
}

README Excerpt

In-memory integration **test harness** for .NET Model Context Protocol (MCP) servers. `McpServerFactory` boots an MCP server in-process, connects a real `McpClient` through in-memory streams, and lets you run realistic integration tests without network ports, Docker, or external services — a testing experience similar in spirit to

Tools (6)

McpAssertMcpServerFactoryOptionsMcpServerIntegrationFactoryMcpTestClientconfigureMcpServerecho

Topics

dotnetintegration-testingmcpmcp-servermodel-context-protocolnugettest-harnesstesting