Skip to main content

MCP-Allure

MCP-Allure is a MCP server that reads Allure reports and returns them in LLM-friendly formats.

Motivation

As AI and Large Language Models (LLMs) become increasingly integral to software development, there is a growing need to bridge the gap between traditional test reporting and AI-assisted analysis. Traditional Allure test report formats, while human-readable, aren't optimized for LLM consumption and processing.

MCP-Allure addresses this challenge by transforming Allure test reports into LLM-friendly formats. This transformation enables AI models to better understand, analyze, and provide insights about test results, making it easier to:

  • Generate meaningful test summaries and insights
  • Identify patterns in test failures
  • Suggest potential fixes for failing tests
  • Enable more effective AI-assisted debugging
  • Facilitate automated test documentation generation

By optimizing test reports for LLM consumption, MCP-Allure helps development teams leverage the full potential of AI tools in their testing workflow, leading to more efficient and intelligent test analysis and maintenance.

Problems Solved

  • Efficiency: Traditional test reporting formats are not optimized for AI consumption, leading to inefficiencies in test analysis and maintenance.
  • Accuracy: AI models may struggle with interpreting and analyzing test reports that are not in a format optimized for AI consumption.
  • Cost: Converting test reports to LLM-friendly formats can be time-consuming and expensive.

Key Features

  • Conversion: Converts Allure test reports into LLM-friendly formats.
  • Optimization: Optimizes test reports for AI consumption.
  • Efficiency: Converts test reports efficiently.
  • Cost: Converts test reports at a low cost.
  • Accuracy: Converts test reports with high accuracy.

Installation

To install mcp-repo2llm using uv:

{
  "mcpServers": {
    "mcp-allure-server": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "/Users/crisschan/workspace/pyspace/mcp-allure/mcp-allure-server.py"
      ]
    }
  }
}

Tool

get_allure_report

  • Reads Allure report and returns JSON data
  • Input:
    • report_dir: Allure HTML report path
  • Return:
    • String, formatted JSON data, like this:
{
    "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": [

                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_mcp_allure-0.1.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_mcp_allure-0.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_mcp_allure-0.1.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_mcp_allure-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b16f0d0fc84186b7a943aa7ff76b1195f107e52b0875e5a6f8adcccee4d9cd11
MD5 761d0b71b892680982ec60f9f96f8123
BLAKE2b-256 c8da036a6e77723c3f9e51475e4093aab077b97fde04f91ce0a9e064c18a3c39

See more details on using hashes here.

File details

Details for the file iflow_mcp_mcp_allure-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_mcp_allure-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 822294da69ae5052f99aecf9377c8a2e3857c8f143a038f00f9a67a450e768a4
MD5 bc21f8f37db9f753b9936a3286b9743b
BLAKE2b-256 c87a5d32fef5d0d8933c0fac141da165f4d00dc4774f99ffb299e3fb987f2c06

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page