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
基本信息
This is a Model Control Protocol (MCP) server that provides access to nmap network scanning functionality.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

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.

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
评论