Cockpit Lite MCP Server
Enables authorized penetration testing through MCP, providing parallel reconnaissance, vulnerability scanning, attack path analysis, and self-contained HTML reporting with compliance tagging.
README
<div align="center">
๐ Cockpit Lite โ MCP Server
Lightweight, single-file MCP Server for pentesting โ packed with rare features most MCPs don't have.
Only 471 lines of code, a single file, yet it ships features usually found only in much larger frameworks.
</div>
๐ฌ Demo

Live terminal demo: parallel recon โ attack-path analysis โ report generation.

Self-contained HTML report with compliance auto-tagging (OWASP / PCI-DSS / CWE).
โจ Rare Features (seldom seen in other MCPs)
- ๐ Parallel Recon โ run
nmap,httpx,whatweb,subfindersimultaneously via a thread pool - ๐๏ธ Findings DB + Dedup โ SQLite-backed, automatic deduplication via SHA-256 hashing
- ๐ท๏ธ COMPLIANCE Auto-Tag โ every finding is auto-mapped to OWASP Top 10 + PCI-DSS + CWE
- ๐ต๏ธ Intel Correlation โ automatic Shodan & CVE enrichment after scans
- ๐งญ Attack Path Analyzer โ per-open-port exploit advice (MITRE-informed)
- ๐ Scan Diff Engine โ compare two scans to detect environment changes over time
- ๐ Self-contained HTML Report โ no WeasyPrint, pure Python (lighter & zero native deps)
๐งฐ Wrapped Tools
nmap ยท rustscan ยท httpx ยท whatweb ยท subfinder ยท dnsenum ยท whois ยท nuclei ยท nikto ยท gobuster ยท ffuf ยท sqlmap ยท arjun ยท wafw00f ยท theharvester ยท searchsploit
๐ฆ Installation
git clone https://github.com/kom9/-hacking-cockpit-lite-.git
cd -hacking-cockpit-lite-
pip install -r requirements.txt
Install the pentest tools you want to use (the server invokes tools natively on the host โ Kali / Parrot OS recommended):
sudo apt install -y nmap sqlmap nuclei nikto gobuster ffuf whatweb httpx subfinder
โ๏ธ MCP Client Configuration
Add to your MCP client config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"cockpit-lite": {
"command": "python3",
"args": ["/absolute/path/to/hacking_cockpit_lite.py"],
"env": { "SHODAN_API_KEY": "", "VIRUSTOTAL_API_KEY": "" }
}
}
}
Optional environment variables: SHODAN_API_KEY, VIRUSTOTAL_API_KEY โ enable intel correlation.
๐ Exposed MCP Tools
| Tool | Description |
|---|---|
cockpit_status |
System health & installed tools |
run_recon |
Parallel recon + auto intel correlation |
run_web_scan |
whatweb + nikto + nuclei chain |
run_tool |
Run a single allowlisted tool |
project_create |
Create a new project |
findings_list |
List findings with compliance tags |
analyze_attack_path |
Attack path analyzer |
scan_diff |
Diff engine between two scans |
generate_report |
Self-contained HTML report |
Usage example
> Create project "acme" with scope 192.168.1.0/24
> run_recon against 192.168.1.10 (parallel)
> analyze attack path for project "acme"
> generate HTML report for project "acme"
๐ Storage
Data is stored in ~/cockpit_lite/ (database cockpit_lite.db, reports, workspace).
โ ๏ธ Legal & Responsible Use
For authorized security testing and education only. You are solely responsible for complying with all applicable laws and for having explicit written permission before testing any system or network. The author assumes no liability for misuse.
๐ License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.