Ghost Qa logo

Ghost Qa

Headless browser QA for live web apps, covering runtime errors, network failures, responsive layouts, accessibility, performance, and regressions.

Install Ghost Qa

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for ghost-qa, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

ghost-qa runs Playwright-based headless browser checks against a live web application and returns structured diagnostics for coding agents. It crawls internal routes across desktop, tablet, and mobile viewports in light and dark modes, exercises interactive controls, and evaluates browser-observed failures. Checks include console and network errors, responsive layout, accessibility, performance, links, and SEO-related issues. Reach for it when an agent needs repeatable browser verification without writing test scripts.

Use cases

  • Verify a local web app after an agent edits its code
  • Find responsive layout failures across mobile, tablet, and desktop
  • Check accessibility and keyboard focus before release
  • Compare QA results before and after a fix
  • Generate selector-based repair guidance for coding agents

Key features

  • Eight-trap headless browser inspection
  • Desktop, tablet, and mobile coverage
  • Light and dark color-scheme testing
  • QA Health Score with A+ to F grades
  • Markdown and JSON regression diagnostics
  • Agent initialization for browser verification workflows

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars60Stargazers on the source repository.
Last commit18d agoMost recent push to the default branch.

How Ghost Qa works

What ghost-qa does

ghost-qa verifies a running web application from the browser’s perspective. Its inspection loop crawls internal routes, exercises interactive controls, and records problems that may not appear in source-level checks. Runs cover desktop at 1440×900, tablet at 768×1024, and mobile at 375×812, with both light and dark color schemes.

The results are converted into a deterministic QA Health Score from 0 to 100 with grades from A+ to F. Diagnostic output includes GHOST-QA-REPORT.md and PATCH-PROMPT.md; the latter is intended to give a coding agent exact selectors and a repair path. Regression checks can compare two JSON result files.

How it works

The test command launches a headless browser against the supplied application URL. During route crawling and interaction checks, ghost-qa observes the live DOM, browser console, requests, layout geometry, accessibility properties, and timing data.

Its inspection engine includes traps for runtime and framework errors, HTTP and asset failures, responsive layout problems, WCAG 2.1 AA and keyboard focus issues, performance and Core Web Vitals signals, and link integrity. Examples include React hydration errors, failed fetches, CORS failures, horizontal overflow, overlapping controls, missing accessible names, contrast problems, slow page loads, oversized resources, placeholder links, and dead routes.

A typical repair loop is to run a scan, give the generated report to the coding agent, apply fixes, and run the scan again. compare before.json after.json can check that a change improves the result without introducing new regressions. The documented completion target is a score of 95–100, no critical or major findings, and no new regressions.

Setup and configuration

Use Node.js 20 or newer. Start the application normally, then install the Chromium browser used by Playwright:

Terminal
npm run dev
npx playwright install chromium
npx -y ghost-qa@latest test http://localhost:3000

The package can also be run directly from its GitHub repository with npx -y github:avivgerz-hue/ghost-qa .... No test scripts or configuration file are required for the basic scan.

ghost-qa init adds a .claude/skills/ghost-qa/SKILL.md file and appends a browser-verification protocol to CLAUDE.md, AGENTS.md, and .cursorrules. This supports workflows where an agent runs verification before reporting a task complete.

Tools and capabilities

  • Crawl internal routes and inspect the rendered application in a headless browser.
  • Test desktop, tablet, and mobile viewport behavior in light and dark modes.
  • Capture console errors, promise rejections, hydration mismatches, network failures, CORS problems, and broken assets.
  • Detect overflow, collisions, undersized or off-screen controls, missing viewport metadata, and clipped content.
  • Check accessible names, image alternatives, form labels, contrast, heading structure, document metadata, and keyboard focus order.
  • Produce scored reports, agent-oriented repair prompts, and before-and-after regression comparisons.

Limitations and notes

ghost-qa tests a running web application, so the application must be available at a URL before test is run. Chromium must be installed through Playwright before the first browser run. Findings are based on the configured inspection scenarios and browser-observable behavior; the documented workflow focuses on internal routes and the listed viewport and color-scheme combinations.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ghost Qa

ghost-qa is an MCP server that connects coding agents to a running web application through a Playwright headless browser. Its main commands are test for route crawling and browser inspection, init for adding agent verification guidance, and compare for checking before-and-after JSON results and regressions.

Run it with npx rather than installing a project dependency: `npx -y ghost-qa@latest test http://localhost:3000`. Install Node.js 20 or newer, start the application, and run `npx playwright install chromium` before the first browser scan.

Yes. ghost-qa documents Cursor as a supported coding-agent workflow and can append its browser-verification protocol to `.cursorrules` when you run `npx -y ghost-qa init`. Cursor can use the generated reports and selector-based repair prompts during the fix-and-rerun loop.

Start the app and pass its local URL to the `test` command, such as `npx -y ghost-qa@latest test http://localhost:3000`. The scan opens the app in Chromium, crawls internal routes, tests multiple viewport and color-scheme combinations, and writes diagnostic results.

Run `ghost-qa compare before.json after.json` with the two result files. The comparison checks whether the fix improves the score and introduces no new regressions, supporting an agent loop that repeats testing until the documented passing criteria are met.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGhost Qa AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ghost-qa?style=directory)](https://allmcps.com/mcp/ghost-qa)
HTML Embed
<a href="https://allmcps.com/mcp/ghost-qa"><img src="https://allmcps.com/api/badge/ghost-qa?style=directory" alt="Ghost Qa on AllMCPs" /></a>