Test Failure Analysis Server
FreeNot checkedProvides tools to analyze test failures, cluster similar failures, and detect flaky tests from input or log files, helping QA teams debug and triage issues.
About
Provides tools to analyze test failures, cluster similar failures, and detect flaky tests from input or log files, helping QA teams debug and triage issues.
README
This project contains Python MCP servers for QA-oriented test failure analysis, built with FastMCP.
Current Structure
mcp-server-demo/
├── FailureAnalysisFromLogs.py
├── README.md
├── logs/
├── pyproject.toml
├── testFailureAnalysis.py
└── uv.lock
What This Project Includes
testFailureAnalysis.pyanalyze_test_failurecluster_failuresdetect_flaky_tests
FailureAnalysisFromLogs.pyanalyze_test_failure- Reads and classifies local
.logfiles from thelogs/folder
logs/- Sample failure logs used by the log-based MCP server
pyproject.toml- Python version and dependency configuration
uv.lock- Locked dependency versions for reproducible installs
.vscode/mcp.json- MCP server entries for
test-failure-analysis,test-failure-analysis-from-logs, andmcp-atlassian
- MCP server entries for
Prerequisites
- Python
3.11or later uv- Internet access for the first dependency install
Installation
From the repository root:
cd mcp-server-demo
uv sync
Running the Server
Start the input-based MCP server with:
uv run python testFailureAnalysis.py
Start the log-based MCP server with:
uv run python FailureAnalysisFromLogs.py
Available Tools
analyze_test_failure
Analyzes a failed test using the test name, stack trace, and logs, then returns a likely failure category and recommendation.
analyze_test_failure in FailureAnalysisFromLogs.py
Analyzes local .log files from the logs/ folder and returns failure classification, likely root cause, recommendation, and important error lines. It can analyze all logs, a specific test name, or an exact log file name.
cluster_failures
Groups similar failures by stack trace signature so repeated patterns are easier to spot.
detect_flaky_tests
Reviews historical pass/fail results and identifies tests that show flaky behavior.
Optional Local MCP Configuration
The repository root contains .vscode/mcp.json, which can be used by MCP-aware tooling for local server setup during development. It includes entries for test-failure-analysis, test-failure-analysis-from-logs, and mcp-atlassian.
Atlassian MCP
The local MCP configuration includes an mcp-atlassian server entry for Jira access.
How to use it
Use the configured mcp-atlassian entry from .vscode/mcp.json in your MCP-aware client.
To run it manually, use:
JIRA_URL=<your-jira-url> \
JIRA_USERNAME=<your-jira-username> \
JIRA_API_TOKEN=<your-jira-api-token> \
uvx mcp-atlassian
Troubleshooting
- If
uvis not available, install it and reopen the terminal. - If dependency installation fails, confirm Python
3.11+is active. - If the server does not start, run
uv syncagain insidemcp-server-demo.
Work Flow Image in Image folder at image/project-workflow.png
Install Test Failure Analysis Server in Claude Desktop, Claude Code & Cursor
unyly install mcp-test-failure-analysis-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add mcp-test-failure-analysis-server -- uvx mcp-server-demoStep-by-step: how to install Test Failure Analysis Server
FAQ
Is Test Failure Analysis Server MCP free?
Yes, Test Failure Analysis Server MCP is free — one-click install via Unyly at no cost.
Does Test Failure Analysis Server need an API key?
No, Test Failure Analysis Server runs without API keys or environment variables.
Is Test Failure Analysis Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Test Failure Analysis Server in Claude Desktop, Claude Code or Cursor?
Open Test Failure Analysis Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
by Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
by hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
by profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
by waystation-aiCompare Test Failure Analysis Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
