MCP Failure Lab
io.github.cloudlabworks/mcp-failure-lab
v0.1.2Updated Nov 3, 2026stdio · Docker
Deliberately faulty MCP server for testing how agent clients handle tool errors and disconnects.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add mcp-failure-lab -e LAB_SCENARIO=healthy -e LAB_DELAY_MS=1000 -e LAB_FAILURES=2 -- docker run -i --rm -e LAB_SCENARIO -e LAB_DELAY_MS -e LAB_FAILURES ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2Configuration
3 settings.
LAB_SCENARIOEnv var· optionalFault to inject: healthy, tool-error, transient-error, delay, malformed, or disconnectDefault:healthyLAB_DELAY_MSEnv var· optionalDelay in milliseconds for the delay scenario (0 to 10000)Default:1000LAB_FAILURESEnv var· optionalFailing calls before success for the transient-error scenario (0 to 10)Default:2
Links
Listed in the official MCP Registry since Nov 3, 2026. Mirrored daily; last checked Nov 26, 2026.