Skip to content
Cursor

MCP Failure Lab for Cursor

io.github.cloudlabworks/mcp-failure-lab

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

client:Cursor transport:stdio runtime:oci

Install MCP Failure Lab in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

MCP Failure Lab in other clients