MCP Failure Lab for Claude Desktop
io.github.cloudlabworks/mcp-failure-lab
Deliberately faulty MCP server for testing how agent clients handle tool errors and disconnects.
client:Claude Desktop
transport:stdio
runtime:oci
Install MCP Failure Lab in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mcp-failure-lab": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2"
],
"env": {
"LAB_SCENARIO": "<LAB_SCENARIO>",
"LAB_DELAY_MS": "<LAB_DELAY_MS>",
"LAB_FAILURES": "<LAB_FAILURES>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs