Kali Linux
БесплатноНе проверенProvides remote access to Kali Linux penetration testing tools through a Flask REST API, enabling network scanning, vulnerability assessment, password cracking,
Описание
Provides remote access to Kali Linux penetration testing tools through a Flask REST API, enabling network scanning, vulnerability assessment, password cracking, and exploitation framework operations from non-Kali systems.
README
Overview
Kali_Linux_MCP exposes Kali tools through:
- Kali_Linux_Server.py: Flask API wrapping tools like
nmap,gobuster,nikto,sqlmap,metasploit,hydra,john,wpscan,enum4linux. - MCP_Server.py: MCP bridge using FastMCP, forwarding requests from MCP clients to the API.
Use it for authorized labs, CTFs, HTB/THM machines, or AI-assisted testing via MCP clients (Claude Desktop, 5ire, etc.).
Requirements
- Kali Linux (or Linux with tools installed in PATH).
- Python 3 with
flask,requests,mcp. - Install:
pip install flask requests mcp
Run
Start API:
python3 Kali_Linux_Server.py --port 5000Health check:
curl http://localhost:5000/healthStart MCP bridge:
python3 MCP_Server.py --server http://localhost:5000 --timeout 300
API Endpoints
- GET
/health— tool status. - POST
/api/command— run any command. - POST
/api/tools/<tool>— wrappers for nmap, gobuster, dirb, nikto, sqlmap, metasploit, hydra, john, wpscan, enum4linux.
Each requires JSON body with tool-specific args (target, url, etc.).
MCP Tools
Bridge registers MCP tools: nmap_scan, gobuster_scan, dirb_scan, nikto_scan, sqlmap_scan, metasploit_run, hydra_attack, john_crack, wpscan_analyze, enum4linux_scan, plus execute_command and check_health.
Example Usage
Nmap:
curl -X POST http://localhost:5000/api/tools/nmap -H "Content-Type: application/json" -d '{"target":"scanme.nmap.org","additional_args":"-sV"}'WPScan:
curl -X POST http://localhost:5000/api/tools/wpscan -H "Content-Type: application/json" -d '{"url":"https://example.com","additional_args":"--enumerate u"}'MCP Client:
Add MCP config pointingpython3 /path/to/MCP_Server.py --server http://LINUX_IP:5000.
Scenarios
- Recon:
nmap_scanto map services. - Web enum:
gobuster_scanordirb_scan. - Vuln triage:
nikto_scan,sqlmap_scan. - WordPress checks:
wpscan_analyze. - SMB recon:
enum4linux_scan. - Credential tests (lab only):
hydra_attack. - Exploit check:
metasploit_run.
Notes
- Supports AI-assisted workflows: models suggest and run commands.
- Works with Claude Desktop, 5ire MCP clients.
- Extendable: other forensic tools (Volatility, SleuthKit) possible.
Установка Kali Linux
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/i3t4an/kali_linux_mcpFAQ
Kali Linux MCP бесплатный?
Да, Kali Linux MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Kali Linux?
Нет, Kali Linux работает без API-ключей и переменных окружения.
Kali Linux — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Kali Linux в Claude Desktop, Claude Code или Cursor?
Открой Kali Linux на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Kali Linux with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
