AI-driven penetration testing - 22 security tools behind safety-hardened MCP endpoints
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A pentesting toolkit that runs as an MCP server, giving AI assistants structured access to industry-standard security tools through a safety-hardened interface.
Authorized use only. Raven Nest is an offensive-security tool intended solely for testing systems you own or have explicit written permission to assess. Unauthorized scanning, enumeration, or exploitation may be illegal. You are solely responsible for obtaining authorization and complying with all applicable laws. The software is provided "as is", without warranty of any kind - see LICENSE.
Real MCP traffic to the tools - no LLM in the loop, fully deterministic. Targets are the authorized public test hosts example.com / scanme.nmap.org.
Scan β structured finding β report

Recon flow - connectivity, ports, web stack

Metasploit module discovery - requires an MSF-enabled build; the default container image excludes Metasploit

Raven Nest wraps 22 security tools plus Metasploit Framework behind an MCP interface with input validation, output quality assessment, session-aware context budgeting, and configurable safety limits. It handles tool execution, restart-safe background scans (completed results survive a server restart; interrupted ones surface as failed), vulnerability finding persistence, target discovery tracking, scan diffing, and multi-format report generation (Markdown, JSON, SARIF, HTML). Findings, reports, and scans are also exposed as MCP resources for browsing. 46 MCP endpoints total.
| Category | Tools |
|---|---|
| Recon | nmap, masscan, whatweb, httpx, subfinder, dnsx, dnsrecon |
| Crawling | katana |
| SMB/AD | enum4linux-ng |
| Credentialed enum (gated) | netexec |
| Vulnerability | nuclei, nikto, wpscan, dalfox (XSS) |
| Web fuzzing | feroxbuster, ffuf |
| Exploitation | sqlmap, hydra |
| Password cracking | john |
| Secret scanning | gitleaks, trufflehog |
| TLS/SSL | testssl.sh |
| Metasploit | msf_search, msf_module_info, msf_exploit, msf_auxiliary, msf_sessions, msf_post |
| Utility | ping_target, http_request |
| Scan management | launch_scan, get_scan_status, get_scan_results, list_scans, cancel_scan |
| Findings | save_finding, get_finding, list_findings, list_findings_by_scan, delete_finding, generate_report |
| Engagement | set_engagement, list_engagements |
| Discovery tracking | get_target_info, list_targets, diff_scans |
Raven Nest is an MCP server - it doesn't do anything on its own. An MCP host launches it over stdio and drives the tools. Pick whichever host suits you:
raven-nest-client
is a TypeScript terminal client (tab-completion, scan/finding/report commands,
engagement scoping) for driving Raven Nest by hand. It can launch either a local
raven-server build or the Docker image.The server is the same stdio binary in both cases.
The published image bundles raven-server and all 22 wrapped tools on a Kali
base, so you don't have to install them yourself. Point your MCP client at it
(stdio):
masscan and nmap -O need raw sockets - append --cap-add=NET_RAW and
--cap-add=NET_ADMIN to args if you use them (the container runs as a
dedicated non-root user; the runtime grants those capabilities to the container
process directly, so they keep working without root). The server is also listed
on the MCP Registry as
io.github.tidynest/raven-nest-mcp.
Create .mcp.json in your project root (or configure your MCP client directly):
The server communicates over stdio and requires no network ports.
Raven Nest loads configuration from TOML, resolved in order:
RAVEN_CONFIG environment variable (path to file)config/default.toml next to the binaryconfig/default.toml in the working directoryKey configuration sections:
See docs/USAGE.md for the full parameter reference and per-tool configuration options.
Every tool call passes through six layers:
kill_on_dropAdditional hardening:
/usr/share/, /usr/lib/, or the configured output_dir; path traversal (..) is rejectedservice (lowercase/digits/hyphens) and form_params (no leading -, no control chars), sqlmap technique (subset of BEUSTQ), ffuf filter_size (digits/commas). Targets get the same treatment (-oN/tmp/evil is rejected as flag-like)0o600 (owner-only)[scope]): when enabled, every target must match an allowed CIDR/domain and must not match a denied one (deny wins); loopback is allowed unless disabled. http_request re-validates each redirect hop against the scope, so a redirect cannot escape it. Off by default{output_dir}/audit.log with the tool, target, and redacted argumentsmin_exec_gap_ms spaces out consecutive tool launches so back-to-back aggressive tools don't trip a target's WAF or rate-limiter, and per_target_min_gap_ms does the same per host while independent targets proceed in parallel; complements the reactive WAF/rate-limit detection. Both off by defaultMetasploit integration adds a 5-layer safety model: disabled by default, per-tool allowlisting, path-boundary module blocklist, exploit confirmation gate (double-call to execute), and session command filtering. Passwords are redacted from error messages, and TLS certificate bypass is restricted to localhost connections. See docs/METASPLOIT.md.
Tools requiring root (masscan, nmap OS detection) can be run via passwordless sudo without elevating the entire server. See sudo_tools in the configuration docs.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/raven-nest-mcp)<a href="https://allmcps.com/mcp/raven-nest-mcp"><img src="https://allmcps.com/api/badge/raven-nest-mcp?style=directory" alt="Raven Nest MCP on AllMCPs" /></a>