Server data from the Official MCP Registry
AI-driven penetration testing - 22 security tools behind safety-hardened MCP endpoints
About
AI-driven penetration testing - 22 security tools behind safety-hardened MCP endpoints
Security Report
Valid MCP server (3 strong, 3 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
10 files analyzed · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.
Raven Nest MCP
An MCP server that lets an AI agent run nmap, nuclei, sqlmap and 19 other pentesting tools, plus Metasploit, without giving the agent a shell.
The problem: The quick way to let an agent pentest is to hand it a terminal. Then the model writes every command line, and an invented flag or a line of hostile text in a scan result is enough to run something you never approved.
What Raven Nest does: It puts a fixed interface in between. The model picks a tool and fills in typed fields. The server then
- checks the target,
- builds the arguments itself,
- starts the binary with no shell,
- limits how aggressive it can be,
- writes down what ran.
What you get:
- The model never writes a command line. Tools take presets and typed fields. Unknown parameters are rejected and no tool accepts a raw flag string.
- You decide what it may touch. A scope allowlist of CIDR ranges and domains rejects every other target, and a deny entry always wins. A second allowlist does the same for which binaries may run.
- The intrusive parts start switched off. Metasploit and credentialed NetExec stay disabled until you enable them. sqlmap, hydra, masscan and john run under limits the model cannot raise.
- It works with a small local model. Output is parsed into short summaries and fitted to a context budget, so an 8B model on an 8 GB GPU can get through a multi-step session. Your targets and findings then stay on your machine.
- There is a record. Each subprocess the server runs is appended to a JSON audit log with credentials redacted.
- Findings become a report. Save findings as you go and export Markdown, HTML, JSON or SARIF.
Authorised use only. Raven Nest is an offensive-security tool intended solely for testing systems you own or have explicit written permission to assess. Unauthorised scanning, enumeration or exploitation may be illegal. You are solely responsible for obtaining authorisation and complying with all applicable laws. The software is provided "as is", without warranty of any kind. See LICENSE.
Contents
- Is this for you
- Demo
- Quick start
- What is safe, what is gated, what is logged
- Keeping engagement data on your machine
- How it compares
- Supported tools
- Beyond running tools
- Other ways to install
- Configuration
- Documentation
- Community and contributing
- Project status
Is this for you
It probably is if you
- already use these tools and would like an agent to drive recon and the routine scanning while you watch and decide,
- test under a contract or NDA and cannot send client data to a hosted AI service,
- build agent workflows and would like a tool layer with fixed, typed inputs,
- practise on labs such as Juice Shop or DVWA and would like to see how far a local model gets.
It probably is not if you
- would like a scanner with a user interface. This is a server, and it does nothing until an MCP client and a model drive it.
- would like to leave an agent unattended on a production network. The controls here narrow what a model can do. They do not make it right.
- need native Windows or ARM builds. See Project status.
- need a tool that has been through an independent security audit. This one has not.
Demo
These recordings are real MCP traffic to the tools with no model in the loop, so they replay the same way every time.
The targets are the public test hosts example.com and scanme.nmap.org.
A scan, a saved finding and a report

Recon: connectivity, ports and web stack

Metasploit module search. This needs a build with Metasploit enabled. The container image does not include Metasploit.

Quick start
Raven Nest is a server. It does nothing on its own.
An MCP client starts it over stdio and calls its tools. That client can be
- Claude Desktop,
- Claude Code,
- Cursor,
- a local-model client.
1. Add the server to your MCP client config. The container image carries the server and all 22 wrapped tools on a Kali base, so there is nothing else to install:
{
"mcpServers": {
"raven-nest": {
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/tidynest/raven-nest-mcp:latest"]
}
}
}
2. Ask your agent for something small against a host you may scan:
Ping scanme.nmap.org, run a quick nmap scan, and save anything notable as a finding.
That entry is enough to try it.
Before real work: The entry above runs on built-in defaults, which means
- the scope allowlist is off,
- all output is lost when the container exits.
docs/INSTALL.md shows how to
- mount your own config,
- keep findings and the audit log on a volume,
- add wordlists,
- get nmap working on images up to 0.4.2, where it needs root.
No agent? If you would sooner drive the tools by hand, raven-nest-client is a terminal client for this server with tab completion and commands for scans, findings, reports and engagements. It starts either a local build or the container.
What is safe, what is gated, what is logged
| Always enforced | The tool allowlist. Target validation that rejects shell metacharacters and anything that is not an IP, CIDR, host:port, URL or hostname. Presets in place of raw flags. Strict schemas that reject unknown parameters. Wordlists and scan paths confined to /usr/share/, /usr/lib/ and the output directory. A timeout per tool and a limit on parallel processes. |
| Off until you turn it on | The engagement scope. Metasploit. NetExec. trufflehog's live verification of found secrets. Running any tool through sudo. |
| Needs a second call | msf_exploit. The first call returns the plan and runs nothing. A second call with the same module, target, port and payload runs it. |
| Capped | sqlmap level and risk, hydra parallel tasks, masscan packet rate and john run time. The model can ask for less and never more. |
| Written to the audit log | Every subprocess the server ran to completion, and every http_request, with tool, arguments, exit code, duration and whether sudo was used. Credential values are redacted. |
Four things a sceptical reader should know before trusting that table:
- The scope allowlist is off by default. Out of the box the server
accepts any target that is well formed. Turn
[scope]on before you point an agent at anything that matters. - The second call for an exploit is not human approval. The same model makes both calls. It forces the plan into the open, and your MCP client's own approval prompt is what puts a person in the loop.
- The audit log has gaps. Rejected calls, timed-out runs,
ping_targetand Metasploit RPC calls are not in it today. - In version 0.4.2 and earlier, a config that fails to load is skipped.
If the file in
RAVEN_CONFIGis missing or broken, those versions warn on stderr and start on the next config they find, which can mean built-in defaults with the scope off. Check the first log line. Later versions refuse to start.
Also worth knowing:
- The wrapped tools are the stock binaries. sqlmap and hydra can disrupt a target while doing exactly what they were built to do.
- Nothing here inspects scan output for text aimed at the model.
- This is pre-1.0 software from one maintainer, and it has had no outside security audit.
Read more:
- docs/SAFETY.md has the full account, including what each control does not cover and a hardening checklist,
- SECURITY.md says how to report a way past any of these controls.
Keeping engagement data on your machine
In short: Drive the server with a model on your own machine, and nothing is sent to a third-party AI service while you test someone's systems.
Why it matters: When an agent runs a pentest, every tool result passes through the model. That includes
- target addresses,
- service banners,
- findings,
- any credentials that turn up.
With a hosted model, all of that goes to the provider. Under a contract or an NDA that is often not allowed.
What the server itself does: Raven Nest was built to be driven by a small model running on the same machine. The server is a local process that talks to its client over stdio. It has no telemetry and no AI provider client in it.
The only network connections it opens itself are
- the requests you make with
http_request, - the RPC connection to your own
msfrpcd, if you enable Metasploit.
So with a local model the whole loop stays on your hardware:
local model <-> MCP client <-> raven-server <-> scanners <-> target
How it meets small models halfway: Small models have short context windows and make more tool-calling mistakes, so the server does some work for them.
- A context budget tracks how much output the session has used and shrinks each tool's allowance as it fills. When it runs out, scan tools are refused and the model is told to save findings and write the report.
- Parsed output. Each tool's raw output is turned into a short summary before the model sees it.
- Forgiving input, clear errors. A wrong parameter name gets an error that names the field, and a number sent as a string is accepted.
- Auto-save. When you turn it on, the server saves findings straight from scanner output, so the report does not depend on the model remembering to do it.
What I have tested, on a laptop with an 8 GB GPU through Ollama:
- Qwen3 8B at a 64K context completes an eight-step session and is the one I use interactively.
- Qwen3.5 9B writes better findings, and only when given all the steps in a single prompt.
- Most other models I tried, 14 in total, could not call tools reliably enough to be useful.
The full table, the client setup and the failure modes are in docs/LOCAL_AI_INTEGRATION.md.
What this does not promise:
-
A local model is weaker than a large hosted one. Expect to guide it step by step and to check what it reports.
-
If you connect a hosted model, every tool result goes to that provider. The server cannot tell the difference and does not try to.
-
Some wrapped tools contact third parties as part of their normal work:
- subfinder queries public data sources about the domain,
- nmap's
vulnscan type runs scripts that look up service versions online, - wpscan sends data to its vulnerability API when you pass a token,
- trufflehog tests found secrets against the issuing service if you ask it to verify.
Leave those out of the tool allowlist if the engagement rules them out. docs/DATA_FLOW.md has the list.
How it compares
The usual alternative is an agent with a shell or a generic "run command" tool. This is how the two differ, going only by what this code does:
| Agent with a shell | Raven Nest | |
|---|---|---|
| Who writes the command line | the model | the server, from presets and typed fields |
| Which programs can run | anything the shell can reach, unless your client restricts it | only the names on the allowlist |
| Which targets | nothing checks | syntax always, and a scope allowlist when enabled |
| How aggressive | whatever flags the model picks | caps set in config |
| Exploitation | a command like any other | off by default, then a second call |
| Output | raw, straight into the context window | parsed summaries fitted to a budget |
| Record | your client's transcript | an audit log, plus findings and reports on disk |
| Flexibility | everything the tools can do | only what the handlers expose |
The last row is the cost. If a tool flag is not exposed as a preset, the agent cannot use it, and you run that step yourself or open a discussion asking for it.
What about other MCP servers for security tools? They exist. I have not run them side by side with this one, so there is no feature table against them here. If you maintain one and would like a fair comparison written up, start a thread in Discussions.
Supported tools
The server exposes 46 MCP tools:
- 22 wrappers around external security tools,
- 6 for Metasploit,
- 18 for utilities, background scans, findings, engagements and discovery data.
| Category | Tools |
|---|---|
| Recon | nmap, masscan, whatweb, httpx, subfinder, dnsx, dnsrecon |
| Crawling | katana |
| SMB and AD | enum4linux-ng |
| Credentialed enumeration, gated | netexec |
| Vulnerability scanning | nuclei, nikto, wpscan, dalfox |
| Web fuzzing | feroxbuster, ffuf |
| Exploitation | sqlmap, hydra |
| Password cracking | john |
| Secret scanning | gitleaks, trufflehog |
| TLS | testssl.sh |
| Metasploit, gated | msf_search, msf_module_info, msf_exploit, msf_auxiliary, msf_sessions, msf_post |
| Utility | ping_target, http_request |
| Background scans | 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 |
| Engagements | set_engagement, list_engagements |
| Discovery | get_target_info, list_targets, diff_scans |
Read more:
- docs/USAGE.md documents every parameter of every tool,
- docs/MCP_TOOLS.md has the exact names and descriptions the server sends to a client.
Beyond running tools
- Findings and reports. Findings are stored one file each and survive
restarts.
generate_reportwrites Markdown or HTML with a summary, a methodology section, scope and timeline, and numbered findings carrying severity, CVSS, CVE and OWASP category. JSON and SARIF are there for other tooling. See Findings and reports. - Engagements.
set_engagementgives each client or target its own findings and reports, kept apart from the others. See Engagement. - Background scans. Long scans run in the background and are polled by ID. Finished results survive a server restart, and a scan that was cut off shows up as failed. See Scan persistence.
- Discovery tracking and scan diffing. nmap results build up a record
per host of open ports and service versions, with first-seen and last-seen
times.
diff_scanscompares two scans and lists what changed. See Target discovery tracking. - Structured results and MCP resources. nmap and nuclei return
machine-readable results next to the text. Saved findings and scans can
also be browsed as
raven://resources. See Structured outputs and MCP resources. - Authenticated scanning.
http_requestkeeps a cookie jar for the session. The subprocess tools do not share it, so you pass the cookie to each one. See Cookie jar. - Output quality warnings. The server flags empty results and signs of rate limiting or a WAF, so the model can slow down and try again. See Output processing.
Other ways to install
| Method | Brings the scanners | Platform |
|---|---|---|
| Container image | yes | x86_64 Linux image |
| Prebuilt binary from Releases | no | x86_64 Linux |
cargo build --release | no | Linux, Rust 1.93 or newer |
Arch Linux PKGBUILD in packaging/aur | no | x86_64 Arch |
Steps for each, and how the server finds its config, are in
docs/INSTALL.md. The image is also listed on the
MCP Registry as
io.github.tidynest/raven-nest-mcp.
Configuration
Configuration is one TOML file.
The server looks for it in this order:
- the file named in
RAVEN_CONFIG, ~/.config/raven-nest/config.toml,/etc/raven-nest/config.toml,config/default.tomlnear the binary,config/default.tomlin the working directory,- the built-in defaults.
Steps 2 and 3 are new after version 0.4.2. A file that exists and fails to load stops the server.
The settings most people touch:
[safety]
allowed_tools = ["ping", "nmap", "nuclei", "whatweb", "httpx"]
max_output_chars = 50000
context_budget = 65536 # context window in characters, 0 turns the budget off
sudo_tools = [] # tools started through passwordless sudo
[scope]
enabled = true
allowed_cidrs = ["10.20.0.0/16"]
allowed_domains = ["example.com"]
denied_cidrs = ["169.254.169.254/32"]
[execution]
default_timeout_secs = 600
max_concurrent_scans = 3
output_dir = "/var/lib/raven-nest"
Read more:
- config/default.toml is a commented starting point,
- docs/USAGE.md documents every key.
Documentation
| Document | What is in it |
|---|---|
| docs/INSTALL.md | container, binary, source and Arch installs, config lookup, volumes, nmap in the image |
| docs/USAGE.md | client setup, the configuration reference, every tool parameter, troubleshooting |
| docs/SAFETY.md | each control, what it does not cover, the audit log format, a hardening checklist |
| docs/LOCAL_AI_INTEGRATION.md | running with Ollama or LM Studio, tested models, context budgets, prompting |
| docs/METASPLOIT.md | Metasploit setup and the msf_* tool reference |
| docs/DATA_FLOW.md | which module owns which state, and what leaves the machine |
| docs/MCP_TOOLS.md | the tool names and descriptions exactly as declared in the source |
| CHANGELOG.md | release history |
| ROADMAP.md | what is planned and what has shipped |
Community and contributing
- Questions and ideas go to Discussions. docs/DISCUSSIONS.md says what belongs in which category.
- Bugs go to Issues.
- Security problems are reported privately. See SECURITY.md.
- Code is welcome. CONTRIBUTING.md covers building, testing, the checks a pull request has to pass, and how to add a tool wrapper without opening a hole.
Project status
- Pre-1.0 and maintained by one person. Minor versions can change tool parameters and config keys, and the changelog says when they do.
- x86_64 Linux only. That goes for both the container image and the release binary. The code has not been tested on macOS or Windows.
- Client and server share a version number. raven-nest-client is released together with the server.
Licence
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
