NmapMCP logo

NmapMCP

by 0xPratikPatil

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. This project allows users to perform various network scans directly through MCP interfaces.

View on GitHub

Last updated: N/A

What is NmapMCP?

NmapMCP is an integration that combines the powerful Nmap network scanning tool with the Model Context Protocol (MCP). It allows users to perform various network scans within MCP-compatible environments, providing a seamless way to assess network security and identify potential vulnerabilities.

How to use NmapMCP?

To use NmapMCP, you can install it via Smithery or manually by cloning the repository, installing dependencies using uv, and configuring the claude_desktop_config.json file with the appropriate command and arguments. Once configured, you can leverage the MCP interface to initiate and manage Nmap scans.

Key features of NmapMCP

  • Top Ports Scanning

  • DNS Brute Force

  • List Scan

  • OS Detection

  • Version Detection

  • FIN Scan

  • Idle Scan

  • Ping Scan

  • SYN Scan

  • TCP Connect Scan

  • UDP Scan

  • Port Scan Only

  • No Port Scan

  • ARP Discovery

  • Disable DNS Resolution

Use cases of NmapMCP

  • Identifying open ports on target hosts

  • Discovering subdomains associated with a target domain

  • Obtaining a list of active hosts within a specified range

  • Determining the operating system of a target host

  • Identifying service versions running on open ports

FAQ from NmapMCP

What is Nmap?

Nmap is a free and open-source network scanner.

What is MCP?

MCP stands for Model Context Protocol.

How do I install NmapMCP?

You can install it via Smithery or manually by cloning the repository and installing dependencies.

Where do I configure NmapMCP?

Configuration is done in the claude_desktop_config.json file.

How can I contribute to NmapMCP?

Fork the repository, create a new branch, make your changes, and submit a pull request.