
MCP-Kali-Server
by Wh0am123·★ 688·Score 52
MCP Kali Server connects AI agents to Linux systems for penetration testing and CTF challenges.
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:
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 READMEexecute_commandExecute terminal commands on a Linux machine.
dirb_scanPerform directory enumeration using Dirb.
enum4linux_scanEnumerate information about Windows and Samba hosts.
gobuster_scanDiscover directories and DNS names using Gobuster.
hydra_brutePerform brute force attacks on various services using Hydra.
john_ripperCrack passwords using John the Ripper.
metasploit_exploitUse Metasploit Framework for penetration testing.
nikto_scanScan web servers for known vulnerabilities with Nikto.
nmap_scanNetwork scanning and host discovery using Nmap.
sqlmap_scanDetect and exploit SQL injection vulnerabilities with SQLMap.
wpscan_scanScan WordPress websites for vulnerabilities with WPScan.
web_requestMake custom HTTP requests using curl or similar tools.
Comparable tools
Installation
Installation
On your Kali Machine
sudo apt install mcp-kali-server
kali-server-mcpFor 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.pyOn your MCP client machine
For local setup:
./client.py --server http://127.0.0.1:5000For remote setup with SSH tunnel:
ssh -L 5000:localhost:5000 user@LINUX_IP
./client.py --server http://127.0.0.1:5000Claude 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
Last updated · Auto-generated from public README + GitHub signals.