@seclai/cli 1.1.0 → 1.1.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 +61 -1
- package/dist/cli.js +498 -150
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,9 +17,32 @@ Or run directly via npx (no install needed):
|
|
|
17
17
|
npx @seclai/cli agents list
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
### Setup Skills and MCP
|
|
21
|
+
|
|
22
|
+
If you are using an AI coding agent like Claude Code, you can also install the skill individually with:
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
seclai skills install
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
This installs skills into all detected coding editors by default. Use `--tool <tool>` to scope it to one editor.
|
|
29
|
+
|
|
30
|
+
To install the Seclai MCP server into your editors (Cursor, Claude Code, VS Code, etc.):
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
seclai mcp configure --key "$SECLAI_API_KEY"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Or directly via npx:
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
npx skills add seclai/seclai-cli --full-depth --global --all
|
|
40
|
+
npx add-mcp https://api.seclai.com/mcp --header "X-API-Key: $SECLAI_API_KEY" --name Seclai
|
|
41
|
+
```
|
|
42
|
+
|
|
20
43
|
## Documentation
|
|
21
44
|
|
|
22
|
-
Command reference (latest): https://seclai.github.io/seclai-cli/1.1.
|
|
45
|
+
Command reference (latest): https://seclai.github.io/seclai-cli/1.1.1/
|
|
23
46
|
|
|
24
47
|
## Authentication
|
|
25
48
|
|
|
@@ -388,6 +411,43 @@ Skills follow the [Agent Skills specification](https://agentskills.io/specificat
|
|
|
388
411
|
| Gemini | `.gemini/seclai-cli/` |
|
|
389
412
|
| Antigravity | `.antigravity/seclai-cli/` |
|
|
390
413
|
|
|
414
|
+
You can also install skills using the [skills CLI](https://github.com/vercel-labs/skills):
|
|
415
|
+
|
|
416
|
+
```bash
|
|
417
|
+
npx skills add seclai/seclai-cli
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
### MCP Server
|
|
421
|
+
|
|
422
|
+
Configure the [Seclai MCP server](https://github.com/seclai/seclai-mcp) for AI coding tools:
|
|
423
|
+
|
|
424
|
+
```bash
|
|
425
|
+
# Auto-detect tools and write MCP config
|
|
426
|
+
seclai mcp configure --key YOUR_API_KEY
|
|
427
|
+
|
|
428
|
+
# Target a specific tool
|
|
429
|
+
seclai mcp configure --key YOUR_API_KEY --target claude-code
|
|
430
|
+
seclai mcp configure --key YOUR_API_KEY --target cursor
|
|
431
|
+
seclai mcp configure --key YOUR_API_KEY --target claude-desktop
|
|
432
|
+
seclai mcp configure --key YOUR_API_KEY --target windsurf
|
|
433
|
+
|
|
434
|
+
# Configure all known targets
|
|
435
|
+
seclai mcp configure --key YOUR_API_KEY --target all
|
|
436
|
+
|
|
437
|
+
# Show the MCP config snippet (for manual setup)
|
|
438
|
+
seclai mcp show
|
|
439
|
+
seclai mcp show --key YOUR_API_KEY
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
| Target | Config File | Scope |
|
|
443
|
+
|---|---|---|
|
|
444
|
+
| claude-code | `.mcp.json` | Project |
|
|
445
|
+
| cursor | `.cursor/mcp.json` | Project |
|
|
446
|
+
| claude-desktop | `~/Library/Application Support/Claude/claude_desktop_config.json` | Global |
|
|
447
|
+
| windsurf | `~/.codeium/windsurf/mcp_config.json` | Global |
|
|
448
|
+
|
|
449
|
+
The command merges into existing config files — it won't overwrite other MCP servers.
|
|
450
|
+
|
|
391
451
|
### Shell Completion
|
|
392
452
|
|
|
393
453
|
Generate shell completion scripts for tab-completion of commands:
|