@scanrail/cli 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +15 -4
  2. package/package.json +10 -8
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Scanrail CLI
2
2
 
3
- [![npm](https://img.shields.io/npm/v/@scanrail/cli.svg)](https://www.npmjs.com/package/@scanrail/cli)
3
+ [![npm](https://img.shields.io/npm/v/scanrail.svg)](https://www.npmjs.com/package/scanrail)
4
4
  [![CI](https://github.com/raeseoklee/scanrail/actions/workflows/ci.yml/badge.svg)](https://github.com/raeseoklee/scanrail/actions/workflows/ci.yml)
5
5
  [![License](https://img.shields.io/github/license/raeseoklee/scanrail.svg)](https://github.com/raeseoklee/scanrail/blob/main/LICENSE)
6
6
 
@@ -11,14 +11,14 @@ This package installs the `scanrail` command and delegates to the platform-speci
11
11
  ## Install
12
12
 
13
13
  ```bash
14
- npm install -g @scanrail/cli
14
+ npm install -g scanrail
15
15
  scanrail doctor
16
16
  ```
17
17
 
18
18
  You can also run it without a global install:
19
19
 
20
20
  ```bash
21
- npx @scanrail/cli doctor
21
+ npx scanrail doctor
22
22
  ```
23
23
 
24
24
  ## First Scan
@@ -30,9 +30,19 @@ scanrail run --only headers
30
30
 
31
31
  The first release candidate includes the CLI scaffold, config generation, workspace setup, JSON/HTML reporting, and a native security headers scanner. Docker-backed adapters for Gitleaks, Trivy, and Semgrep are planned next.
32
32
 
33
+ ## MCP
34
+
35
+ Scanrail includes a local stdio MCP server for AI clients:
36
+
37
+ ```bash
38
+ scanrail mcp serve
39
+ ```
40
+
41
+ The MCP MVP exposes bounded tools for `doctor`, config reading, latest report summaries, and the native headers scan with explicit active-scan confirmation.
42
+
33
43
  ## Package Layout
34
44
 
35
- `@scanrail/cli` is the wrapper package. It installs one optional platform package:
45
+ `scanrail` is the recommended npm entrypoint. `@scanrail/cli` is the underlying scoped wrapper package and installs one optional platform package:
36
46
 
37
47
  - `@scanrail/cli-darwin-arm64`
38
48
  - `@scanrail/cli-darwin-x64`
@@ -46,6 +56,7 @@ The first release candidate includes the CLI scaffold, config generation, worksp
46
56
  - Repository: https://github.com/raeseoklee/scanrail
47
57
  - Documentation: https://github.com/raeseoklee/scanrail#readme
48
58
  - Issues: https://github.com/raeseoklee/scanrail/issues
59
+ - Security: https://github.com/raeseoklee/scanrail/blob/main/SECURITY.md
49
60
 
50
61
  ## License
51
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scanrail/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Developer-first security scan orchestrator",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -20,12 +20,12 @@
20
20
  "README.md"
21
21
  ],
22
22
  "optionalDependencies": {
23
- "@scanrail/cli-darwin-arm64": "0.1.0",
24
- "@scanrail/cli-darwin-x64": "0.1.0",
25
- "@scanrail/cli-linux-arm64": "0.1.0",
26
- "@scanrail/cli-linux-x64": "0.1.0",
27
- "@scanrail/cli-win32-arm64": "0.1.0",
28
- "@scanrail/cli-win32-x64": "0.1.0"
23
+ "@scanrail/cli-darwin-arm64": "0.1.2",
24
+ "@scanrail/cli-darwin-x64": "0.1.2",
25
+ "@scanrail/cli-linux-arm64": "0.1.2",
26
+ "@scanrail/cli-linux-x64": "0.1.2",
27
+ "@scanrail/cli-win32-arm64": "0.1.2",
28
+ "@scanrail/cli-win32-x64": "0.1.2"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
@@ -40,6 +40,8 @@
40
40
  "trivy",
41
41
  "gitleaks",
42
42
  "owasp",
43
- "cli"
43
+ "cli",
44
+ "mcp",
45
+ "model-context-protocol"
44
46
  ]
45
47
  }