AI QA Agent MCP
This server provides AI clients with tools to analyze Playwright JSON and JUnit XML test results. Capabilities include: discovering test run files, summarizing metrics (pass/fail/skip/timeout/flaky), grouping failures by category, generating bug reports, creating comprehensive QA summaries with release recommendations, accessing the latest test run via test-run://latest, and using the prepare_release_quality_report prompt for structured release analysis.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI QA Agent MCPAnalyze the failures in the latest test run and generate a bug report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI QA Agent MCP
A TypeScript-based Model Context Protocol server that analyzes Playwright JSON and JUnit XML test results and provides structured QA insights to AI clients.
Project Goal
This project demonstrates how an AI client can use MCP tools, resources, and prompts to:
Discover supported test-result files
Normalize Playwright JSON and JUnit XML reports
Calculate test-execution metrics
Analyze failed, timed-out, and flaky tests
Group failures by probable category
Generate structured draft bug reports
Generate Markdown QA execution summaries
Provide advisory release-quality recommendations
Related MCP server: MCP Test Case Generator
Implemented MCP Capabilities
Tools
list_test_runsget_test_run_summaryanalyze_test_failuresgenerate_bug_reportgenerate_qa_summary
Resource
test-run://latest
The resource returns the newest supported report as normalized QA execution data.
Prompt
prepare_release_quality_report
The prompt guides an AI client through a structured release-quality analysis workflow using the available MCP tools.
Supported Report Formats
Playwright JSON
JUnit XML
Both formats are converted into one normalized internal test-result model before analysis.
Technology Stack
Node.js
TypeScript
Model Context Protocol TypeScript SDK
Zod
Fast XML Parser
Vitest
V8 code coverage
Playwright JSON
JUnit XML
MCP Inspector
Codex CLI
GitHub Actions
Architecture
Playwright JSON Reports JUnit XML Reports
| |
+------------+------------+
|
v
Report Parsers
|
v
Normalized Test Results
|
v
QA Analysis Services
|
v
MCP Server
| | |
Tools Resources Prompts
| | |
+---------+---------+
|
v
MCP Inspector or AI ClientProject Structure
ai-qa-agent-mcp/
├── .github/
│ └── workflows/
│ └── qa-validation.yml
├── docs/
├── reports/
├── sample-data/
│ ├── json/
│ │ └── playwright-results.json
│ └── junit/
│ └── junit-results.xml
├── src/
│ ├── config/
│ ├── parsers/
│ ├── prompts/
│ ├── resources/
│ ├── services/
│ ├── tools/
│ ├── types/
│ ├── mcp-server.ts
│ └── server.ts
├── tests/
│ ├── integration/
│ │ └── mcp-server.integration.test.ts
│ └── unit/
├── .gitignore
├── package.json
├── README.md
├── tsconfig.build.json
├── tsconfig.json
└── vitest.config.tsDevelopment Commands
Install dependencies:
npm installRun the server during development:
npm run devCheck TypeScript:
npm run typecheckRun automated tests:
npm testRun tests with coverage:
npm run test:coverageGenerate the production build:
npm run buildRun type checking, automated tests, and the production build:
npm run checkRun type checking, coverage validation, and the production build:
npm run check:coverageMCP Integration Testing
The integration suite creates an MCP server and client connected through the SDK's in-memory transport.
It verifies that an MCP client can:
Discover all five registered tools
Call the JUnit test-run summary tool
Discover and read
test-run://latestDiscover and retrieve
prepare_release_quality_reportExchange normalized QA data through the MCP protocol
The reusable MCP server is created by:
src/mcp-server.tsThe production stdio entry point remains:
src/server.tsContinuous Integration
The QA Validation GitHub Actions workflow runs for:
Pull requests targeting
mainPushes to
mainManual workflow executions
The workflow uses Node.js 24 and runs:
npm ci
npm run check:coverageThe workflow fails when type checking, tests, coverage thresholds, or the production build fail.
Coverage Thresholds
The project enforces these minimum global coverage thresholds:
Metric | Minimum | Current |
Statements | 80% | 82.99% |
Branches | 65% | 70.37% |
Functions | 90% | 92.68% |
Lines | 80% | 82.94% |
Coverage reports are generated in text, JSON summary, and HTML formats.
Generated reports are stored under:
coverage/Example Report Paths
Paths must be relative to the configured approved reports directory.
json/playwright-results.json
junit/junit-results.xmlSecurity Principles
Read-only report access by default
Restricted file-system access
Safe path resolution
Maximum report-size enforcement
Input validation for MCP tools
No automatic issue creation
No secret values in logs
Human review required for AI-generated conclusions
Release recommendations are advisory only
Quality Validation
The project currently includes automated coverage for:
Playwright JSON parsing
JUnit XML parsing
Shared report-format routing
Test-run file discovery
Test-execution metric calculation
Failure analysis
Draft bug-report generation
QA-summary generation
Latest-test-run resource handling
Safe file-path validation
MCP tool discovery and invocation
MCP resource discovery and reading
MCP prompt discovery and retrieval
Current validation result:
17 test files passed
53 tests passed
Coverage thresholds passed
Production build passedCurrent Status
Version 0.1.0 is under active development.
Implemented features include five MCP tools, one MCP resource, one MCP prompt, Playwright JSON support, JUnit XML support, unit and integration test coverage, enforced coverage thresholds, and GitHub Actions CI validation.
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
- AlicenseNot gradedqualityCmaintenanceEnables automated end-to-end testing powered by Playwright where test cases are defined in natural language and executed by AI. Uses lightweight snapshot analysis with vision mode fallback for sophisticated testing scenarios.3Apache 2.0
- FlicenseAqualityDmaintenanceGenerates structured, comprehensive test cases from user stories, API specs, or raw text, with automatic Excel export and Playwright automation code generation.61
- AlicenseNot gradedqualityDmaintenanceAutomates repository analysis, test planning, and generation of end-to-end tests with Playwright, acting as an intelligent quality assistant.15MIT
- AlicenseNot gradedqualityDmaintenanceAutonomously analyzes projects, generates Playwright tests via OpenAI, runs them, classifies failures, and recommends fixes, iterating up to 3 times.56MIT
Related MCP Connectors
Playwright selector risk checks with healing suggestions and receipts.
AI QA tester — real browsers scan sites for bugs, SEO, perf, and accessibility issues via chat.
Browser-backed QA with evidence and fix-ready reports for coding agents.
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/sadi-qa/ai-qa-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server