MCP Test Failure Analysis Server
MCPサーバーデモ
このプロジェクトには、FastMCPで構築されたQA向けのテスト失敗分析用Python MCPサーバーが含まれています。
現在の構造
mcp-server-demo/
├── FailureAnalysisFromLogs.py
├── README.md
├── logs/
├── pyproject.toml
├── testFailureAnalysis.py
└── uv.lockRelated MCP server: mcp-log-analyzer
このプロジェクトに含まれるもの
testFailureAnalysis.pyanalyze_test_failurecluster_failuresdetect_flaky_tests
FailureAnalysisFromLogs.pyanalyze_test_failurelogs/フォルダー内のローカルの.logファイルを読み込み、分類します
logs/ログベースのMCPサーバーで使用されるサンプル失敗ログ
pyproject.tomlPythonのバージョンと依存関係の設定
uv.lock再現可能なインストールを行うための固定された依存関係バージョン
.vscode/mcp.jsontest-failure-analysis、test-failure-analysis-from-logs、およびmcp-atlassian用のMCPサーバーエントリ
前提条件
Python
3.11以降uv初回依存関係インストール時のインターネット接続
インストール
リポジトリのルートから以下を実行します:
cd mcp-server-demo
uv syncサーバーの実行
入力ベースのMCPサーバーを起動するには:
uv run python testFailureAnalysis.pyログベースのMCPサーバーを起動するには:
uv run python FailureAnalysisFromLogs.py利用可能なツール
analyze_test_failure
テスト名、スタックトレース、ログを使用して失敗したテストを分析し、考えられる失敗のカテゴリと推奨事項を返します。
FailureAnalysisFromLogs.py の analyze_test_failure
logs/フォルダー内のローカルの.logファイルを分析し、失敗の分類、考えられる根本原因、推奨事項、および重要なエラー行を返します。すべてのログ、特定のテスト名、または正確なログファイル名を指定して分析できます。
cluster_failures
スタックトレースのシグネチャごとに類似の失敗をグループ化し、繰り返されるパターンを見つけやすくします。
detect_flaky_tests
過去の成功/失敗の結果を確認し、不安定な動作(flaky)を示すテストを特定します。
オプションのローカルMCP設定
リポジトリのルートには.vscode/mcp.jsonが含まれており、開発中のローカルサーバー設定のためにMCP対応ツールで使用できます。これにはtest-failure-analysis、test-failure-analysis-from-logs、およびmcp-atlassianのエントリが含まれています。
Atlassian MCP
ローカルのMCP設定には、Jiraアクセス用のmcp-atlassianサーバーエントリが含まれています。
使用方法
MCP対応クライアントで、.vscode/mcp.jsonから設定済みのmcp-atlassianエントリを使用してください。
手動で実行するには、以下を使用します:
JIRA_URL=<your-jira-url> \
JIRA_USERNAME=<your-jira-username> \
JIRA_API_TOKEN=<your-jira-api-token> \
uvx mcp-atlassianトラブルシューティング
uvが利用できない場合は、インストールしてからターミナルを再起動してください。依存関係のインストールが失敗する場合は、Python
3.11+がアクティブであることを確認してください。サーバーが起動しない場合は、
mcp-server-demo内で再度uv syncを実行してください。
image/project-workflow.png にあるワークフロー画像
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables intelligent analysis of regression test failures and automatic discovery of solutions in JIRA. Analyzes test logs using AI-driven algorithms and matches errors with relevant JIRA issues through natural language interactions.
- AlicenseNot gradedqualityDmaintenanceAnalyzes log files locally using Ollama and files structured GitHub Issues automatically, with all processing kept on your machine.1MIT
- AlicenseAqualityAmaintenanceProvides tools to analyze and debug GitHub Actions CI failures, including summarizing failures, detecting flaky tests, and suggesting fixes.10161ISC
- FlicenseNot gradedqualityDmaintenanceProvides tools to analyze and compare JVM thread dumps, summarizing thread states and detecting deadlocks.
Related MCP Connectors
Flaky test detection, root cause analysis, and fix suggestions for development teams.
BuildPulse CI test analytics for AI agents — flaky tests, coverage, and CI run history.
Synthesize GitHub Issues, HN and App Store reviews into ranked pain clusters. Pay-per-call x402.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rudrathkr/MCPServerCreationPythonSDK'
If you have feedback or need assistance with the MCP directory API, please join our Discord server