Nmap Scanner
БесплатноНе проверенProvides a secure, controlled interface for network administrators and security researchers to perform targeted network reconnaissance and analysis using nmap s
Описание
Provides a secure, controlled interface for network administrators and security researchers to perform targeted network reconnaissance and analysis using nmap scans with built-in rate limiting and security safeguards.
README
This is a Model Control Protocol (MCP) server that provides access to nmap network scanning functionality.
Features
- Run nmap scans on specified targets with customizable options
- Store and retrieve scan results
- Analyze scan results using AI prompts
Installation
Requirements:
- Python 3.10+
- python-libnmap
- nmap (installed on the system)
pip install python-libnmap
Make sure nmap is installed on your system:
# On Debian/Ubuntu
sudo apt-get install nmap
# On Fedora/CentOS
sudo dnf install nmap
Usage
Running the Server
To run the server directly from the source code:
python -m src.nmap_mcp
To install the package and run as a command:
pip install -e .
nmap-mcp
Available Tools
run-nmap-scan
- Run an nmap scan on specified targets
- Parameters:
target: Target host or network (e.g., 192.168.1.1 or 192.168.1.0/24)options: Nmap options (e.g., -sV -p 1-1000)
get-scan-details
- Get detailed information about a specific scan
- Parameters:
scan_id: ID of the scan to retrieve
list-all-scans
- List all available scan results
- No parameters required
Available Prompts
- analyze-scan
- Analyze an nmap scan result
- Parameters:
scan_id: ID of the scan to analyzefocus: Focus area (security/services/overview)
Resources
Scan results are available as resources with the nmap://scan/{scan_id} URI scheme.
Example Workflow
Run a scan:
Call tool: run-nmap-scan Parameters: {"target": "192.168.1.0/24", "options": "-sV -p 22,80,443"}Get scan details:
Call tool: get-scan-details Parameters: {"scan_id": "<scan_id from previous step>"}List all scans:
Call tool: list-all-scansAnalyze scan results:
Get prompt: analyze-scan Parameters: {"scan_id": "<scan_id>", "focus": "security"}
Security Considerations
This server executes nmap commands on your system. Be cautious when scanning networks you don't own or have permission to scan, as unauthorized scanning may be illegal in some jurisdictions.
Troubleshooting
If you encounter errors related to nmap not being found or being executed incorrectly:
- Make sure nmap is installed and available in your PATH
- Check the logs for which nmap executable is being used
- The server will attempt to use the full path to nmap to avoid conflicts
Docker Usage
You can run the MCP server in a Docker container:
# Build the Docker image
docker build -t nmap-mcp-server .
# Run the Docker container
docker run -it --rm nmap-mcp-server
For integration with the Glama MCP directory, the Docker container allows others to easily use this MCP server without worrying about installation dependencies.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Установка Nmap Scanner
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/imjdl/nmap-mcpserverFAQ
Nmap Scanner MCP бесплатный?
Да, Nmap Scanner MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Nmap Scanner?
Нет, Nmap Scanner работает без API-ключей и переменных окружения.
Nmap Scanner — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Nmap Scanner в Claude Desktop, Claude Code или Cursor?
Открой Nmap Scanner на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Nmap Scanner with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
