Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by gabry-ts • Uncategorized
An in-memory testing toolkit for MCP servers in TypeScript that enables fast and reliable testing without IO or subprocesses.
Fast, reliable in-memory testing of MCP servers without subprocess overhead.
Assert on MCP tool calls, resources, and prompts in automated test suites.
Test compiled MCP servers via subprocess with access to stderr for debugging.
mcp-harness provides a fast, in-memory test harness for MCP servers, allowing direct connection to McpServer instances without the need for child processes, ports, or IO. It simplifies testing by enabling instant startup and easy assertions on tool calls, resources, and prompts. The toolkit supports both in-memory and subprocess modes, making it flexible for different testing scenarios and integrates well with popular test frameworks through assertion helpers.