Kali MCP Server
Runs Kali Linux penetration testing tools inside isolated Docker containers, with tools for container management, starting/stopping containers, and executing security commands in a containerized environment.
Provides comprehensive access to Kali Linux penetration testing tools including network scanning, vulnerability assessment, web application security testing, password cracking, wireless analysis, digital forensics, exploitation tools, and reverse engineering capabilities.
Provides access to Metasploit framework for exploit development and testing through the kali_exploitation tool.
Enables network packet analysis and sniffing through the kali_sniffing_spoofing tool alongside other network capture utilities.
Click on "Deploy 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., "@Kali MCP Server scan my local network for open ports and services"
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.
Kali MCP Server π
A powerful MCP (Model Context Protocol) server that provides access to Kali Linux penetration testing tools through Docker containers.
Features
π 20 Specialized Tools for comprehensive Kali Linux operations
π³ Docker Integration - Runs Kali in isolated containers
π Secure Execution - Commands run inside Kali container
π¦ Easy Installation - Available globally via npm
π οΈ Complete Toolkit - All major Kali Linux tool categories
Related MCP server: Kali MCP Server
Installation
Global Installation (Recommended)
npm install -g kali-mcp-serverLocal Installation
git clone <repository-url>
cd kali-mcp-server
npm install
npm startMCP Configuration
Add this to your .kilocode/mcp.json or any MCP configuration:
{
"mcpServers": {
"kali": {
"command": "npx",
"args": ["-y", "kali-mcp-server"]
}
}
}Available Tools (20 Total!)
Core Container Management
run_kali_command- Execute any command inside Kali containerstart_kali_container- Start the Kali containerstop_kali_container- Stop the Kali containerkali_container_status- Check container status
Package Management
install_kali_package- Install Kali packages via aptupdate_kali_system- Update Kali system packages
Network & Service Scanning
kali_network_scan- Network scanning (nmap, masscan)kali_service_scan- Service scanning and enumeration
Information Gathering
kali_information_gathering- OSINT and reconnaissance (whois, dnsrecon, theharvester)
Vulnerability Assessment
kali_vulnerability_scan- Vulnerability scanning (nikto, dirb, gobuster)
Web Application Security
kali_web_scan- Web app testing (sqlmap, dirb, nikto, wpscan)
Password Cracking
kali_password_crack- Password tools (john, hashcat, hydra)
Wireless Tools
kali_wireless_tools- WiFi analysis (airodump-ng, aireplay-ng)
Digital Forensics
kali_forensics- Forensics tools (volatility, autopsy, binwalk)
Exploitation Tools
kali_exploitation- Exploit development (metasploit, searchsploit)
Social Engineering
kali_social_engineering- SE tools (setoolkit, king-phisher)
Reverse Engineering
kali_reverse_engineering- Advanced RE tools (radare2, gdb, strace, ltrace, checksec, patchelf)
Stress Testing
kali_stress_testing- DoS tools (slowloris, torshammer)
Network Sniffing & Spoofing
kali_sniffing_spoofing- Sniffing tools (wireshark, tcpdump, arpspoof)
Universal Command Tool
run_kali_command- Execute any Kali command directly
Use Cases
Penetration Testing - Complete toolkit in isolated environment
Network Security - Scanning, sniffing, and spoofing tools
Web Application Security - SQL injection, directory scanning, vulnerability assessment
Wireless Security - WiFi analysis and attack tools
Digital Forensics - Memory analysis, disk forensics, evidence collection
Password Security - Hash cracking, brute force testing
Reverse Engineering - Binary analysis, debugging, disassembly, decompilation
Social Engineering - Phishing, credential harvesting tools
Vulnerability Research - Exploit development and testing
Security Training - Learn ethical hacking in safe environment
CTF Challenges - Complete toolkit for capture the flag competitions
Security Features
π Commands execute inside Docker container
π‘οΈ Isolated from host system
π Full audit trail of executed commands
ποΈ Automatic cleanup of containers
Requirements
Docker installed and running
Node.js 16+
Internet connection (for npm packages)
Development
# Clone and setup
git clone <repository-url>
cd kali-mcp-server
npm install
# Run locally
npm start
# Publish to npm (after npm login)
npm publish --access publicLicense
MIT License - See LICENSE file for details.
Support
For issues and feature requests, please create an issue in the repository.
authors:vasanth, meghana
β οΈ Disclaimer: This tool is for educational and authorized penetration testing only. Ensure you have permission before scanning any networks or systems.
Available Tools
25 toolsinstall_kali_packageC
Install a package in Kali Linux using apt
Inputs: package (required).
kali_archive_toolsC
Archive and compression tools
Inputs: tool (required), operation, archive, options.
kali_container_statusB
Check if Kali container is running
Inputs: no named parameters.
kali_crypto_toolsC
Cryptography and encoding tools
Inputs: tool (required), operation, input, options.
kali_ctf_toolsC
CTF-specific tools for capture the flag challenges
Inputs: tool (required), file, options.
kali_enumeration_toolsC
Enumeration and service detection tools
Inputs: tool (required), target (required), options.
kali_file_analysisC
File analysis and extraction tools
Inputs: tool (required), file (required), options.
kali_forensicsD
Digital forensics tools
Inputs: tool (required), file, options.
kali_information_gatheringC
Gather information about target (whois, dns, etc.)
Inputs: target (required), tool.
kali_network_exploitationC
Network exploitation and post-exploitation tools
Inputs: tool (required), target, options.
kali_network_scanC
Perform a network scan using Kali tools
Inputs: target (required), scan_type.
kali_password_crackD
Password cracking tools
Inputs: tool (required), file, options.
kali_reverse_engineeringD
Reverse engineering tools
Inputs: tool (required), file, options.
kali_service_scanC
Scan for open services on target
Inputs: target (required).
kali_sniffing_spoofingC
Network sniffing and spoofing tools
Inputs: tool (required), interface, options.
kali_social_engineeringD
Social engineering tools
Inputs: tool (required), options.
kali_stress_testingC
Stress testing tools
Inputs: tool (required), target (required), options.
kali_vulnerability_scanC
Scan for vulnerabilities using Kali tools
Inputs: target (required), tool.
kali_web_exploitationD
Web exploitation and analysis tools
Inputs: tool (required), target, options.
kali_web_scanC
Web application security scanning
Inputs: target (required), tool, options.
kali_wireless_toolsC
Wireless network analysis tools
Inputs: tool (required), interface, options.
run_kali_commandC
Execute a command inside the Kali Linux container
Inputs: command (required), workdir.
start_kali_containerA
Start the Kali Linux container if not running
Inputs: no named parameters.
stop_kali_containerB
Stop the Kali Linux container
Inputs: no named parameters.
update_kali_systemB
Update Kali Linux system packages
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 25 tools
The tools are organized by functional categories (e.g., enumeration, web exploitation, forensics), which helps distinguish them, but there is significant overlap in purpose. For example, 'kali_network_scan' and 'kali_service_scan' both involve scanning, and 'kali_web_exploitation' and 'kali_web_scan' both target web applications, which could lead to confusion in tool selection.
Most tools follow a consistent 'kali_*' prefix with descriptive names (e.g., 'kali_forensics', 'kali_password_crack'), but there are deviations like 'install_kali_package', 'run_kali_command', 'start_kali_container', and 'update_kali_system' that use verb-first patterns, breaking the consistency. Overall, the naming is mostly predictable but not perfectly uniform.
With 25 tools, the count is high and feels heavy for the server's purpose of managing Kali Linux tools and containers. Many tools are narrowly scoped to specific tool categories, which could be consolidated or grouped, making the set overwhelming and potentially redundant for typical agent workflows.
The tool set covers a broad range of Kali Linux functionalities, including installation, updates, container management, and various security tool categories (e.g., scanning, exploitation, forensics). However, there are minor gaps, such as no explicit tool for managing tool configurations or handling logs, but core operations are well-represented for the domain.
Maintenance
Related MCP Connectors
AI pentesting: run scans, triage vulnerabilities, review PRs, manage schedules and assets.
Offline methodology engine for authorized penetration testing, CTF, and security research.
Security scanner for AI agents and MCP servers: injection, jailbreak, tool abuse.
Agent rental platform: web-vuln scanning, OSINT and red-team tools via subscription.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides secure access to Kali Linux security tools through a dockerized environment for authorized penetration testing and defensive security. Enables network scanning, web application testing, system enumeration, and credential testing with built-in input sanitization and network restrictions.MIT
- 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
- FlicenseNot gradedqualityDmaintenanceProvides access to over 40 industry-standard penetration testing tools, including Nmap, SQLMap, and Metasploit, within an isolated Kali Linux Docker container. It enables security professionals to perform comprehensive network reconnaissance, web application testing, and vulnerability research through natural language commands.-