LabscoMCP early access ↗
TriV3MCP SERVER

MCP Kali Server

Drive Kali Linux penetration-testing tools and manage SSH and reverse-shell sessions from an MCP client.

by TriV3 ↗Vulnerability Scanning & Application SecurityCommunity

LABSCO SUMMARY

Full session lifecycle, not just one-shot scans — SSH and reverse shells are first-class.

The split architecture is the design: the tools live on Kali, the MCP server can sit elsewhere and talk over HTTP. Beyond running nmap or sqlmap, it manages persistent SSH and reverse-shell sessions with status and cleanup, and file transfers are checksum-verified. This is offensive tooling — run it against systems you are authorized to test, in the Docker test mode while you learn it.

What it is

A two-part server — a Kali-side service holding the tools, and an MCP server that talks to it over HTTP — exposing 44 tools for scanning, exploitation and session management.

What you get

  • Scanning and exploitation — tools_nmap, tools_gobuster, tools_dirb, tools_nikto, tools_sqlmap, tools_hydra, tools_wpscan, tools_enum4linux, tools_john and tools_metasploit, plus recon and web-probing tools tools_subfinder, tools_httpx, tools_nuclei, tools_arjun, tools_fierce, tools_byp4xx, tools_subzy, tools_assetfinder, tools_waybackurls and search_shodan
  • SSH sessions — ssh_session_start, ssh_session_command, ssh_session_status, ssh_session_stop and ssh_sessions
  • Reverse shells — reverse_shell_listener_start, reverse_shell_command, reverse_shell_status, reverse_shell_stop and reverse_shell_sessions, plus reverse_shell_send_payload and reverse_shell_generate_payload
  • File transfer with SHA256 verification — kali_upload, kali_download, target_upload_file and target_download_file, plus ssh_session_upload_content, ssh_session_download_content, reverse_shell_upload_content, reverse_shell_download_content, and ssh_estimate_transfer for sizing large transfers
  • command for arbitrary commands, health for status and system_network_info for the host network; a --test flag spins up a Docker environment

Requirements

The Kali-side service runs on Kali Linux and needs the penetration-testing tools installed; the MCP server can run on any system and reaches it over HTTP, so the two can be on different machines. Configure the MCP client to connect to the Kali server per install.md. The --test option manages Docker test containers with SSH on localhost:2222 and reverse-shell listeners on 4444 and 4445.

Setup effort

Build from source — git clone https://github.com/TriV3/MCP-Kali-Server.git