prufa-mcp is an open-source MCP server provided by Prufa, positioned as a "QA agent for vibe-coded applications," licensed under Apache-2.0. Its goal is to solve the problem of such applications shipping faster than manual review, thus going live on day one with serious defects. Users hand it a URL, and it audits the areas people tend to overlook during rapid iteration, returning machine-verified findings graded A–F.
[Purpose] Run real-browser QA audits against a specified URL, covering: broken signup, login, and checkout flows, JS console errors, analytics tracking not firing, broken consent banners, missing security response headers, mobile tap targets, accessibility, and more. Audit results are output for coding agents, making it easy to catch regressions early during development.
[Main capabilities] The audit result is a JSON report, with findings organized into graded sections, each containing severity, impact (why it matters), and remediation hints. The report also includes report_url, a shareable HTML version of the same report. The full payload also includes sections for tracking, consent, seo / aeo, a11y, forms, and detected user flows. prufa-mcp exposes 44 tools across the entire product through MCP, which agents can use directly to: audit pages, drive multi-step flows, monitor regressions, run chaos tests, perform fully automated discovery, and manage workspaces and billing, without switching to the console. Specific tool groups include: audit and reporting; workspace, usage, and conversion; billing (returns a URL for a human to open, never charges a card directly); flows (describe a journey → reviewable spec → run); monitoring (watch a URL or flow on a schedule); Gremlin (chaos QA); discovery (fully automated: crawl, infer flows, draft flows); and prufa_health_check() (probe the server/API). Free and anonymous tools require no bank card; Pro tools return the API's 402 plus a checkout link when not subscribed (tools are visible; the paywall is server-side).
[Usage]
- Installation: The package is published on PyPI; installing globally with pipx is recommended (isolated venv, and exposes the prufa-mcp binary in PATH), or use pip to install into a project venv.
- Key: A free Prufa API key, first audit free, no bank card required. Log in via Google OAuth at prufa.dev, then create an API key in the console.
- Integrate the agent: the MCP server runs as a stdio subprocess, started by the agent on first use. It is recommended to register using Claude Code's built-in claude mcp add command (it correctly writes to ~/.claude.json, whereas the ~/.claude/mcp.json path does not work). After restarting Claude Code, verify that prufa shows as Connected and lists the prufa_run_audit and prufa_get_report tools. For Cursor / Cline / Continue, you can manually edit .mcp.json (in the project root or locations such as ~/.config/Claude/), then restart the host application; the command path must be an absolute binary path (~ and $() are not expanded in MCP configuration). If you prefer to use a configuration file rather than environment variables, you can put the token in ~/.config/prufa/mcp.json; see ADVANCED.md for details.
- Invocation: prufa_run_audit defaults to wait=true, which blocks until the audit completes and directly returns a JSON report; public pages usually take 25–60 seconds; if wait=false is set, it immediately returns a queued status and a share_token, which can be polled with prufa_get_report.
[Free trial and upgrade] prufa_setup_workspace creates a free agent_temp workspace: no bank card required, 7-day trial, and comes with a certain credit budget. Monitoring, discovery, and full-length gremlin runs are available during the trial period, after which a paid plan is required. MCP lets the agent read these states: prufa_get_usage, prufa_setup_workspace, and every metering result carry a trial info block (remaining days and credits); when credits are insufficient or the trial is nearing its end, there is an upsell info block containing a message_for_human that the agent can relay to the human, aswell as the exact tools that should be called (prufa_upgrade_plan / prufa_buy_credits). When a Pro tool is called without a plan, a 402 and checkout_url are passed through; it does not fail silently and does not incur unexpected charges.
[Use cases] Suitable for automated QA before and after release for AI-assisted development (vibe-coding) applications; as a PR check in CI, failing the PR when Prufa finds a serious regression (see examples/prufa-scan.yml for a complete template); it can also be used for payment flow verification such as checkout, client-side routing audits, etc. There are three runnable scripts under the repository's examples/: examples/nextjs-app/ (audit a deployed Next.js application), examples/vite-spa/ (audit a Vite SPA, focusing on client-side routing audits), examples/stripe-checkout/ (audit a Stripe checkout page, payment flow verification); each is a directly copy-pasteable example.
[Limitations] The repository text states: the command path must be an absolute path; use claude mcp add rather than the ~/.claude/mcp.json path; after the trial ends, monitoring, discovery, and full gremlin runs require a paid plan; Pro tools are unavailable without a plan. Information about specific prices, credit amounts, supported browser types, etc. is not provided in the materials. The license is Apache-2.0, see LICENSE for details; contributions are welcome, see CONTRIBUTING.md for details.