Skip to main content
Glama
mcp-kali-tools

mcp-kali-tools

by rdriver001

mcp-kali-tools

일반적인 Kali Linux 침투 테스트 도구를 MCP 클라이언트(예: Claude Desktop)에 노출하는 Model Context Protocol 서버를 실행하는 Docker 이미지입니다. 각 도구는 자체 MCP 도구 호출로 실행되며 argv로 직접 실행되므로(셸 없음) 인수를 사용하여 임의의 셸 명령을 연결하거나 주입할 수 없습니다. 그러나 각 도구는 여전히 기본 바이너리의 모든 기능을 갖추고 있습니다.

승인된 사용만 허용됩니다. 이 이미지는 공격적 보안 도구(nmap, sqlmap, hydra, Metasploit 등)를 번들로 포함합니다. 테스트 권한이 있는 시스템과 네트워크에만 사용하십시오.

포함된 도구

nmap, sqlmap, nikto, hydra, john, hashcat, msfconsole, gobuster, ffuf, whatweb, wpscan, aircrack-ng, searchsploit

aircrack-ng는 기존 캡처 파일을 크랙할 수 있지만, 실시간 무선 캡처(모니터 모드)는 물리적 어댑터를 컨테이너에 전달해야 하며(--device, --net=host), 기본적으로 설정되어 있지 않습니다.

Related MCP server: bolt

빌드

docker build -t mcp-kali-tools:latest .

수동 실행(테스트용)

서버는 stdio를 통해 MCP를 사용합니다. 독립 실행형으로 계속 실행하도록 설계되지 않았습니다. 스모크 테스트를 하려면 JSON-RPC 요청을 직접 파이프로 전달하십시오:

docker run -i --rm mcp-kali-tools:latest

Claude Desktop에서 구성

실행 간에 유지할 워드리스트/스캔 출력용 호스트 디렉터리를 만드십시오. 예:

mkdir -p ~/mcp-data

claude_desktop_config.json의 mcpServers에 다음을 추가하십시오:

{
  "mcpServers": {
    "kali-tools": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "--cap-add=NET_RAW", "--cap-add=NET_ADMIN",
        "-v", "/home/YOUR_USER/mcp-data:/data",
        "mcp-kali-tools:latest"
      ]
    }
  }
}

전체 nmap 기능(예: SYN 스캔)에는 --cap-add=NET_RAW --cap-add=NET_ADMIN이 필요합니다. /data 마운트는 워드리스트(예: rockyou.txt)와 스캔 출력이 있어야 할 위치입니다. 도구 인수에서 /data/... 아래의 경로를 전달하여 해당 위치에서 읽고 쓸 수 있습니다.

구성 파일을 편집한 후 Claude Desktop을 다시 시작하십시오. Docker를 방금 설치했거나 사용자가 docker 그룹에 추가된 경우 먼저 로그아웃했다가 다시 로그인하십시오. 그룹 멤버십은 새 로그인 세션에만 적용됩니다.

참고 사항

  • 각 컨테이너 실행은 일시적입니다(--rm). /data에 기록된 것 외에는 아무것도 유지되지 않습니다.

  • 도구 호출당 출력은 20,000자로 제한되며 각 호출은 기본적으로 180초 후에 시간 초과됩니다(모든 도구 호출에서 timeout 인수로 재정의 가능).

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to execute Kali Linux security tools like nmap, sqlmap, and hydra in a secure, sandboxed environment. Provides both MCP and HTTP API interfaces for penetration testing and security assessment tasks.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to invoke 100+ pre-installed penetration testing tools (e.g., nmap, nuclei, sqlmap) inside a Dockerized Kali Linux environment via MCP, supporting single-turn execution for reconnaissance, scanning, exploitation, and security assessment.
    1,946 npm
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables MCP-compatible AI clients to run curated Kali Linux security tools such as nmap, gobuster, nikto, sqlmap and netcat inside an isolated microVM sandbox. Commands execute as asynchronous jobs with readable output, cancellation and persistent per-workspace storage, with configurable network, CPU and memory limits.
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables MCP clients to invoke Kali Linux security utilities for network scanning, symbol and binary inspection, string extraction, live and pcap traffic analysis, and isolated command execution. It supports workflows such as Nmap scans, objdump disassembly, nm symbol listing, strings extraction, and tshark traffic inspection.
    -