Skip to main content
Glama

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

npm install -g kali-mcp-server

Local Installation

git clone <repository-url>
cd kali-mcp-server
npm install
npm start

MCP 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

  1. run_kali_command - Execute any command inside Kali container

  2. start_kali_container - Start the Kali container

  3. stop_kali_container - Stop the Kali container

  4. kali_container_status - Check container status

Package Management

  1. install_kali_package - Install Kali packages via apt

  2. update_kali_system - Update Kali system packages

Network & Service Scanning

  1. kali_network_scan - Network scanning (nmap, masscan)

  2. kali_service_scan - Service scanning and enumeration

Information Gathering

  1. kali_information_gathering - OSINT and reconnaissance (whois, dnsrecon, theharvester)

Vulnerability Assessment

  1. kali_vulnerability_scan - Vulnerability scanning (nikto, dirb, gobuster)

Web Application Security

  1. kali_web_scan - Web app testing (sqlmap, dirb, nikto, wpscan)

Password Cracking

  1. kali_password_crack - Password tools (john, hashcat, hydra)

Wireless Tools

  1. kali_wireless_tools - WiFi analysis (airodump-ng, aireplay-ng)

Digital Forensics

  1. kali_forensics - Forensics tools (volatility, autopsy, binwalk)

Exploitation Tools

  1. kali_exploitation - Exploit development (metasploit, searchsploit)

Social Engineering

  1. kali_social_engineering - SE tools (setoolkit, king-phisher)

Reverse Engineering

  1. kali_reverse_engineering - Advanced RE tools (radare2, gdb, strace, ltrace, checksec, patchelf)

Stress Testing

  1. kali_stress_testing - DoS tools (slowloris, torshammer)

Network Sniffing & Spoofing

  1. kali_sniffing_spoofing - Sniffing tools (wireshark, tcpdump, arpspoof)

Universal Command Tool

  1. 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 public

License

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 tools
install_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

    C2.5/5.0

    Scored across 25 tools

    Disambiguation3/5

    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.

    Naming Consistency4/5

    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.

    Tool Count2/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 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
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables 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
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      2
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides 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.
      -