MCP Catalogs
HomeMCP-Kali-Server screenshot

MCP-Kali-Server

by Wh0am123·688·Score 52

MCP Kali Server connects AI agents to Linux systems for penetration testing and CTF challenges.

securitydeveloper-toolsai-llm
142
Forks
4
Open issues
2 mo ago
Last commit
2d ago
Indexed

Overview

MCP Kali Server is a lightweight API bridge that connects MCP clients to a Kali Linux machine, enabling AI-assisted penetration testing and solving CTF challenges. It provides controlled command execution capabilities, allowing AI models to execute terminal commands interact. The server integrates various security tools like Nmap, Metasploit, and sqlmap through a secure MCP interface. It supports both local and remote setups with proper security considerations.

Try asking AI

After installing, here are 3 things you can ask your AI assistant:

you:AI-assisted penetration testing with security tools like Nmap and Metasploit
you:Solving CTF challenges by executing commands and capturing flags
you:Automating reconnaissance and exploitation tasks for bug bounty hunting

When to choose this

Choose this for AI-assisted penetration testing, CTF automation, or when you need to connect AI models directly to Kali Linux security tools.

When NOT to choose this

Don't use this if you need a broader security solution beyond penetration testing, or if you can't implement proper security measures for remote access.

Tools this server exposes

12 tools extracted from the README
  • execute_command

    Execute terminal commands on a Linux machine.

  • dirb_scan

    Perform directory enumeration using Dirb.

  • enum4linux_scan

    Enumerate information about Windows and Samba hosts.

  • gobuster_scan

    Discover directories and DNS names using Gobuster.

  • hydra_brute

    Perform brute force attacks on various services using Hydra.

  • john_ripper

    Crack passwords using John the Ripper.

  • metasploit_exploit

    Use Metasploit Framework for penetration testing.

  • nikto_scan

    Scan web servers for known vulnerabilities with Nikto.

  • nmap_scan

    Network scanning and host discovery using Nmap.

  • sqlmap_scan

    Detect and exploit SQL injection vulnerabilities with SQLMap.

  • wpscan_scan

    Scan WordPress websites for vulnerabilities with WPScan.

  • web_request

    Make custom HTTP requests using curl or similar tools.

Comparable tools

mcp-shell-servermcp-aws-pentestnuclei-mcpmetasploit-mcp

Installation

Installation

On your Kali Machine

sudo apt install mcp-kali-server
kali-server-mcp

For bleeding edge:

git clone https://github.com/Wh0am123/MCP-Kali-Server.git
cd MCP-Kali-Server
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
./server.py

On your MCP client machine

For local setup:

./client.py --server http://127.0.0.1:5000

For remote setup with SSH tunnel:

ssh -L 5000:localhost:5000 user@LINUX_IP
./client.py --server http://127.0.0.1:5000

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "kali": {
      "command": "python3",
      "args": ["/path/to/MCP-Kali-Server/client.py"],
      "env": {
        "MCP_SERVER_URL": "http://localhost:5000"
      }
    }
  }
}

Compare MCP-Kali-Server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.