qa-mcp-server
Can run an allow-listed Gradle test command and parse the JUnit XML / Gradle test reports it produces, then triage failures, score release readiness and track flaky tests.
Parses Jest-junit XML reports so the server can summarize totals, group failures by root cause, and classify them as assertion, timeout, locator, network, server-error, auth, contract or test-data issues.
Supports running pytest (as an allow-listed binary) and reading its JUnit XML output to report failures, readiness per feature area and flaky test history.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
qa-mcp-server
An MCP (Model Context Protocol) server that gives AI assistants real QA tools. Connect it to Claude Desktop, Claude Code or Cursor and ask things like:
"Run the checkout tests, tell me if we can release, and draft bug reports for anything that's a real defect."
The assistant then calls tools that run your suite, read the report, group failures by root cause, score readiness per feature area, track flaky tests across runs and draft bug reports. The tools do the deterministic work; the model does the reasoning and the conversation.
It reads Playwright JSON and JUnit XML (Maven Surefire, Gradle, pytest, Jest-junit…), so it works with most stacks.
Tools
Tool | What it returns |
| Runs an allow-listed test command (no shell), then readiness + triage of the report it wrote |
| Totals plus every failed/flaky test with its error |
| Failures grouped by normalised error signature, classified as assertion, timeout, locator, network, server-error, auth, contract or test-data, each with a likely cause and next step |
| Readiness % per feature area (flaky counts as half a pass) and a READY / AT RISK / NOT READY verdict; critical areas block release |
| Stores outcomes across runs and ranks tests by how often they flip between pass and fail |
| A bug report for one failure; unknown details are left as |
Resource: qa://history/flaky (JSON).
Related MCP server: QA Copilot MCP Server
Example (real output from the bundled fixture)
readiness_score with criticalAreas: ["checkout"]:
## Release readiness: 43.8% — NOT READY
| Area | Readiness | Passed | Failed | Flaky | Skipped |
| ❌ api | 33.3% | 1 | 2 | 0 | 0 |
| ❌ checkout | 50% | 1 | 1 | 1 | 0 |
| ❌ auth | 50% | 1 | 1 | 0 | 1 |
Blockers
- checkout: [chromium] shows error for declined cardtriage_failures turns 5 failures into 4 groups, so the two 503 Service Unavailable errors become one environment issue instead of two bug tickets:
### 1. server-error — 2 test(s)
- Likely cause: Backend error or unhealthy environment, not the test.
- Next step: Check service logs and environment health; retry once before filing a product bug.
### 2. assertion — 1 test(s) Expected "Card declined", received "Something went wrong"
### 3. timeout — 1 test(s) applies voucher (flaky)
### 4. locator — 1 test(s) locator.click timeout on getByTestId('login-button')The CI job runs the same demo through a real MCP client and posts the output to the job summary.
Setup
git clone https://github.com/fauzanfzn/qa-mcp-server && cd qa-mcp-server
npm ci && npm run buildClaude Code
claude mcp add qa -e QA_MCP_ROOT=/path/to/your/project -- node /path/to/qa-mcp-server/dist/index.jsClaude Desktop / Cursor (claude_desktop_config.json or .cursor/mcp.json)
{
"mcpServers": {
"qa": {
"command": "node",
"args": ["/path/to/qa-mcp-server/dist/index.js"],
"env": { "QA_MCP_ROOT": "/path/to/your/project" }
}
}
}For Playwright, add the JSON reporter, e.g. reporter: [['json', { outputFile: 'results.json' }]].
Safety by design
An AI client should get useful tools, not a shell.
No shell, allow-listed binaries only.
run_testsspawns the command with an argument array, so nothing is interpolated. Allowed binaries come fromQA_MCP_ALLOWED_COMMANDS(defaultnpx,npm,pnpm,yarn,mvn,gradle,pytest).Files stay inside the project. Every path is resolved against
QA_MCP_ROOT;../../etc/passwdis rejected (there is a test for it).No invented facts. Bug reports leave unknown steps and expected results as
TODOfor a human to confirm.
Variable | Default |
| current directory |
|
|
|
|
|
|
Tests
npm test15 tests: unit tests for parsers, triage rules, readiness and flaky history, plus end-to-end tests that start the server over stdio and call it with the official MCP client, exactly as Claude would. CI runs them on Node 20 and 22.
Related
ai-qa-automation-framework: Playwright + TypeScript framework (UI, API contracts, visual, LLM evaluation)
java-api-test-framework: Java + REST Assured + JUnit 5 + Allure
Portfolio: fauzanfzn.github.io
Built by Muhammad Nur Fauzan, QA Automation Engineer / SDET.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Direct access to Cypress tests results and accessibility reports in your AI workflow.
Test analytics for AI agents: test history, flaky tests, failure clusters, coverage.
Approved test intent, reviewed Playwright automation and run evidence, inside your editor.
Write, run and check natural-language browser tests of your web app from your AI assistant.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to create, run, autocorrect, and monitor Playwright tests for your app with a local dashboard, credential vault, and public status page.16MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to summarize Playwright test runs, identify flaky tests, heuristically triage failures, generate Playwright test stubs, and retrieve recent GitHub CI status through MCP tool calls.5MIT
- AlicenseAqualityBmaintenanceEnables AI coding assistants to generate, score, run, and auto-heal Playwright E2E tests while enforcing domain-driven page object architecture and anti-flakiness rules.8MIT
- AlicenseAqualityBmaintenanceGives AI assistants structured access to a test automation stack so they can run suites, inspect failure details and captured output, look up test data, and file Jira bugs (or drafts) only for confirmed defects. It works with any framework that emits JUnit XML, letting assistants triage flaky, environment, and test-data issues alongside real product defects.6MIT