Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
AI personas navigate your web app in real browsers, find bugs and UX issues. No scripts needed.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
ANTHROPIC_API_KEY, GHOSTQA_ALLOWED_DIRS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ghostqa": {
"command": "uvx",
"args": [
"ghostqa"
],
"env": {
"ANTHROPIC_API_KEY": "your-value",
"GHOSTQA_ALLOWED_DIRS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add ghostqa --env ANTHROPIC_API_KEY=your-value --env GHOSTQA_ALLOWED_DIRS=your-value -- uvx ghostqa运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ghostqa": {
"command": "uvx",
"args": [
"ghostqa"
],
"env": {
"ANTHROPIC_API_KEY": "your-value",
"GHOSTQA_ALLOWED_DIRS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ghostqa": {
"type": "stdio",
"command": "uvx",
"args": [
"ghostqa"
],
"env": {
"ANTHROPIC_API_KEY": "your-value",
"GHOSTQA_ALLOWED_DIRS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
GHOSTQA_ALLOWED_DIRS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 SyncTek-LLC 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:ANTHROPIC_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.2)于9个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Apify MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AI personas walk your app so real users don't trip.
SpecterQA sends AI personas through your application — they look at the screen, decide what to do, and interact like real humans. No test scripts. No selectors. You describe personas and journeys in YAML, and SpecterQA handles the rest.
$ specterqa run -p myapp
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ SpecterQA Run ┃ ┃ Product: myapp Budget: $5.00 Viewport: 1280x720 ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
✓ Step 1/4: Navigate to homepage PASS 3.2s $0.0081 ✓ Step 2/4: Click signup link PASS 2.1s $0.0043 ✓ Step 3/4: Fill registration form PASS 8.7s $0.0312 ✓ Step 4/4: Verify dashboard loads PASS 4.5s $0.0127
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ALL TESTS PASSED ┃ ┃ Steps: 4/4 Findings: 0 Duration: 18.5s Cost: $0.0563 ┃ ┃ Run ID: GQA-RUN-20260222-143052-a1b2 ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Traditional E2E tests are brittle. You write selectors, they break. You maintain scripts, they rot. SpecterQA takes a different approach: AI vision models look at your actual UI and navigate it the way a person would.
You define personas (who is using your app) and journeys (what they're trying to do). SpecterQA's engine takes a screenshot, sends it to a Claude vision model, gets back a decision ("click this button", "fill this field"), executes it via Playwright, takes another screenshot, and repeats until the goal is achieved or something goes wrong.
When something goes wrong, you get evidence: screenshots, UX observations, cost breakdowns, and findings categorized by severity.
SpecterQA is distributed via PyPI and requires Python 3.10 or later.
pip install specterqa
After installing, download the Playwright browser binaries:
specterqa install
For macOS native app testing and iOS Simulator support, install the optional native extra:
pip install specterqa[native]
For MCP server support (integrating SpecterQA as a tool in Claude Desktop, Cursor, or other MCP clients):
pip install specterqa[mcp]
You will also need an Anthropic API key to run tests:
export ANTHROPIC_API_KEY=sk-ant-...
To verify the installation:
specterqa --version
specterqa init # scaffold a sample project specterqa run -p demo
pip install specterqa
specterqa install # downloads Playwright browsers specterqa init # scaffolds .specterqa/ with sample configs specterqa run -p demo # runs the sample journey
You'll need an Anthropic API key:
export ANTHROPIC_API_KEY=sk-ant-...
That's it. Three commands and an API key.
The core loop is simple:
screenshot --> vision model --> action decision --> execute --> repeat
click, fill, navigate, scroll, keyboard, wait, done, or stuck)The persona's profile shapes how the AI behaves. A "tech-savvy developer" explores differently than a "frustrated first-time user." Persona patience, tech comfort, and frustrations all influence the system prompt.
Model routing keeps costs down. Simple actions (click, scroll) use Haiku. Complex actions (form filling, initial assessment) use Sonnet. You can also route simple actions to a local Ollama model (llava:13b) for zero API cost on straightforward navigation.
--junit-xml results.xml and plug it into any CI system.{{persona.credentials.email}} in your journey steps. Variables resolve from persona configs at runtime.SpecterQA uses three types of YAML config files, all living in .specterqa/:
products/myapp.yaml)product:
name: myapp display_name: "My Application" base_url: "http://localhost:3000"
services: frontend: url: "http://localhost:3000" health_endpoint: /
viewports: desktop: width: 1280 height: 720 mobile: width: 375 height: 812
cost_limits: per_run_usd: 5.00
personas/alex-developer.yaml)persona:
name: alex_developer display_name: "Alex Chen" role: "Full-Stack Developer" age: 28 tech_comfort: high patience: medium preferred_device: desktop
goals:
frustrations:
credentials: email: "alex@example.com" password: "TestPass123!"
journeys/onboarding.yaml)scenario:
id: onboarding-happy-path name: "Onboarding Happy Path" description: "New user signs up, completes onboarding, reaches dashboard." tags: [onboarding, critical_path, smoke]
personas:
preconditions:
steps:
See docs/configuration.md for the full reference.
SpecterQA includes a JSON Schema for product YAML files at schemas/product.schema.json.
# yaml-language-server: $schema=../../schemas/product.schema.json
SpecterQA is built for CI. It runs headless by default and returns proper exit codes.
# Basic CI run
specterqa run -p myapp --junit-xml results.xml
specterqa run -p myapp --level smoke --budget 2.00
specterqa run -p myapp --output json > results.json
Exit codes:
0 -- all tests passed1 -- one or more tests failed2 -- configuration error3 -- infrastructure error (missing dependencies, API unreachable)See docs/ci-integration.md for GitHub Actions, GitLab CI, and CircleCI examples.
SpecterQA uses Anthropic's Claude API. Every run costs money. Here's what to expect:
| Model | Role | Input (per 1M tokens) | Output (per 1M tokens) |
|---|---|---|---|
| Claude Haiku 4.5 | Simple navigation | $0.80 | $4.00 |
| Claude Sonnet 4 | Complex reasoning | $3.00 | $15.00 |
| Ollama llava:13b | Local fallback | Free | Free |
Typical costs per run:
The default budget is $5.00 per run. The engine hard-stops if the budget is exceeded -- no silent overruns. You can set per-day and per-month caps too.
You can also set a default budget via an environment variable to avoid passing --budget every time:
export SPECTERQA_BUDGET=2.00
specterqa run -p myapp # uses $2.00 budget specterqa run -p myapp --budget 5.00 # uses $5.00 budget (CLI flag wins)
Model routing helps: simple clicks and scrolls use Haiku (~$0.01 per action), while form fills and initial assessments use Sonnet (~$0.03-0.05 per action). If you have a local Ollama instance, simple actions can route there for zero API cost.
See docs/cost-guide.md for detailed cost breakdowns and budgeting strategies.
SpecterQA isn't web-only. The same persona/journey YAML format works across platforms:
Web apps (default) -- Uses Playwright for browser automation.
macOS native apps -- Uses the macOS Accessibility API via pyobjc. The AI reads the accessibility tree and screenshots, then executes clicks and keypresses through AX actions.
product:
name: my-mac-app app_type: native_macos app_path: /Applications/MyApp.app bundle_id: com.example.myapp
iOS Simulator -- Uses simctl for screenshots and touch simulation. Useful for testing iOS apps without a physical device.
product:
name: my-ios-app app_type: ios_simulator bundle_id: com.example.myiosapp simulator_device: "iPhone 15 Pro" simulator_os: "17.2"
Native and simulator support require the native optional dependency:
pip install specterqa[native]
If you're an AI agent or building agent tooling, SpecterQA provides structured interfaces for programmatic use.
specterqa run -p myapp --output json
Returns structured JSON to stdout:
{
"passed": true, "run_id": "GQA-RUN-20260222-143052-a1b2", "step_reports": [ { "step_id": "visit_homepage", "passed": true, "duration_seconds": 12.3 } ], "findings": [], "cost_usd": 0.4521 }
from specterqa.config import SpecterQAConfig
from sp
只显示了开头部分;其余内容请在仓库中阅读