nsauditor-ai 0.1.3 → 0.1.4

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 +11 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -264,14 +264,20 @@ Security: SSRF protection on all host inputs (blocks RFC 1918, loopback, fc00::/
264
264
 
265
265
  ### Claude Desktop Setup
266
266
 
267
- Add this to your `claude_desktop_config.json` (Settings → Developer → Edit Config):
267
+ First install the package globally:
268
+
269
+ ```bash
270
+ npm install -g nsauditor-ai
271
+ ```
272
+
273
+ Then add this to your `claude_desktop_config.json` (Settings → Developer → Edit Config):
268
274
 
269
275
  ```json
270
276
  {
271
277
  "mcpServers": {
272
278
  "nsauditor-ai": {
273
- "command": "npx",
274
- "args": ["--package=nsauditor-ai", "nsauditor-ai-mcp"],
279
+ "command": "node",
280
+ "args": ["/path/to/global/node_modules/nsauditor-ai/mcp_server.mjs"],
275
281
  "env": {
276
282
  "AI_PROVIDER": "claude",
277
283
  "ANTHROPIC_API_KEY": "your-key-here",
@@ -283,6 +289,8 @@ Add this to your `claude_desktop_config.json` (Settings → Developer → Edit C
283
289
  }
284
290
  ```
285
291
 
292
+ Find your global install path with `npm root -g`, then append `/nsauditor-ai/mcp_server.mjs`.
293
+
286
294
  - `NSA_ALLOW_ALL_HOSTS=1` — required to scan private/RFC 1918 addresses (e.g., `192.168.x.x`)
287
295
  - `PLUGIN_TIMEOUT_MS=5000` — reduces per-plugin timeout to 5s so the full scan completes within Claude Desktop's 60s MCP limit
288
296
  - `AI_PROVIDER` and API key — optional, enables AI-powered analysis of scan results
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nsauditor-ai",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Modular AI-assisted network security audit platform — Community Edition",
5
5
  "type": "module",
6
6
  "private": false,