From abaaca184e82ab5933fc9512d0fb0b55994132b4 Mon Sep 17 00:00:00 2001 From: giveen Date: Wed, 14 Jan 2026 13:05:43 -0700 Subject: [PATCH] setup: add MetasploitMCP env flag and auto-install step --- scripts/setup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/setup.sh b/scripts/setup.sh index aba7cbd..8db4414 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -79,6 +79,10 @@ PENTESTAGENT_DEBUG=false # If true, the MCP manager will attempt to start vendored HexStrike servers # that are configured or detected under `third_party/hexstrike`. LAUNCH_HEXTRIKE=false +# Auto-launch vendored Metasploit MCP on connect (true/false) +# If true, the MCP manager will attempt to start vendored MetasploitMCP +# servers that are configured or detected under `third_party/MetasploitMCP`. +LAUNCH_METASPLOIT_MCP=false # Agent max iterations (regular agent + crew workers, default: 30) # PENTESTAGENT_AGENT_MAX_ITERATIONS=30 @@ -100,6 +104,12 @@ if [ -f "third_party/hexstrike/requirements.txt" ]; then bash scripts/install_hexstrike_deps.sh fi +# Install vendored MetasploitMCP dependencies automatically if present +if [ -f "third_party/MetasploitMCP/requirements.txt" ]; then + echo "Installing vendored MetasploitMCP dependencies..." + bash scripts/install_metasploit_deps.sh +fi + echo "" echo "==================================================================" echo "Setup complete!"