mcp-kali-tools
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: Kali MCP Server
ビルド
docker build -t mcp-kali-tools:latest .手動実行(テスト用)
サーバーはstdio経由でMCPを話します。単独で実行し続けることを想定していません。スモークテストを行うには、JSON-RPCリクエストを直接パイプで渡します:
docker run -i --rm mcp-kali-tools:latestClaude Desktopでの設定
実行間で永続化するワードリスト/スキャン出力用のホストディレクトリを作成します。例:
mkdir -p ~/mcp-dataclaude_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引数を使用して上書きできます)。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables 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.
- FlicenseAqualityDmaintenanceEnables AI assistants to perform authorized penetration testing and security assessments by exposing 20+ Kali Linux security tools (nmap, sqlmap, gobuster, hydra, etc.) through a safe, validated interface with command allowlists, rate limiting, and input sanitization.191
- AlicenseAqualityBmaintenanceEnables AI agents to perform professional penetration testing through a containerized Kali Linux environment, exposing industry-standard offensive security tools as structured MCP tools.454MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI-assisted penetration testing by connecting MCP clients to execute terminal commands on a Kali Linux machine, supporting tools like Nmap, Metasploit, and custom commands.MIT
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rdriver001/mcp-kali-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server