
pabpereza/kali-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
pabpereza/kali-mcp は [https://github.com/pabpereza/kali-mcp.] からインポートされた MCP サーバー候補です
概要
pabpereza/kali-mcp は [https://github.com/pabpereza/kali-mcp.] からインポートされた MCP サーバー候補です
概要(AI 翻訳)
MCP(モデルコンテキストプロトコル)を介してAIエージェントをKali Linuxセキュリティツールに接続する倫理的なハッキングツールキット。
MCP: クロードコード、Gemini CLI、OpenCode、Cursor、Copilot、Codex、Aider、Windsurf、gooseなどをサポートするAIエージェントと互換性があります。
前提条件
- Docker および Docker Compose (v2+)
- MCP対応のAIエージェント(互換性参照)
- [
curlの端末(init.sh]で使用して容器を健康チェックする)
はじめる
##1. クローンと開始
[init.sh は、Kali Docker イメージをビルドし、コンテナを起動し、MCP サーバーが http://localhost:666/mcp で健康になるまで待ちます。 最初のビルドは数分かかる場合があります。
##2. AIエージェントを立ち上げる
プロジェクトディレクトリからエージェント**を開くと、自動検出[.mcp.json:
##3.ハッキングを開始
自然言語やスラッシュコマンドを使うことができます。
典型的なワークフロー(クロードコード)
ワークフロー全体が3つのコマンドです。start、audit、finish。 このフローの外部のアドホックには、スタンドアローンのパーツールコマンドはありません。自然言語(例えば、FTPが10.10.10.5で匿名ログインを許可している場合をチェック)に尋ね、エージェントはマッチングツールを直接実行します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Kali MCP
An ethical hacking toolkit that connects AI agents to Kali Linux security tools via MCP (Model Context Protocol).
Compatible with any AI agent that supports MCP: Claude Code, Gemini CLI, OpenCode, Cursor, Copilot, Codex, Aider, Windsurf, goose, and others.
> /kali-start 192.168.1.50
SESSION INITIALIZED
Target: 192.168.1.50
Scope: Passive + Credential testing
Dir: sessions/192_168_1_50_20260331_1430/
> /kali-audit 192.168.1.50
Scanning with nmap...
PORT SERVICE VERSION
22/tcp ssh OpenSSH 8.9
80/tcp http Apache 2.4.54
443/tcp https nginx 1.18
445/tcp microsoft-ds Samba 4.15
Launching 10 parallel sub-agents...
[Service Enum :22] -> SSH scripts, searchsploit CVEs
[Service Enum :80] -> nikto, gobuster, ffuf, dirb
[Web Dirs :80] -> ffuf directories, sensitive files
[Web Fuzz :80] -> arjun params, nuclei templates
[OSINT :80] -> whatweb, wafw00f, searchsploit
[API Testing :80] -> IDOR, auth bypass
[Auth Testing :80] -> SQLi on login, JWT analysis
[SMB Enum :445] -> crackmapexec, enum4linux, smbclient
[AD Audit :445] -> impacket, kerberoast
[Vuln Scan] -> nmap vuln scripts, nuclei
All sub-agents completed. Results saved to session assets.
> /kali-finish
SESSION FINALIZED — 14 findings (2 Critical, 4 High, 5 Medium, 3 Low)
Report: sessions/192_168_1_50_20260331_1430/findings.md
Prerequisites
- Docker and Docker Compose (v2+)
- An AI agent with MCP support (see Compatibility)
- A terminal with
curl(used byinit.shto health-check the container)
Getting Started
1. Clone and start
git clone https://github.com/pabpereza/kali-mcp.git
cd kali-mcp
./init.sh
init.sh builds the Kali Docker image, starts the container, and waits until the MCP server is healthy at http://localhost:666/mcp. First build may take several minutes.
2. Launch your AI agent
Open your agent from the project directory so it auto-detects .mcp.json:
claude # Claude Code (recommended — supports parallel sub-agents)
gemini # Gemini CLI
opencode # OpenCode
3. Start hacking
You can use natural language or slash commands:
> Scan ports on 10.10.10.5 with version detection
> Find hidden directories on http://target.com
> Check if FTP allows anonymous login on 10.10.10.5
Typical Workflow (Claude Code)
The whole workflow is three commands: start, audit, finish. There are no standalone per-tool commands — for anything ad hoc outside this flow, just ask in natural language (e.g. “check if FTP allows anonymous login on 10.10.10.5”) and the agent runs the matching tool directly.
/kali-start 10.10.10.5 # 1. Select target and scope
/kali-audit 10.10.10.5 # 2. Run the audit/pentest (parallel sub-agents)
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"kali": {
"type": "http",
"url": "http://localhost:666/mcp"
}
}
}