Parrot MCP
Runs security tools inside a Docker container based on the official parrotsec/security image. Provides container management (pull, create, start, stop, remove) and keeps a single named container alive across commands so installed tools, wordlists and loot persist between calls.
Runs non-interactive Metasploit console sessions on the target machine, allowing exploit and module execution with the exact command, exit code and output returned.
Enumerates WordPress installations and detects their known vulnerabilities via a WPScan wrapper, with extra arguments supported for custom flags.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Parrot MCP
An MCP server that lets an AI assistant run Parrot OS security tools for you.
You point it at a machine — this one, a Parrot VM over SSH, or a Parrot
container — and the assistant can run nmap, gobuster, sqlmap, metasploit and
the rest through a normal MCP connection. It also has run_command, so
anything installed on the box is reachable, not just the tools I wrapped.
Only use this on systems you own or have written permission to test. You are responsible for what you run.
What you get
32 tools. 23 wrappers with sensible defaults (nmap, nikto, gobuster, wpscan, sqlmap, searchsploit, hydra, hashcat, john, anonsurf, ...) plus
run_commandand a handful of management tools.Three places to run. Local, SSH to a VM, or a Docker container.
A container that remembers. The Docker target keeps one named container alive across commands, so downloaded wordlists, msf sessions and loot are still there on the next call. Name a new container when you want a clean box.
An audit log. Optional, one JSON line per command, with the command text, exit code and duration. Useful when you have to hand over a record.
stdio or HTTP. Let your client start the server, or run it once and connect from anywhere with a bearer token.
Related MCP server: Kali Linux MCP Server
Install
From source for now:
git clone https://github.com/daoudiyounes/parrot-mcp
cd parrot-mcp
pip install .pip install parrot-mcp and uvx parrot-mcp will work once the package is on
PyPI — see PUBLISHING.md.
Connect it
Three ways. Pick the one that matches where Parrot lives.
Docker. Uses the official parrotsec/security image. Nothing to set up; the
container is created on first use and reused:
claude mcp add parrot -- parrot-mcp --mode docker --container parrotSSH to a VM. Use a key, a password, or your ssh-agent:
claude mcp add parrot -- parrot-mcp --mode ssh --host 192.168.56.101 --user root --key ~/.ssh/parrot
claude mcp add parrot -- parrot-mcp --mode ssh --host 192.168.56.101 --user root --password secretLocal. When Parrot is the machine you're on:
claude mcp add parrot -- parrot-mcp --mode localPrefer an env var over --password if other people use the machine — command
line arguments show up in the process list. Every flag has a PARROT_MCP_*
equivalent, and the flag wins when both are set.
For Claude Desktop, Cursor and Cline the JSON is in examples/.
Run the server on the network
If you want the server itself running on the Parrot box:
export PARROT_MCP_AUTH_TOKEN=$(openssl rand -hex 32)
parrot-mcp --mode local --transport http --http-host 0.0.0.0Then point your client at http://<parrot-ip>:8420/mcp with
Authorization: Bearer <token>.
There is no TLS. Put a reverse proxy in front of it if it leaves your network. The server won't start on a non-loopback address without a token, but that is a floor, not a guarantee — read SECURITY.md.
How it works
AI client ──stdio or HTTP──► parrot-mcp ──► local shell
├──► SSH (paramiko)
└──► docker exec (named container)Everything goes through one executor. The tool response always includes the exact command, the exit code, stdout and stderr, so you can see what happened rather than trusting a summary.
Tools
Recon
Tool | What it does |
| Port and service scans, including vuln scripts |
| Fast port sweeps on large ranges |
| Subdomain enumeration (passive by default) |
| Subdomains from search engines and passive DNS |
| Registration data |
| DNS records, including zone transfer attempts |
Web
Tool | What it does |
| Web server misconfigurations and known issues |
| Fingerprint CMS, frameworks and servers |
| Path, DNS and vhost brute force |
| WordPress enumeration and known vulns |
| Path brute force with its own wordlist |
| TLS versions, ciphers and certificate checks |
Exploitation
Tool | What it does |
| Search the local Exploit-DB mirror |
| SQL injection detection and exploitation |
| Non-interactive Metasploit console |
| Password brute force against a service |
| GPU/CPU hash cracking |
| CPU hash cracking for shadow files and archives |
Anonymity and OSINT
Tool | What it does |
| Start, stop or change AnonSurf |
| Show or spoof a MAC address |
| Run a command through proxychains |
| Is Tor up, and is traffic going through it |
| Emails, hosts and subdomains from public sources |
Management
Tool | What it does |
| Any shell command on the target |
| Switch local, SSH or Docker at runtime |
| Current target, timeouts and detected OS |
| Host, resources and which tools are installed |
| OK or MISS for each bundled tool |
| Pull, create, start, stop or remove the container |
| List a directory on the target |
| File type, size, SHA256 and MD5 |
| Help output for any installed tool |
Most tools take extra_args for flags I didn't wrap. Use get_tool_help when
you're not sure what a tool accepts.
Prompts
Six prompts cover common workflows: pentest_recon, web_assessment,
vuln_triage, anonymous_recon, full_engagement and report_findings.
They show up as slash commands in clients that support prompts.
Missing tools
The official parrotsec/security image ships 11 of the 23 wrapped binaries. The
other 12 — amass, sublist3r, dnsrecon, dirsearch, sslyze, searchsploit, hydra,
anonsurf, macchanger, proxychains4, theHarvester and tor — are not in it.
You don't need a custom image to fix that. The docker target keeps one container alive, so you install a tool once and it stays:
set_execution_target(target="docker", docker_container="parrot")
run_command(command="apt-get update && apt-get install -y hydra exploitdb")From then on hydra_attack and searchsploit_search work in that container.
Installing everything up front is one command:
run_command(command="apt-get update && apt-get install -y hydra exploitdb amass sublist3r dnsrecon dirsearch anonsurf anonsurf-cli macchanger proxychains4 theharvester tor seclists && gunzip -f /usr/share/wordlists/rockyou.txt.gz", timeout_seconds=900)sslyze has no apt package; pip install sslyze inside the container instead.
When a wrapped tool is missing, the error tells you the package to install, e.g.
note: 'searchsploit' is not installed ... sudo apt install exploitdb.
check_tools lists what is present and what is missing at any time.
Things it does not do
Worth knowing before you rely on it:
No scope enforcement. Nothing stops a scan at an arbitrary host. Keep targets inside your authorization; the tool can't enforce that for you.
The guardrail is a regex. It refuses host-destructive commands like
rm -rf /andddto a disk, across every tool. It is not a sandbox.No long sessions. It runs a command and returns. Reverse shells, C2 callbacks and interactive sessions don't fit this model.
Anonymity tools need a real host. AnonSurf and Tor want systemd and iptables, which a container doesn't have. Use the SSH target for those.
Configuration
Every setting is a flag and an env var.
Flag | Env var | Default | What it does |
|
|
|
|
|
|
| Container name; |
|
|
| Image for the container |
|
|
| SSH host |
|
|
| SSH port |
|
|
| SSH user |
|
| SSH password | |
|
| Private key path | |
|
| Key passphrase | |
|
|
| Per-command timeout in seconds |
|
|
| Output clipped per command |
|
| JSON line per command | |
|
| off | Run everything unchecked |
|
|
|
|
|
|
| HTTP bind address |
|
|
| HTTP port |
|
| Bearer token for HTTP |
If something goes wrong
MISS hydra and friends. The image you're pointed at doesn't have the
tool. Build the bundled image, or sudo apt install hydra on the target.
rockyou.txt is missing. Parrot ships it gzipped:
sudo gunzip /usr/share/wordlists/rockyou.txt.gz.
SYN scans say "operation not permitted". Either run as root, use
scan_type="tcp_connect", or create the container with
docker_manage(action="create", extra_args="--cap-add NET_RAW --network host").
Docker daemon not reachable. Start Docker and make sure your user is in the
docker group.
401 from the HTTP endpoint. The header must be exactly
Authorization: Bearer <token>.
Output ends with [output clipped...]. That's the 30k limit. Raise
--max-output or narrow the query.
Target looks unreachable. get_execution_status will say so. Check the SSH
host, key or container name.
Development
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest -qLicence
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Runtime permission, approval, and audit layer for AI agent tool execution.
AI pentesting: run scans, triage vulnerabilities, review PRs, manage schedules and assets.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to execute penetration testing commands and security tools on Kali Linux remotely. Supports automated reconnaissance, vulnerability scanning, and CTF solving through integration with 25+ offensive security tools like nmap, gobuster, and nuclei.16-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform penetration testing and security assessments by exposing 60+ Kali Linux security tools including network scanning, web security testing, password cracking, exploitation frameworks, and OSINT capabilities through an AI-friendly interface.2MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to perform authorized penetration testing and security assessments by exposing 20+ Kali Linux security tools (nmap, sqlmap, gobuster, hydra, etc.) through a safe, validated interface with command allowlists, rate limiting, and input sanitization.191MIT
- FlicenseBqualityDmaintenanceEnables AI assistants to perform penetration testing by running real Kali Linux security tools and returning structured, verified findings instead of raw terminal output.100-