Skip to content
Claude Code

MCP Failure Lab for Claude Code

io.github.cloudlabworks/mcp-failure-lab

Deliberately faulty MCP server for testing how agent clients handle tool errors and disconnects.

client:Claude Code transport:stdio runtime:oci

Install MCP Failure Lab in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add mcp-failure-lab -e LAB_SCENARIO=<LAB_SCENARIO> -e LAB_DELAY_MS=<LAB_DELAY_MS> -e LAB_FAILURES=<LAB_FAILURES> -- docker run -i --rm ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

MCP Failure Lab in other clients