MCP Kali Server
@Wh0am123
About MCP Kali Server
MCP configuration to connect AI agent to a Linux machine.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MCP-Kali-Server": {
"command": "python3",
"args": [
"-m",
"venv",
".venv"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Kali Server?
MCP Kali Server is a lightweight API bridge that connects MCP clients such as Claude Desktop or 5ire to a Linux terminal on a Kali machine, enabling AI-assisted penetration testing and CTF challenge solving by executing commands and interacting with tools like Nmap, Metasploit, and Gobuster.
How to use MCP Kali Server?
Install on Kali via sudo apt install mcp-kali-server and run kali-server-mcp. For bleeding edge, clone the repo, create a venv, install dependencies, and run ./server.py. Then run the client on the same or a remote machine, optionally using an SSH tunnel, and configure your MCP client (e.g., Claude Desktop or 5ire) with the client command and server address.
Key features of MCP Kali Server
- AI endpoint integration with any MCP client like Claude Desktop or 5ire
- Controlled command execution API on a Kali Linux machine
- Support for web challenges via tools like
curland other AI-needed commands - Designed for offensive security professionals automating recon and exploitation
Use cases of MCP Kali Server
- AI‑driven penetration testing with automated reconnaissance and exploitation
- Solving CTF challenges by having the AI suggest and run terminal commands
- Memory forensics using Volatility, automated via AI
- Disk forensics with SleuthKit, automated via AI
FAQ from MCP Kali Server
What tools are available through MCP Kali Server?
The server can execute Dirb, enum4linux, Gobuster, Hydra, John the Ripper, Metasploit-Framework, Nikto, Nmap, sqlmap, WPScan, and raw terminal commands.
What are the runtime requirements?
The server runs on Kali Linux. It requires Python 3 and a virtual environment; installation via apt is also available. MCP clients can run on any OS (Linux, Windows, macOS).
Can I connect to the server remotely?
Yes, you can bind the server to a specific IP using --ip and a port with --port. SSH tunneling is recommended for secure remote access; binding to 0.0.0.0 is strongly discouraged.
How do I integrate MCP Kali Server with Claude Desktop?
Edit the Claude Desktop config file (claude_desktop_config.json) to include the client command pointing to the server address, as shown in the provided mcp-kali-server.json example.
Is this tool intended for malicious use?
No. The project is strictly for educational and ethical testing purposes. Unauthorized access, exploitation, or malicious activity is prohibited; the author assumes no responsibility for misuse.
More Other MCP servers
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
ghidraMCP
LaurieWiredMCP Server for Ghidra
Comments