MCP directory
MF

MCP Failure Lab

by github.com/cloudlabworks · v0.1.2 · updated Nov 3, 2026

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

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2

Environment variables

  • LAB_SCENARIO

    Fault to inject: healthy, tool-error, transient-error, delay, malformed, or disconnect

  • LAB_DELAY_MS

    Delay in milliseconds for the delay scenario (0 to 10000)

  • LAB_FAILURES

    Failing calls before success for the transient-error scenario (0 to 10)

More from github.com/cloudlabworks

More MCP servers