MCP-CyberAgent π‘οΈ
April 9, 2025 Β· View on GitHub

MCP-CyberAgent π‘οΈ
MCP-CyberAgent is an MCP-compliant AI security assistant that connects Claude Desktop (or any MCP client) with real-world cybersecurity tools like VirusTotal, Nmap, Shodan, and PowerShell.
π¬ In this project, Iβve integrated automated hash extraction from running startup applications β enabling Claude to act like a personalized
AI-powered Malware Scanner.
It supports natural language interaction to:
- Scan for malware using VirusTotal
- Discover active network services
- Gather threat intelligence from Shodan
- Test network health and connectivity
All this runs locally in your environment β no cloud integration required. And it's completely free.
π₯ Demo
https://github.com/user-attachments/assets/469d2800-8c06-461f-8336-6a1751b851cc
βοΈ Tools & Prompts
π¬ VirusTotal Integration
Using PowerShell, MCP-CyberAgent extracts SHA256 hashes from startup applications and checks them against VirusTotalβs threat database.
π§ Try asking Claude:
"Scan running processes with VirusTotal"
"Check for malware in startup applications"

π Nmap Port Scanner
Scan open ports, services, and protocols on any IP using Claude.
π§ Try:
"Check what ports are open on 127.0.0.1"

π Shodan IP Intelligence
Get real-time internet-facing service information for any public IP address using Shodan.
π§ Try:
"What does Shodan know about 1.1.1.1?"

π Get Public IP
Query your external/public IP address.
π§ Try:
"What is my IP?"

π Ping Checker
Test latency and host reachability via ICMP.
π§ Try:
"Ping 8.8.8.8"
"Check if google.com is online"

β Requirements
- Python 3.10+
- Windows PowerShell (for startup hash scanning)
- Claude Desktop or 5ire
- API Keys:
- VirusTotal
- Shodan (free key is enough)
Install dependencies:
pip install -r requirements.txt
## π§ Setup Guide
### π Project Layout
MCP-CyberAgent/ βββ bridge_mcp_cyberagent.py βββ modules/ β βββ virustotal_module.py β βββ nmap_module.py β βββ shodan_module.py β βββ sysinfo.ps1 βββ configs/ β βββ api_keys.env βββ README.md βββ requirements.txt
### β
Installation
1. **Clone the repository:**
```bash
git clone https://github.com/JithukrishnanV/MCP-CyberAgent
cd MCP-CyberAgent
-
Create a virtual environment (optional but recommended):
python -m venv .venv .venv\Scripts\activate -
Install dependencies:
pip install -r requirements.txt -
Add your API keys in
configs/api_keys.env:VT_API_KEY=your_virustotal_api_key SHODAN_API_KEY=your_shodan_api_key -
Edit Claude Desktop config: Claude Desktop To set up Claude Desktop as a Ghidra MCP client, go to Claude -> Settings -> Developer -> Edit Config -> claude_desktop_config.json and add the following:
{ "mcpServers": { "cyberagent": { "command": "C:/Path/To/python.exe", "args": [ ""/ABSOLUTE_PATH_TO/bridge_mcp_cyberagent.py" ] } } } -
Launch Claude and select the MCP-CyberAgent from the MCP tab.
π Resources
- π§ Claude MCP Docs
- π VirusTotal
- π Shodan
- π°οΈ Nmap
- π Python SDK for MCP
- π οΈ ping3
- π ipify - Get Public IP