Test how MCP clients handle failures and recover. Run repeatable scenarios against built-in faults or external MCP servers.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add failure-lab -- npx -y mcp-failure-lab~/.codex/config.toml
[mcp_servers.failure-lab]
command = "npx"
args = ["-y", "mcp-failure-lab"]
# codex mcp add failure-lab -- npx -y mcp-failure-lab~/.cursor/mcp.json
{
"mcpServers": {
"failure-lab": {
"command": "npx",
"args": [
"-y",
"mcp-failure-lab"
]
}
}
}.vscode/mcp.json
{
"servers": {
"failure-lab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-failure-lab"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"failure-lab": {
"command": "npx",
"args": [
"-y",
"mcp-failure-lab"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"failure-lab": {
"command": "npx",
"args": [
"-y",
"mcp-failure-lab"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"failure-lab": {
"command": "npx",
"args": [
"-y",
"mcp-failure-lab"
]
}
}
}