Deliberately faulty MCP server for testing how agent clients handle tool errors and disconnects.
Connect Runs on your machine
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
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"servers": {
"mcp-failure-lab": {
"type": "stdio",
"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>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
LAB_SCENARIOOptional | Fault to inject: healthy, tool-error, transient-error, delay, malformed, or disconnect |
LAB_DELAY_MSOptional | Delay in milliseconds for the delay scenario (0 to 10000) |
LAB_FAILURESOptional | Failing calls before success for the transient-error scenario (0 to 10) |
Details
| Package | ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2 (OCI, stdio) |
| First published | 3 Nov 2026 |
| Last updated | 3 Nov 2026 |
| Registry name | io.github.cloudlabworks/mcp-failure-lab |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
