Flexible test report framework.
## Allure MCP Server: Test Reporting Framework The **Allure MCP Server** integrates the powerful Allure test reporting framework into Google Antigravity, providing beautiful, interactive test reports with detailed execution data, attachments, and historical trends. ### Why Allure MCP? - **Rich Reporting**: Generate comprehensive, visually appealing test reports with screenshots, logs, and attachments - **Framework Agnostic**: Works with JUnit, TestNG, Pytest, Jest, Mocha, and virtually any testing framework - **Historical Trends**: Track test results over time with trend graphs and regression analysis - **Categorization**: Organize test failures by defect categories for easier triage and debugging - **CI/CD Integration**: Seamlessly integrate with Jenkins, GitHub Actions, GitLab CI, and other CI platforms ### Key Features #### 1. Report Generation ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Generate Allure report from the latest test run and highlight failed tests by category" }] ) ``` #### 2. Test Analysis ```python # Analyze test results response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show test duration trends for the authentication suite over the past 30 days" }] ) ``` #### 3. Attachment Management ```python # Handle test attachments response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Extract screenshots from failed UI tests and compare with baseline images" }] ) ``` #### 4. History Comparison ```python # Compare test runs response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Compare test results between release branches and identify new failures" }] ) ``` ### Configuration ```json { "mcpServers": { "allure": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-allure"], "env": { "ALLURE_RESULTS_DIR": "./allure-results", "ALLURE_REPORT_DIR": "./allure-report" } } } } ``` ### Use Cases **Test Visibility**: Provide stakeholders with clear, visual test execution reports that communicate quality status effectively. **Failure Investigation**: Quickly investigate test failures with attached logs, screenshots, and step-by-step execution traces. **Quality Metrics**: Track test reliability metrics over time to identify flaky tests and measure improvement. **Release Readiness**: Generate comprehensive quality reports for release sign-off and compliance documentation. The Allure MCP Server transforms raw test data into actionable insights, enabling teams to understand and improve their test quality systematically.
{
"mcpServers": {
"allure": {}
}
}