MCP Failure Lab for Windsurf
io.github.cloudlabworks/mcp-failure-lab
Deliberately faulty MCP server for testing how agent clients handle tool errors and disconnects.
client:Windsurf
transport:stdio
runtime:oci
Install MCP Failure Lab in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_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>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs