mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-11-25 21:54:26 +01:00
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
49 lines
2.7 KiB
JavaScript
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.
|
|
`);
|