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.
š“ RedTeam MCP ā Kali Linux Security Assistant & Agentic Server
An LLM-driven Model Context Protocol (MCP) server that connects AI assistants and IDEs (Cursor, Claude Desktop, VS Code, Kiro, Antigravity) to a suite of 42 Kali Linux & bug bounty security tools running inside a container.
It supports both direct tool calls (e.g., "Run an nmap scan on scanme.nmap.org") and autonomous multi-step pentesting powered by local Ollama models (pentest_target).
š ļø Included Tools & Capabilities (42 MCP Tools)
1. Network Recon & Port Scanning
nmap_scan: Detailed service and script port scanning.rustscan: Ultra-fast port discovery piped to Nmap.naabu_scan: Fast SYN-based port scanner, ideal as a first pass before nmap on large ranges.
2. OSINT, DNS & Subdomain Enumeration
subfinder_enum: Passive subdomain discovery.amass_enum: In-depth DNS enumeration & attack surface mapping.dnsrecon_enum: DNS record reconnaissance.dnsx_resolve: Fast bulk DNS resolution & filtering of subdomain lists.alterx_permute: Wordlist-based subdomain permutation for finding non-obvious hosts.asnmap_lookup: Maps a domain/org to its ASN and owned IP ranges.uncover_search: Queries Shodan/Censys/Fofa-style search engines for exposed hosts.theharvester_osint: Public email, IP, and domain harvesting.httpx_probe: Live HTTP service probing, status codes, titles, tech-detect.
3. Web Vulnerability & Technology Analysis
nikto_scan: Web server vulnerability auditing.nuclei_scan: Template-based vulnerability scanner (CVEs, exposures, misconfigs).whatweb_scan: Web technology & CMS fingerprinting.sslscan_audit: SSL/TLS cipher & certificate inspection.wpscan_scan: WordPress plugin, theme, and user enumeration.
4. Content Discovery, Crawling & URL Mining
gobuster_dir: Directory & file brute-forcing.ffuf_fuzz: Endpoint, parameter, and header fuzzing.feroxbuster: Recursive web content discovery.arjun_params: Hidden HTTP parameter discovery.katana_crawl: Modern JS-aware crawler for discovering real, linked endpoints.gau_urls: Pulls known URLs for a domain from Wayback Machine, Common Crawl & OTX.waybackurls_fetch: Fetches archived historical URLs from the Wayback Machine.
5. Vulnerability Exploitation & Injection Testing
sqlmap_scan: Automated SQL injection detection & testing.commix_scan: OS command injection testing.dalfox_xss: Automated reflected/DOM XSS scanning and parameter mining.hydra_brute: Multi-protocol credential brute-forcing.kerbrute: Active Directory Kerberos user enumeration.msf_auxiliary: Non-interactive Metasploit module runner.
6. Subdomain Takeover, Secrets & Visual Recon
subzy_takeover: Detects hijackable/dangling subdomains pointing at unclaimed services.gitleaks_scan: Scans for hardcoded secrets, API keys, and credentials.gowitness_screenshot: Bulk screenshots live web targets for fast visual triage.
7. Out-of-Band Vulnerability Detection
interactsh_oob: Blind/OOB interaction detection for SSRF, XXE, and blind RCE via a unique callback domain.
8. Custom Requests
curl_request: Custom raw HTTP request execution (headers, methods, body, TLS verification toggle).
9. CVE Intelligence & Database
cve_stats: View local CVE database metrics.
10. Agentic Autonomous Pentesting & Memory
pentest_target: Plain-English autonomous multi-step security goal planning loop (Ollama).generate_report: Autonomous testing + Markdown/HTML report generation.export_report: Save penetration testing reports directly to/app/reports/.search_findings: Search SQLite history of past scan findings.get_attack_surface: Aggregated target intelligence lookup.list_sessions: Session history & audit trail.
Related MCP server: Zebbern Kali MCP
š» Connecting RedTeam MCP to Claude Desktop (Windows)
You can connect RedTeam MCP directly to Claude Desktop on Windows so Claude can use all Kali tools directly in conversation.
Step-by-Step Configuration Guide:
Open Claude Desktop Settings:
Launch Claude Desktop.
Click on your profile/icon or open Settings.
Click on Developer in the left menu.
Click Edit Config (this opens
claude_desktop_config.jsonin your default text editor).
(Alternatively, open
%APPDATA%\Claude\claude_desktop_config.jsonin Notepad or File Explorer).Paste the MCP Server Configuration: Add the
redteam-kaliserver entry to your JSON file:{ "mcpServers": { "redteam-kali": { "command": "docker", "args": [ "exec", "-i", "redteam-mcp", "/app/.venv/bin/python", "/app/src/server.py" ], "disabled": false, "autoApprove": [] } } }Save & Restart:
Save
claude_desktop_config.json.Completely close and restart Claude Desktop.
You will see a hammer/tool icon indicating
redteam-kalitools are connected!
āļø Connecting to Other IDEs
IDE | Config File Location |
Cursor |
|
VS Code / Kiro |
|
Roo Code / Antigravity |
|
Configuration JSON block for all IDEs:
{
"mcpServers": {
"redteam-kali": {
"command": "docker",
"args": [
"exec",
"-i",
"redteam-mcp",
"/app/.venv/bin/python",
"/app/src/server.py"
],
"disabled": false,
"autoApprove": []
}
}
}š Quick Start Guide
1. Build the Docker Image
docker build -t redteam-mcp:latest .2. Start the Container
Windows (PowerShell):
.\run.ps1Linux / macOS:
bash run.sh3. Verify Container Status
docker psThe container redteam-mcp will show status Up.
4. Test Server Execution (PowerShell Helper)
.\mcp-helper-fixed.ps1 "nmap scan scanme.nmap.org"šļø Architecture & Modules
redteam-mcp/
āāā Dockerfile # Kali Linux Docker runtime image
āāā requirements.txt # FastMCP, Ollama SDK, Pydantic, HTTPX, AIOSQLite, Jinja2
āāā run.ps1 / run.sh # Container launch scripts
āāā mcp_config.json # Root IDE MCP configuration template
āāā src/
āāā server.py # Main MCP Server entry point (42 tools registered)
āāā agent/ # PentestAgent Ollama loop & reasoning prompts
āāā tools/ # Shell executor, output formatter, tool registry
āāā parsers/ # Typed Pydantic parsers (Nmap, Nuclei, Nikto, WhatWeb, etc.)
āāā memory/ # SQLite store & NVD CVE cross-reference engine
āāā reporting/ # Markdown & HTML report generators
āāā security/ # Target allowlist, sliding-window rate limiter, JSONL audit loggerš”ļø Security & Target Controls
The server includes built-in safety controls configured via environment variables:
REDTEAM_ALLOWED_TARGETS: Comma-separated list of IP addresses, CIDR ranges, or domain names permitted for scanning. (Leave empty for open lab testing).REDTEAM_RATE_LIMIT: Sliding-window tool call rate limiter per minute (Default:0/ unlimited).REDTEAM_AUDIT_LOG: Path to append-only audit log (/app/data/audit.log).
š Changelog note (v2 doc sync)
Compared against the live registered tool list as of this update:
Added to docs (were live but undocumented):
naabu_scan,dnsx_resolve,alterx_permute,asnmap_lookup,uncover_search,katana_crawl,gau_urls,waybackurls_fetch,dalfox_xss,subzy_takeover,gitleaks_scan,gowitness_screenshot,interactsh_oobDocumented but not currently live ā confirm if intentional:
wafw00f_detect,find_cves,sync_cve_db
ā ļø Legal Notice
Always ensure you have explicit written authorization before performing security assessments on any host, application, or network. Scanning targets without permission is illegal.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceAn MCP server that exposes over 20 standard penetration testing utilities, such as Nmap, SQLMap, and OWASP ZAP, as callable tools for AI agents. It enables natural language control over complex security workflows for automated and interactive penetration testing.93
- AlicenseAqualityDmaintenanceA Docker-based MCP server that grants AI agents direct access to a comprehensive Kali Linux penetration testing toolkit through an isolated container environment.10041MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that turns Kali Linux into an AI-driven penetration testing powerhouse, enabling control of 40+ offensive security tools via natural language.
- AlicenseNot gradedqualityBmaintenanceAI-powered penetration testing framework that can operate as an MCP server, enabling automated security assessments through natural language commands.2MIT
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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