Files
CyberSecurityUP 19ead71279 feat(mcp): global MCP server package with 48 security tools
Add standalone MCP installer package (mcp/) that builds, links and
registers the NeuroSploit MCP server globally for Claude Code, Cursor,
Windsurf and VS Code.

New MCP tools (9): neo4j, sandbox, capability, provenance, reactive,
knowledge, graph_chains, mcp_profiles, config — total 48 tools.

Install: bash mcp/install.sh
2026-11-18 10:09:00 -03:00

49 lines
2.7 KiB
JavaScript

#!/usr/bin/env node
// Post-install: tell the user how to register the MCP server.
'use strict';
const path = require('path');
const fs = require('fs');
const os = require('os');
const wrapper = path.resolve(__dirname, 'neurosploit-mcp');
const home = os.homedir();
// Claude Code config path
const claudeSettings = path.join(home, '.claude', 'settings.json');
const cursorSettings = path.join(home, '.cursor', 'mcp.json');
console.log(`
╔══════════════════════════════════════════════════════════════╗
║ NeuroSploit MCP Server installed ║
╚══════════════════════════════════════════════════════════════╝
Binary wrapper: ${wrapper}
Register in your MCP client:
┌─ Claude Code ─────────────────────────────────────────────┐
│ claude mcp add neurosploit -- ${wrapper} │
│ │
│ Or add to ~/.claude/settings.json: │
│ "mcpServers": { │
│ "neurosploit": { │
│ "command": "${wrapper}", │
│ "args": [] │
│ } │
│ } │
└────────────────────────────────────────────────────────────┘
┌─ Cursor / Windsurf ───────────────────────────────────────┐
│ Add to MCP settings: │
│ { │
│ "neurosploit": { │
│ "command": "${wrapper}", │
│ "args": [] │
│ } │
│ } │
└────────────────────────────────────────────────────────────┘
Or run: neurosploit-mcp --install to auto-configure.
`);