MCP.so
Sign In

MCP Kali Server

@Wh0am123

About MCP Kali Server

MCP configuration to connect AI agent to a Linux machine.

Basic information

Category

Other

License

MIT

Runtime

python

Transports

stdio

Publisher

Wh0am123

Submitted by

Sofo Nahya

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 curl and 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.

Comments

More Other MCP servers