Packages and Binaries:

mcp-kali-server

This package contains a lightweight API bridge that connects MCP Clients (e.g: Claude Desktop, 5ire) to the API server which allows excuting commands on a Linux terminal.

This allows the MCP to run terminal commands like nmap, nxc or any other tool, interact with web applications using tools like curl, wget, gobuster. And perform AI-assisted penetration testing, solving CTF web challenge in real time, helping in solving machines from HTB or THM.

Installed size: 56 KB
How to install: sudo apt install mcp-kali-server

Dependencies:
  • python3
  • python3-flask
  • python3-mcp
  • python3-requests
kali-server-mcp
root@kali:~# kali-server-mcp -h
usage: kali_server.py [-h] [--debug] [--port PORT]

Run the Kali Linux API Server

options:
  -h, --help   show this help message and exit
  --debug      Enable debug mode
  --port PORT  Port for the API server (default: 5000)

mcp-server
root@kali:~# mcp-server -h
usage: mcp_server.py [-h] [--server SERVER] [--timeout TIMEOUT] [--debug]

Run the Kali MCP Client

options:
  -h, --help         show this help message and exit
  --server SERVER    Kali API server URL (default: http://localhost:5000)
  --timeout TIMEOUT  Request timeout in seconds (default: 300)
  --debug            Enable debug logging



Updated on: 2025-Sep-02