Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Screen-reader navigation cost analyzer. Scores AT user effort to find, reach, and operate content.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"tactual": {
"command": "npx",
"args": [
"-y",
"tactual"
]
}
}
}在终端中运行这条命令
claude mcp add tactual -- npx -y tactual粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"tactual": {
"command": "npx",
"args": [
"-y",
"tactual"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"tactual": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tactual"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 tactual-dev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.1)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, SuperCollider
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Screen-reader navigation cost analyzer. Measures how many keystrokes a screen-reader user needs to discover, reach, and operate every interactive target on your page — under a specific AT profile (NVDA, JAWS, VoiceOver).
Existing accessibility tools check conformance — is the ARIA correct? Is the contrast ratio sufficient?
Tactual measures navigation cost — how many actions does it take a screen-reader user to reach the checkout button? What happens if they overshoot? Can they even discover it exists? Does the menu actually open on Enter, or only on click? Does focus land on the first menuitem or stay stuck on the trigger?
How it works:
@guidepup/virtual-screen-reader for calibrationTactual is a developer tool for analyzing your own sites and staging environments. Run it locally, in CI, or via the MCP server in your editor. It is not a public scanning service.
Tactual complements conformance scanners such as axe-core, Lighthouse, and Pa11y. Those tools are still the right first pass for broad WCAG and ARIA rule coverage. Tactual is aimed at the next question: after a page has valid markup, how expensive is it for an AT user to discover, reach, and operate the important targets?
Use Tactual for screen-reader navigation-cost triage, path tracing, measured keyboard/widget evidence, before/after diffs, CI prioritization, and MCP workflows where an agent needs compact findings with source selectors and remediation candidates. Use real screen readers and manual testing for final validation of critical journeys, timing-sensitive flows, browser/AT settings, and implementation patterns that intentionally differ from a common APG example.
Agent quick path: this README is a product overview plus reference. Agents should start with docs/AGENT-RECIPES.md for task patterns and docs/MCP-TOOLS.md for full MCP schemas, then come back here only for product context, install notes, and release-surface examples.
Requires Node.js 20 or later.
npm install tactual
Tactual installs Playwright as a runtime dependency so one-off npx tactual@latest ... commands work without separately installing Playwright into the npx cache. The MCP SDK also ships as a runtime dependency, so tactual-mcp works from an installed tactual package without a separate SDK install.
# Analyze a URL (default profile: generic-mobile-web-sr-v0)
npx tactual analyze-url https://example.com
npx tactual analyze-url https://example.com --profile voiceover-ios-v0
npx tactual analyze-url https://example.com --explore
npx tactual analyze-url https://shop.com --preset ecommerce-checkout npx tactual analyze-url https://docs.example.com --preset docs-site
npx tactual analyze-url https://example.com --format json --output report.json npx tactual analyze-url https://example.com --format sarif --output report.sarif
npx tactual diff-results baseline.json candidate.json npx tactual diff-results baseline.json candidate.json --format json
npx tactual transcript https://example.com npx tactual transcript https://example.com --at voiceover
npx tactual profiles npx tactual presets
npx tactual benchmark npx tactual benchmark --suite all
Benchmark fixtures ship with the npm package, so the benchmark command works from a fresh install and does not require cloning the repository fixtures into your current directory.
npx tactual validate-url https://example.com --max-targets 10 --strategy semantic
npx tactual init
npx tactual analyze-url https://www.npmjs.com/ --stealth --channel chrome
npx tactual analyze-url https://docs.example.com --probe --explore --probe-mode deep
npx tactual analyze-url https://app.example.com/settings \ --probe \ --entry-selector "[aria-controls='profile-dialog']" \ --probe-strategy modal-return-focus
npx tactual analyze-url https://example.com --validate --validate-max-targets 10
Console output includes a compacted path line for each finding showing how a screen-reader user reaches it:
██████░░ 70 link:reference structural
D:47 R:71 O:100 Rec:100 getByRole('link', { name: 'Reference' }) ↪ Tab ×2 "v19.2" → K "Learn" → Tab "Reference" → Target is not efficiently reachable via heading or landmark navigation
Where Tab = nextItem, H = nextHeading, ; = nextLandmark, K = nextLink, B = nextButton, Enter = activate. Consecutive same-action steps collapse (Tab ×2).
For accessibility work in a local app or preview environment, Tactual supplies evidence for small, reviewable changes:
selector, penalties, suggestedFixes, and evidence summaries on each findingissueGroups and remediation candidates in summarized outputanalyze_pages.site.repeatedNavigation for repeated navigation cost across routesdiff-results / diff_results for before-and-after verificationStart with broad triage, then deepen one route before changing code:
# Site-level triage. Redirect JSON for tool consumption.
npx tactual analyze-pages \ https://app.example.com/ \ https://app.example.com/docs \ https://app.example.com/settings \ --profile nvda-desktop-v0 \ --format json > tactual-site.json
npx tactual analyze-url https://app.example.com/docs \ --profile nvda-desktop-v0 \ --explore --probe --probe-mode standard \ --format markdown --output tactual-report.md
npx tactual analyze-url https://app.example.com/docs \ --profile nvda-desktop-v0 \ --probe \ --entry-selector "[aria-controls='search-panel']" \ --probe-selector "#search-panel" \ --probe-strategy composite-widget \ --format markdown --output tactual-search-panel.md
npx tactual analyze-url https://app.example.com/docs --explore --probe --format json --output baseline.json
npx tactual analyze-url https://app.example.com/docs --explore --probe --format json --output candidate.json npx tactual diff-results baseline.json candidate.json
Use the candidate section as a starting point for repeated root causes such as a shared component, navigation pattern, or widget contract. Confirm the source component and include the route, command, finding evidence, user impact, code change, and verification in whatever issue or PR format the project expects. Score movement is useful supporting evidence, but the change should lead with the accessibility behavior that changed.
MCP clients can consume the same compact output and keep the review loop grounded in routes, selectors, evidence, source changes, and before/after verification.
import { analyze, getProfile } from "tactual";
import { captureState } from "tactual/playwright"; import { chromium } from "playwright";
const browser = await chromium.launch(); const page = await browser.newPage(); await page.goto("https://example.com");
const state = await captureState(page); await browser.close();
const profile = getProfile("generic-mobile-web-sr-v0"); const result = analyze([state], profile);
for (const finding of result.findings) { console.log(finding.targetId, finding.scores.overall, finding.severity); }
Screen-reader announcement simulator — predict what NVDA, JAWS, or VoiceOver would announce for every target, with state info (checked, expanded, selected, modal, value, required, invalid, etc.):
import {
simulateScreenReader, buildAnnouncement, buildMultiATAnnouncement, buildTranscript, } from "tactual/playwright";
const report = await simulateScreenReader(page, state.targets);
for (const a of report.formFields) { console.log(a.announcement); // → "Subscribe, check box, checked" // → "Country, combo box, collapsed" // → "Email, edit, invalid entry, required, you must use a work address" }
// Compare across screen readers const tx = state.targets[5]; buildAnnouncement(tx, "nvda"); // → "Country, combo box, collapsed" buildAnnouncement(tx, "voiceover"); // → "Country, popup button"
// All three at once buildMultiATAnnouncement(tx); // → { nvda: "...", jaws: "...", voiceover: "..." }
// Linear navigation transcript — what an SR user hears Tabbing through const transcript = buildTranscript(state.targets, "nvda"); // → [{ step: 1, kind: "landmark", announcement: "Main, main landmark" }, ...]
// Multi-target navigation modes (linear, by-heading, by-landmark, by-form-control) import { buildNavigationTranscript } from "tactual/playwright";
// Heading-only navigation (NVDA: H key) const headings = buildNavigationTranscript(state.targets, { mode: "by-heading" });
// Navigate from one element to another const path = buildNavigationTranscript(state.targets, { from: "link:before-main", to: "heading:welcome", mode: "linear", });
// Demoted landmarks (in DOM but stripped by HTML rules, e.g. in ) for (const d of report.demotedLandmarks) { console.warn(d.demotionReason); }
Validation and calibration APIs — compare model output against virtual-SR validation runs or human-observation datasets:
import { validateFindingsInJsdom } from "tactual/validation";
import { runCalibration, formatCalibrationReport } from "tactual/calibration";
// Given a JSDOM instance, PageState, AnalysisResult, and calibration dataset: const validation = await validateFindingsInJsdom(dom, state, result.findings, { maxTargets: 10, strategy: "semantic", });
const calibration = runCalibration(dataset, new Map([[state.url, result]])); console.log(validation, formatCalibrationReport(calibration));
Or from the CLI:
npx tactual transcript https://example.com --at voiceover
npx tactual calibration-report my-calibration.json --analysis example-nvda.json
The simulator is heuristic prediction, not real screen-reader output. The simulator itself is fast (pure JavaScript over captured targets — sub-second once targets are in memory), but a full analyze-url run includes browser launch + page capture + scoring and takes seconds on small pages, longer with --probe (~30s+) and --explore (~1–5 min on complex SPAs). Analysis runs in a headless browser by default, so nothing pops up while you work. (Use --no-headless or --channel chrome --stealth for visible/bot-protected sites.)
Data quality. Calibrated against token-l
只显示了开头部分;其余内容请在仓库中阅读