MCP-Allure is a specialized MCP server designed to read Allure test reports and transform them into formats optimized for Large Language Models (LLMs). This tool bridges the gap between traditional test reporting and AI-assisted analysis, enabling more efficient and intelligent test analysis and maintenance.
As AI and LLMs become increasingly integral to software development, there is a growing need to make traditional test reports more accessible to these models. Allure reports, while human-readable, are not optimized for LLM consumption. MCP-Allure addresses this by converting these reports into LLM-friendly formats, enabling:
To install MCP-Allure using uv
, add the following configuration to your setup:
{
"mcpServers": {
"mcp-allure-server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/Users/crisschan/workspace/pyspace/mcp-allure/mcp-allure-server.py"
]
}
}
}
get_allure_report
report_dir
: Path to the Allure HTML report.{
"test-suites": [
{
"name": "test suite name",
"title": "suite title",
"description": "suite description",
"status": "passed",
"start": "timestamp",
"stop": "timestamp",
"test-cases": [
{
"name": "test case name",
"title": "case title",
"description": "case description",
"severity": "normal",
"status": "passed",
"start": "timestamp",
"stop": "timestamp",
"labels": [],
"parameters": [],
"steps": [
{
"name": "step name",
"title": "step title",
"status": "passed",
"start": "timestamp",
"stop": "timestamp",
"attachments": [],
"steps": []
}
]
}
]
}
]
}
MCP-Allure is a tool designed to read and transform Allure test reports, making them more accessible for AI and LLM analysis.