
Prufa Mcp
io.github.prufa-dev由 GitHub 帳號 prufa-dev 發布v0.2.3更新於 Oct 24, 2026
The full Prufa QA agent over MCP: audits, flows, monitors, gremlin chaos, discovery.
概覽
Prufa 的 QA 代理 MCP 伺服器:稽核網頁應用程式的流程、主控台錯誤、追蹤、合規、安全標頭與無障礙問題,並回傳分級結果。
- 可以做什麼
- 對公開頁面執行一次性稽核,回傳含嚴重程度、影響說明與修正建議的分級 JSON 報告
- 取得、輪詢、列出報告、執行紀錄、發現項目與告警
- 建立、確認、編輯、執行與刪除多步驟測試流程,並儲存流程憑證
- 啟動、暫停、恢復、觸發排程監控並輪替部署鉤子密鑰,查看投遞紀錄
- 在已授權網域上執行混沌測試、授權寫入操作,並把重現的缺陷路徑轉為流程
- 對通過 DNS 驗證的網域進行爬取以發現並草擬流程,並管理工作區、用量、通知與帳務連結
- 適用情境
- 適合快速上線網頁應用程式、想讓編碼代理檢查已部署或預備環境網址是否有嚴重回歸的情境,也適合把重複檢查變成監控或 CI 關卡。需要腳本化使用者流程與混沌測試的團隊同樣適用。
- 執行需求
- 以 stdio 本機程序執行,從 PyPI 安裝(pipx 或 pip),需要 Python 環境。稽核需要 Prufa 帳號與 API 金鑰,透過 PRUFA_API_TOKEN 環境變數或設定檔提供。需要能連線至 Prufa API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Prufa Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
prufa-mcp — the QA agent for your vibe-coded app
Vibe-coded apps ship faster than anyone can review them. In June 2026 we audited 49 fresh Show HN launches — 38 had a critical bug on day one: a broken signup, a silent console error, analytics that never fired, a consent banner that did nothing.
Prufa is the agent that catches those before your users do. Point it at a URL and it audits the things humans skip when they're moving fast — broken flows, JS console errors, missing tracking, consent violations, security headers, mobile tap targets, accessibility — and hands back machine-verified findings, graded A–F. This repo is the open-source MCP server that wires that audit straight into your coding agent.
30-second demo
[Installing prufa-mcp and wiring it into Claude Code]
What an audit gives you
Ask your agent to audit https://yourapp.com and prufa_run_audit returns one
JSON report. Findings are grouped into graded sections, each finding carries a
severity, the impact (why it matters), and a fix hint. Real output,
trimmed:
report_url is a shareable HTML version of the same report. The full payload
also includes tracking, consent, seo/aeo, a11y, forms, and detected
user flows — see the OSS surface below.
Install
The package is on PyPI. Install it
globally with pipx (recommended — isolated venv, exposes the prufa-mcp
binary on your PATH) or into a project venv with pip:
You also need a free Prufa API key. The first audit is free, no card required.
- Sign in at prufa.dev (Google OAuth)
- Create an API key from the dashboard
Wire into your agent
The MCP server runs as a stdio subprocess, spawned by your agent on first use.
The cleanest way to register it is claude mcp add (Claude Code's built-in
command — it writes the config to ~/.claude.json correctly, which the
~/.claude/mcp.json path does NOT).
Claude Code (recommended path)
Restart Claude Code (config is read at startup), then verify:
You should see prufa listed as Connected, with prufa_run_audit and
prufa_get_report as available tools.
Cursor / Cline / Continue (hand-edit .mcp.json)
In your project root or in ~/.config/Claude/ etc.:
Restart the host app. The command path must be the absolute binary path
(not ~, not $()) — those don't expand in MCP config.
Prefer config files to env vars? Drop your token in
~/.config/prufa/mcp.jsoninstead — see ADVANCED.md.
Use it
In your agent:
prufa_run_audit with wait=true (the default) blocks until the audit
completes and returns the JSON report directly — typically 25–60s for a public
page. If you set wait=false, the call returns immediately with the queued
state plus a share_token you can poll with prufa_get_report.
What you get — the full agent surface
prufa-mcp exposes the whole product over MCP (44 tools). Point your agent
at Prufa and it can audit pages, drive multi-step flows, watch for regressions,
run chaos tests, run full-auto discovery, and manage the workspace + billing —
no dashboard round-trip. Free/anonymous tools need no card; Pro tools return the
API's 402 with a checkout link when you're not on a plan (the tool is visible,
the paywall is server-side).
Audit & reports
Workspace, usage & conversion
Billing (returns a URL for the human to open — never takes a card)
Flows (describe a journey → reviewable spec → run)
Monitors (watch a URL or flow on a schedule)
Gremlin (chaos QA)
Discovery (full-auto — crawl, infer flows, draft them)
Plus prufa_health_check() (probe the server/API).
The free trial, and when to upgrade
prufa_setup_workspace mints a free agent_temp workspace: no card, a 7-day
trial, and an included credit budget. Monitors, discovery, and full-length
gremlin runs work during the trial, then need a paid plan.
The MCP makes this legible to your agent: prufa_get_usage, prufa_setup_workspace,
and every metered result carry a trial block (days + credits remaining) and,
when you're low on credits or near the trial's end, an upsell block with a
message_for_human your agent can relay plus the exact tool to call
(prufa_upgrade_plan / prufa_buy_credits). When a Pro tool is called off-plan,
the 402 passes through with a checkout_url — no silent failures, no surprise
charges.
Examples
Three runnable scripts in examples/:
examples/nextjs-app/— audit a deployed Next.js appexamples/vite-spa/— audit a Vite SPA (focuses on client-side routing audits)examples/stripe-checkout/— audit a Stripe-checkout page (payment-flow verification)
Each is a copy-pasteable demo:
GitHub Action
Fail a PR when Prufa finds a critical regression:
See examples/prufa-scan.yml for the full template.
License
Apache-2.0. See LICENSE. Contributions welcome — see CONTRIBUTING.md.
來源:README.md,提交 3d9e90b
工具
0版本歷史
1- v0.2.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分