MCP Catalogs
首页MCP-Kali-Server screenshot

MCP-Kali-Server

by Wh0am123·688·综合分 52

MCP Kali Server 连接 AI 代理与 Linux 系统,用于渗透测试和 CTF 挑战。

securitydeveloper-toolsai-llm
142
Forks
4
活跃 Issue
2 个月前
最近提交
2 天前
收录于

概述

MCP Kali Server 是一个轻量级 API 桥接,将 MCP 客户端连接到 Kali Linux 机器,实现 AI 辅助渗透测试和 CTF 挑战解决。它提供受控的命令执行能力,使 AI 模型能够交互式执行终端命令。服务器通过安全的 MCP 接口集成多种安全工具,如 Nmap、Metasploit 和 sqlmap。它支持本地和远程设置,并考虑了适当的安全性。

试试问 AI

装完之后,这里有 3 个你可以让 AI 做的事:

:使用 Nmap 和 Metasploit 等安全工具进行 AI 辅助渗透测试
:通过执行命令和捕获标志解决 CTF 挑战
:为漏洞赏金狩猎自动化侦察和利用任务

什么时候选它

选择它用于 AI 辅助渗透测试、CTF 自动化或当您需要将 AI 模型直接连接到 Kali Linux 安全工具时。

什么时候不要选它

如果您需要超出渗透测试范围的安全解决方案,或者无法为远程访问实施适当的安全措施,请不要使用它。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • execute_command

    Execute terminal commands on a Linux machine.

  • dirb_scan

    Perform directory enumeration using Dirb.

  • enum4linux_scan

    Enumerate information about Windows and Samba hosts.

  • gobuster_scan

    Discover directories and DNS names using Gobuster.

  • hydra_brute

    Perform brute force attacks on various services using Hydra.

  • john_ripper

    Crack passwords using John the Ripper.

  • metasploit_exploit

    Use Metasploit Framework for penetration testing.

  • nikto_scan

    Scan web servers for known vulnerabilities with Nikto.

  • nmap_scan

    Network scanning and host discovery using Nmap.

  • sqlmap_scan

    Detect and exploit SQL injection vulnerabilities with SQLMap.

  • wpscan_scan

    Scan WordPress websites for vulnerabilities with WPScan.

  • web_request

    Make custom HTTP requests using curl or similar tools.

可对比工具

mcp-shell-servermcp-aws-pentestnuclei-mcpmetasploit-mcp

安装

安装

在你的 Kali 机器上

sudo apt install mcp-kali-server
kali-server-mcp

对于最新版本:

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.py

在你的 MCP 客户端机器上

对于本地设置:

./client.py --server http://127.0.0.1:5000

对于使用 SSH 隧道的远程设置:

ssh -L 5000:localhost:5000 user@LINUX_IP
./client.py --server http://127.0.0.1:5000

Claude Desktop 配置

claude_desktop_config.json 中添加:

{
  "mcpServers": {
    "kali": {
      "command": "python3",
      "args": ["/path/to/MCP-Kali-Server/client.py"],
      "env": {
        "MCP_SERVER_URL": "http://localhost:5000"
      }
    }
  }
}

MCP-Kali-Server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。