{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.cloudlabworks/mcp-failure-lab",
  "slug": "io.github.cloudlabworks.mcp-failure-lab",
  "title": "MCP Failure Lab",
  "summary": "Deliberately faulty MCP server for testing how agent clients handle tool errors and disconnects.",
  "version": "0.1.2",
  "serverKey": "mcp-failure-lab",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.cloudlabworks.mcp-failure-lab",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.cloudlabworks.mcp-failure-lab/install.md",
  "trust": {
    "score": 79,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T09:15:42.22041864Z"
  },
  "methods": [
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-failure-lab -- docker run -i --rm ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-failure-lab\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-failure-lab\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"mcp-failure-lab\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2\"\n      ],\n      \"command\": \"docker\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-failure-lab]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"ghcr.io/cloudlabworks/mcp-failure-lab:0.1.2\"]"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "LAB_SCENARIO",
      "required": false,
      "secret": false,
      "description": "Fault to inject: healthy, tool-error, transient-error, delay, malformed, or disconnect",
      "help": "Fault to inject: healthy, tool-error, transient-error, delay, malformed, or disconnect",
      "default": "healthy",
      "placeholder": "healthy"
    },
    {
      "name": "LAB_DELAY_MS",
      "required": false,
      "secret": false,
      "description": "Delay in milliseconds for the delay scenario (0 to 10000)",
      "help": "Delay in milliseconds for the delay scenario (0 to 10000)",
      "default": "1000",
      "placeholder": "1000"
    },
    {
      "name": "LAB_FAILURES",
      "required": false,
      "secret": false,
      "description": "Failing calls before success for the transient-error scenario (0 to 10)",
      "help": "Failing calls before success for the transient-error scenario (0 to 10)",
      "default": "2",
      "placeholder": "2"
    }
  ],
  "expectedTools": [
    "lab_probe"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: lab_probe.",
    "If it fails, check that the required runtime is installed (Docker) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T09:15:42.22041864Z"
}
