ghost-qa
Headless browser QA loop that scores a running web app for coding agents
ghost-qa is a free MCP server for browser automation. It runs locally on your machine and is started by your AI client.
- Pricing
- Free
- Platforms
- CLI
- Runs
- Locally
- Version
- 2.1.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add ghost-qa -- npx -y ghost-qaAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"ghost-qa": {
"command": "npx",
"args": [
"-y",
"ghost-qa"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"ghost-qa": {
"command": "npx",
"args": [
"-y",
"ghost-qa"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ghost-qa": {
"command": "npx",
"args": [
"-y",
"ghost-qa"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"ghost-qa": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ghost-qa"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add ghost-qa -- npx -y ghost-qaOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.ghost-qa]
command = "npx"
args = ["-y", "ghost-qa"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ghost-qa": {
"command": "npx",
"args": [
"-y",
"ghost-qa"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "ghost-qa": { "command": "npx", "args": [ "-y", "ghost-qa" ] } } }Or run: gemini mcp add -s user ghost-qa npx -- -y ghost-qa
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "ghost-qa": { "command": "npx", "args": [ "-y", "ghost-qa" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "ghost-qa": { "command": "npx", "args": [ "-y", "ghost-qa" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "ghost-qa": { "command": "npx", "args": [ "-y", "ghost-qa" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "ghost-qa": { "command": "npx", "args": [ "-y", "ghost-qa" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "ghost-qa": { "command": "npx", "args": [ "-y", "ghost-qa" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "ghost-qa": { "command": "npx", "args": [ "-y", "ghost-qa" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "ghost-qa": { "command": "npx", "args": [ "-y", "ghost-qa" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About ghost-qa
Coding agents often report a feature as done without ever opening it in a browser. ghost-qa closes that gap: it launches headless Chromium via Playwright against a dev server, crawls internal routes and clicks through interactive controls, then hands back a structured bug report the agent can act on.
Each run covers three viewports (desktop 1440x900, tablet 768x1024, mobile 375x812) in light and dark colour schemes. Eight inspection traps watch console and framework errors such as React hydration mismatches, failed or CORS-blocked network calls, layout overflow and overlapping controls, accessibility problems, and Core Web Vitals. The findings roll up into a 0-100 health score with an A+ to F grade.
The report is written as GHOST-QA-REPORT.md plus a PATCH-PROMPT.md with exact selectors, and a compare command diffs two runs to show regressions. An init command installs a skill and appends a verify-before-done rule to CLAUDE.md, AGENTS.md and .cursorrules.
What it does
- Multi-viewport crawling
- Crawls internal routes at desktop, tablet and mobile sizes in both light and dark schemes.
- Eight inspection traps
- Captures console, network, layout, accessibility and performance failures from the live page.
- Health score and grade
- Combines findings into a deterministic 0-100 score graded A+ to F.
- Self-healing bug report
- Writes a markdown report and a patch prompt with exact selectors for the agent to fix.
- Regression diffing
- Compares two JSON runs to show what got better and what newly broke.
- Agent protocol installer
- Adds a skill file and a verify-in-browser rule to common agent instruction files.
Good for
- Check a local dev server in a real browser before an agent declares a task finished
- Catch React hydration errors and broken API calls after an AI-generated change
- Find mobile layout overflow and small touch targets
- Gate a CI or agent loop on a minimum QA score
- Prove a fix with a before-and-after comparison
Pricing
Free
Free; installed from npm
ghost-qa FAQ
How do I run ghost-qa?
Start your app, install Chromium with npx playwright install chromium, then run npx -y ghost-qa test http://localhost:3000.
Does ghost-qa need test scripts?
No. The README says it needs no test scripts or config; it crawls the live DOM itself.
Which agents does init support?
It writes a Claude Code skill and appends its protocol to CLAUDE.md, AGENTS.md and .cursorrules, covering Claude Code, Codex, Cursor and Windsurf workflows.
What does a passing run look like?
The loop ends at a score of 95-100, no critical or major findings left, and no new regressions.
Is ghost-qa free?
Yes. ghost-qa is free to use.
How do I add ghost-qa to Claude Code?
Run this command in your terminal: claude mcp add ghost-qa -- npx -y ghost-qa
What are the best alternatives to ghost-qa?
The closest alternatives to ghost-qa are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


