fastqa-mcp 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,11 +1,30 @@
1
1
  # FastQA
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/fastqa-mcp.svg)](https://www.npmjs.com/package/fastqa-mcp)
4
+ [![npm downloads](https://img.shields.io/npm/dm/fastqa-mcp.svg)](https://www.npmjs.com/package/fastqa-mcp)
5
+ [![CI](https://github.com/VnKk8/FastQA-MCP/actions/workflows/ci.yml/badge.svg)](https://github.com/VnKk8/FastQA-MCP/actions/workflows/ci.yml)
6
+ [![license: MIT](https://img.shields.io/npm/l/fastqa-mcp.svg)](LICENSE)
7
+
3
8
  **An MCP server with a QA mindset that lets an LLM drive and test web UI applications.**
4
9
 
5
10
  FastQA connects any MCP client (Claude Code, OpenCode and others) to a real browser. The LLM clicks, types and reads the page the way a tester would, and FastQA checks every step: it asserts on text, URLs, field values and accessibility. It also **records every network call with its method, URL and status code**, so a `500 POST /api/orders` is caught even when the UI hides it.
6
11
 
7
12
  When a test passes, FastQA saves it as a flow. Saved flows replay in about a second with no LLM calls, from the MCP client or from the command line in CI.
8
13
 
14
+ ## Install
15
+
16
+ Add it to Claude Code with one command (needs Node.js 20+):
17
+ ```bash
18
+ claude mcp add fastqa -- npx -y fastqa-mcp
19
+ ```
20
+
21
+ Or install it from npm to run saved tests from a terminal or CI:
22
+ ```bash
23
+ npm install -g fastqa-mcp
24
+ ```
25
+
26
+ Other MCP clients (OpenCode, Cursor, Claude Desktop, VS Code) are covered in [Setting it up](#setting-it-up-about-2-minutes-once).
27
+
9
28
  ---
10
29
 
11
30
  ## How it fits together
package/dist/index.js CHANGED
@@ -6,9 +6,10 @@ import { Session } from './session.js';
6
6
  import { runStep, bind, STEP_KINDS } from './runner.js';
7
7
  import { saveFlow, loadFlow, listFlows, runSuite, exportFlow, FLOW_DIR } from './flows.js';
8
8
  import { auditA11y, renderA11y } from './a11y.js';
9
- import { promises as fs } from 'node:fs';
9
+ import { promises as fs, readFileSync } from 'node:fs';
10
10
  import path from 'node:path';
11
- const VERSION = '0.3.0';
11
+ // Single source of truth: package.json sits one level above dist/ in the repo and in the npm package.
12
+ const VERSION = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version;
12
13
  const session = new Session();
13
14
  const text = (t) => ({ content: [{ type: 'text', text: t }] });
14
15
  const stripHash = (u) => u.split('#')[0];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fastqa-mcp",
3
- "version": "0.3.0",
4
- "description": "Fast browser control for QA agents. One MCP server for Claude Code, OpenCode and any MCP client: batched actions, compact diffs, built-in assertions, record and replay with zero LLM calls.",
3
+ "version": "0.3.2",
4
+ "description": "MCP server with a QA mindset that lets an LLM drive and test web UI applications. Batched actions, built-in assertions, network call and status code recording, and record-and-replay with zero LLM calls.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/VnKk8/FastQA-MCP.git"