Skip to main content

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.2

Configuration

3 settings.

  • LAB_SCENARIO
    Env var· optional
    Fault to inject: healthy, tool-error, transient-error, delay, malformed, or disconnectDefault: healthy
  • LAB_DELAY_MS
    Env var· optional
    Delay in milliseconds for the delay scenario (0 to 10000)Default: 1000
  • LAB_FAILURES
    Env var· optional
    Failing calls before success for the transient-error scenario (0 to 10)Default: 2

Listed in the official MCP Registry since Nov 3, 2026. Mirrored daily; last checked Nov 26, 2026.