fastqa-mcp 0.3.0 → 0.3.1
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 +18 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
# FastQA
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/fastqa-mcp)
|
|
4
|
+
[](https://www.npmjs.com/package/fastqa-mcp)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
3
7
|
**An MCP server with a QA mindset that lets an LLM drive and test web UI applications.**
|
|
4
8
|
|
|
5
9
|
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
10
|
|
|
7
11
|
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
12
|
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
Add it to Claude Code with one command (needs Node.js 20+):
|
|
16
|
+
```bash
|
|
17
|
+
claude mcp add fastqa -- npx -y fastqa-mcp
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Or install it from npm to run saved tests from a terminal or CI:
|
|
21
|
+
```bash
|
|
22
|
+
npm install -g fastqa-mcp
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Other MCP clients (OpenCode, Cursor, Claude Desktop, VS Code) are covered in [Setting it up](#setting-it-up-about-2-minutes-once).
|
|
26
|
+
|
|
9
27
|
---
|
|
10
28
|
|
|
11
29
|
## How it fits together
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { saveFlow, loadFlow, listFlows, runSuite, exportFlow, FLOW_DIR } from '.
|
|
|
8
8
|
import { auditA11y, renderA11y } from './a11y.js';
|
|
9
9
|
import { promises as fs } from 'node:fs';
|
|
10
10
|
import path from 'node:path';
|
|
11
|
-
const VERSION = '0.3.
|
|
11
|
+
const VERSION = '0.3.1';
|
|
12
12
|
const session = new Session();
|
|
13
13
|
const text = (t) => ({ content: [{ type: 'text', text: t }] });
|
|
14
14
|
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.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.3.1",
|
|
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"
|