NmapMCP
@0xPratikPatil
About NmapMCP
NmapMCP is a robust integration of the Nmap scanning tool with the Model Context Protocol (MCP), enabling seamless network scanning capabilities within MCP-compatible environments
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"NmapMCP": {
"command": "uv",
"args": [
"--directory",
"/path/to/NmapMCP",
"run",
"main.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is NmapMCP?
NmapMCP is a robust integration of the Nmap scanning tool with the Model Context Protocol (MCP), enabling seamless network scanning capabilities within MCP-compatible environments. It allows users to perform various network scans, such as top ports scanning, DNS brute force, and OS detection, directly through MCP interfaces.
How to use NmapMCP?
Installation requires cloning the repository, installing uv, creating a virtual environment, and installing dependencies from pyproject.toml. Configure the server by editing claude_desktop_config.json to set the command, directory, and run main.py. Alternatively, install via Smithery using npx -y @smithery/cli install @0xPratikPatil/nmapmcp --client claude.
Key features of NmapMCP
- Top ports scanning for quick entry-point assessment.
- DNS brute force for subdomain discovery.
- OS detection to identify target operating systems.
- Version detection to find outdated or vulnerable services.
- Stealthy scans including FIN, Idle, and SYN scans.
- ARP discovery for active devices on local networks.
Use cases of NmapMCP
- Perform network inventory by listing active hosts without port scanning.
- Assess vulnerability of services by identifying running versions.
- Map subdomains of a target domain using DNS brute force.
- Stealthily probe open ports with FIN or Idle scans.
- Detect live hosts in a network with Ping Scan for mapping.
FAQ from NmapMCP
—
Basic information
More Other MCP servers
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Awesome Mlops
visengerA curated list of references for MLOps
Nginx UI
0xJackyYet another WebUI for Nginx
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Comments