MCP-netscanner is a lightweight, agent-ready network and security diagnostics toolkit built using FastMCP.
It exposes essential scanning, inspection, and recon tools via MCP interfaces — perfect for LLM agents, internal security bots, or CLI automations.
ping(domain)
Perform an ICMP ping to verify if a host is reachable.
-
nmap_version(ip)
Run Nmap service/version detection (-sV -p80by default). -
nmap_os_detection(ip)
Detect operating system via Nmap OS fingerprinting (-O). -
nmap_quick_scan(ip)
Run a fast Nmap scan on common ports (-T4 -F).
get_ssl_cert_info(domain, port=443)
Fetch and decode the SSL certificate of a target domain.
Returns:- Subject and issuer details
- Validity period (
valid_from,valid_to) - Serial number
greeting(name)
Returns a friendly greeting — useful to verify MCP setup.
- Security engineers & analysts
- Penetration testers
- DevSecOps teams
- LLM agents (Claude, GPT, Cursor, etc.) needing structured recon tools
- Internal security bots (e.g., Slack, VS Code)
git clone https://github.com/vishrun/MCP-netscanner.git
cd MCP-netscannerpython -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windowspip install -r requirements.txtmcp dev main.pyEdit the conf file
{
"mcpServers": {
"Security": {
"command": "your/path/to/python",
"args": [
"your/path/to/server.py"
]
}
}
}