@xqa.io/xreport-mcp 0.5.0

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.
Files changed (3) hide show
  1. package/README.md +48 -0
  2. package/bin.js +4 -0
  3. package/package.json +33 -0
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # @xqa.io/xreport-mcp
2
+
3
+ Local [MCP](https://modelcontextprotocol.io) server for **XREPORT**. Gives Cursor / Claude / agents access to your latest `xreport.json` and `.xreport/history.json` — **no cloud account**.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm i -D @xqa.io/xreport @xqa.io/xreport-mcp
9
+ ```
10
+
11
+ Or use the bin from the main package:
12
+
13
+ ```bash
14
+ npx xreport-mcp
15
+ # same as: npx xreport mcp
16
+ ```
17
+
18
+ ## Cursor `mcp.json`
19
+
20
+ ```json
21
+ {
22
+ "mcpServers": {
23
+ "xreport": {
24
+ "command": "npx",
25
+ "args": ["-y", "@xqa.io/xreport-mcp"],
26
+ "env": {
27
+ "XREPORT_DIR": "/absolute/path/to/your/xreport"
28
+ }
29
+ }
30
+ }
31
+ }
32
+ ```
33
+
34
+ ## Tools
35
+
36
+ | Tool | Purpose |
37
+ |------|---------|
38
+ | `xreport_last_run` | Latest run summary |
39
+ | `xreport_list_runs` | Local history list |
40
+ | `xreport_failures` | Failed tests |
41
+ | `xreport_clusters` | Error groups |
42
+ | `xreport_test_history` | Per-test history points |
43
+ | `xreport_get_context` | Full agent prompt / single-test prompt |
44
+ | `xreport_flaky_top` | Quarantine + flaky list |
45
+
46
+ Set `XREPORT_DIR` to the folder that contains `xreport.json`.
47
+
48
+ Practice automation: https://xqa.io/practice
package/bin.js ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+ // Thin launcher — implementation lives in @xqa.io/xreport
4
+ require('@xqa.io/xreport/mcp');
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@xqa.io/xreport-mcp",
3
+ "version": "0.5.0",
4
+ "description": "Local MCP server for XREPORT — Cursor/agents read your xreport.json + history with no cloud account.",
5
+ "license": "MIT",
6
+ "bin": {
7
+ "xreport-mcp": "bin.js"
8
+ },
9
+ "files": [
10
+ "bin.js",
11
+ "README.md"
12
+ ],
13
+ "dependencies": {
14
+ "@xqa.io/xreport": ">=0.5.0"
15
+ },
16
+ "engines": {
17
+ "node": ">=18"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/ak3ilb/xqa-xreport.git",
22
+ "directory": "packages/xreport-mcp"
23
+ },
24
+ "homepage": "https://xqa.io",
25
+ "keywords": [
26
+ "mcp",
27
+ "cursor",
28
+ "xreport",
29
+ "xqa",
30
+ "playwright",
31
+ "test-reporter"
32
+ ]
33
+ }