What dependencies are required?
Python 3.10+ and the `python-libnmap` package, plus nmap installed on the system (e.g., `sudo apt-get install nmap`).
@imjdl
Basic information
This is a Model Control Protocol (MCP) server that provides access to nmap network scanning functionality.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"nmap-mcpserver": {
"command": "python",
"args": [
"-m",
"src.nmap_mcp"
]
}
}
}`target`: Target host or network (e.g., 192.168.1.1 or 192.168.1.0/24)
`scan_id`: ID of the scan to retrieve
It is a Model Context Protocol (MCP) server that provides access to nmap network scanning functionality, allowing AI models to run scans, retrieve results, and analyze them via prompts.
Install Python 3.10+, python‑libnmap, and system‑installed nmap. Run the server with python -m src.nmap_mcp or install the package with pip install -e . and use the nmap-mcp command. A Docker image is also provided for containerized use.
nmap://scan/{scan_id} resource URIs-sVPython 3.10+ and the `python-libnmap` package, plus nmap installed on the system (e.g., `sudo apt-get install nmap`).
Directly with `python -m src.nmap_mcp` from the source directory, or install the package and run the `nmap-mcp` command. A Docker container can also be built and run.
The server executes nmap commands on your system. Unauthorized scanning may be illegal in some jurisdictions; always scan only networks you own or have permission to scan.
Ensure nmap is installed and available in your PATH. The server logs the nmap executable being used and will attempt to use the full path to avoid conflicts.
Yes. Build the image with `docker build -t nmap-mcp-server .` and run with `docker run -it --rm nmap-mcp-server`. This simplifies deployment without worrying about installation dependencies.

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
Painless E2E Automation for Mobile and Web

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Comments