redteam-mcp
Allows detection and analysis of WAF configurations on Cloudflare-protected websites using tools like wafw00f and nuclei.
Enables subdomain enumeration and attack surface mapping for tesla.com using tools like subfinder, amass, and gobuster.
Provides WordPress vulnerability scanning and enumeration using wpscan, including detection of vulnerable plugins, themes, and users.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@redteam-mcpScan ports on scanme.nmap.org"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🔴 Red Team MCP Server
A powerful penetration testing MCP server that runs 20 real hacking tools inside a Kali Linux Docker container and connects them directly to AI assistants like Cursor, Claude, or any MCP-compatible IDE.
Instead of typing commands manually, you just ask in plain English:
"Scan ports on 192.168.1.1" "Find subdomains of example.com" "Check if this site has SQL injection"
The AI calls the right tool, runs it in Kali Linux, and gives you the results.
🛠️ Tools Included (20 total)
Tool | Purpose |
nmap | Port & service scanning |
gobuster | Directory brute-forcing |
ffuf | Web fuzzing |
sqlmap | SQL injection |
nikto | Web vulnerability scanning |
nuclei | Template-based vuln scanning |
whatweb | Technology fingerprinting |
subfinder | Subdomain enumeration |
httpx | HTTP probing |
wpscan | WordPress scanning |
amass | Attack surface mapping |
hydra | Password brute-forcing |
curl | Raw HTTP requests |
dnsrecon | DNS enumeration |
theHarvester | OSINT harvesting |
wafw00f | WAF detection |
sslscan | SSL/TLS auditing |
commix | Command injection |
arjun | Hidden parameter discovery |
metasploit | Auxiliary module runner |
✅ Requirements
Before you start, make sure you have these installed:
Docker Desktop — https://www.docker.com/products/docker-desktop (enable Linux containers)
Python 3.11 — https://www.python.org/downloads/release/python-3110 (only needed locally if you want to edit the server; the container handles everything else)
Any MCP-compatible IDE: Cursor, VS Code + Kiro, Claude Desktop, etc.
Python version note: The project is written for Python 3.11+. The Docker container uses Kali's built-in Python 3 (3.12). Both work fine.
🚀 Installation — Step by Step
Step 1 — Clone the repo
git clone https://github.com/YOUR_USERNAME/redteam-mcp.git
cd redteam-mcpStep 2 — Build the Docker image
This downloads Kali Linux and installs all 20 tools. Takes 10–20 minutes the first time.
docker build -t redteam-mcp:latest .You only ever need to run this once (or when you update the project).
Step 3 — Start the container
Windows (PowerShell):
.\run.ps1Mac / Linux:
bash run.shVerify it's running:
docker psYou should see redteam-mcp with status Up.
Step 4 — Connect your IDE
Open your MCP config file in your IDE and paste this:
{
"mcpServers": {
"redteam-kali": {
"command": "docker",
"args": [
"exec", "-i", "redteam-mcp",
"/app/.venv/bin/python", "/app/src/server.py"
],
"disabled": false,
"autoApprove": []
}
}
}Where to paste it:
IDE | Config file location |
Cursor |
|
VS Code + Kiro | Already at |
Claude Desktop |
|
After pasting, reload your IDE window (Ctrl+Shift+P → Reload Window).
Step 5 — Start asking questions
You're ready. Just type in natural language:
Scan ports on scanme.nmap.org
Find subdomains of tesla.com
Check if http://testphp.vulnweb.com has SQL injection
Detect the WAF on cloudflare.com
Run a nikto scan on http://testphp.vulnweb.com📋 Daily Usage Guide
Start the project
.\run.ps1Then reload your IDE window.
Stop when done
docker stop redteam-mcpRestart the container
docker restart redteam-mcpFull reset (if something breaks)
docker rm -f redteam-mcp
.\run.ps1Rebuild the image (only after editing Dockerfile or server.py)
docker rm -f redteam-mcp
docker build -t redteam-mcp:latest .
.\run.ps1Check container logs
docker logs redteam-mcpOpen a shell inside the container
docker exec -it redteam-mcp /bin/bash⚠️ Legal Notice
Only use these tools against systems you own or have explicit written permission to test. Unauthorized scanning is illegal. The legal test target used in examples is scanme.nmap.org (provided by the nmap project for this purpose).
📁 Project Structure
redteam-mcp/
├── src/
│ └── server.py # MCP server with all 20 tools
├── Dockerfile # Kali Linux multi-stage build
├── requirements.txt # Python deps (mcp only)
├── run.ps1 # Start container (Windows)
├── run.sh # Start container (Mac/Linux)
└── .kiro/
└── settings/
└── mcp.json # IDE MCP configThis server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/samirjani03/redteam-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server