@remnux/mcp-server 0.1.37 → 0.1.41
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 +10 -10
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -400,36 +400,36 @@ If a legitimate command is blocked, the blocked patterns are defined in [`src/se
|
|
|
400
400
|
|
|
401
401
|
```bash
|
|
402
402
|
# Install dependencies
|
|
403
|
-
|
|
403
|
+
pnpm install
|
|
404
404
|
|
|
405
405
|
# Build
|
|
406
|
-
|
|
406
|
+
pnpm run build
|
|
407
407
|
|
|
408
408
|
# Run locally
|
|
409
|
-
|
|
409
|
+
pnpm start -- --mode=docker --container=remnux
|
|
410
410
|
|
|
411
411
|
# Development mode (watch)
|
|
412
|
-
|
|
412
|
+
pnpm run dev
|
|
413
413
|
|
|
414
414
|
# Run tests
|
|
415
|
-
|
|
415
|
+
pnpm test
|
|
416
416
|
|
|
417
417
|
# Lint
|
|
418
|
-
|
|
418
|
+
pnpm run lint
|
|
419
419
|
|
|
420
420
|
# SSH smoke test (against a real VM)
|
|
421
421
|
SSH_SMOKE_HOST=YOUR_VM_IP SSH_SMOKE_USER=remnux SSH_SMOKE_PASSWORD=YOUR_PASSWORD \
|
|
422
|
-
|
|
422
|
+
pnpm exec vitest run src/__tests__/ssh-smoke.test.ts
|
|
423
423
|
|
|
424
424
|
# Docker live integration test (needs running container + client.exe sample)
|
|
425
|
-
LIVE_TEST=1
|
|
425
|
+
LIVE_TEST=1 pnpm exec vitest run src/__tests__/live-integration.test.ts
|
|
426
426
|
|
|
427
427
|
# SSH live integration test (needs reachable VM + client.exe sample)
|
|
428
428
|
SSH_LIVE_TEST=1 SSH_LIVE_HOST=YOUR_VM_IP SSH_LIVE_USER=remnux SSH_LIVE_PASSWORD=YOUR_PASSWORD \
|
|
429
|
-
|
|
429
|
+
pnpm exec vitest run src/__tests__/ssh-live-integration.test.ts
|
|
430
430
|
|
|
431
431
|
# Local live integration test (runs tools on local filesystem)
|
|
432
|
-
LOCAL_LIVE_TEST=1
|
|
432
|
+
LOCAL_LIVE_TEST=1 pnpm exec vitest run src/__tests__/local-live-integration.test.ts
|
|
433
433
|
```
|
|
434
434
|
|
|
435
435
|
## Design Decisions
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnux/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
|
+
"packageManager": "pnpm@10.33.0",
|
|
4
5
|
"description": "MCP server for using the REMnux malware analysis toolkit via AI assistants",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/index.js",
|
|
@@ -13,11 +14,11 @@
|
|
|
13
14
|
"start": "node dist/cli.js",
|
|
14
15
|
"lint": "eslint src/",
|
|
15
16
|
"test": "vitest run",
|
|
16
|
-
"pretest": "
|
|
17
|
-
"validate:tools": "
|
|
18
|
-
"preversion": "
|
|
17
|
+
"pretest": "pnpm exec tsx scripts/check-stale-build.ts",
|
|
18
|
+
"validate:tools": "pnpm exec tsx scripts/validate-tools.ts",
|
|
19
|
+
"preversion": "pnpm run validate:tools && pnpm test",
|
|
19
20
|
"prepare": "husky",
|
|
20
|
-
"prepublishOnly": "
|
|
21
|
+
"prepublishOnly": "pnpm run build"
|
|
21
22
|
},
|
|
22
23
|
"keywords": [
|
|
23
24
|
"mcp",
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"eslint": "^9.0.0",
|
|
65
66
|
"husky": "^9.1.7",
|
|
66
67
|
"lint-staged": "^16.2.7",
|
|
68
|
+
"tsx": "^4",
|
|
67
69
|
"typescript": "^5.4.0",
|
|
68
70
|
"typescript-eslint": "^8.54.0",
|
|
69
71
|
"vitest": "^1.6.0"
|