NmapMCP MCP Server

NmapMCP is a robust integration of the Nmap scanning tool with the Model Context Protocol (MCP), enabling seamless network scanning capabilities

Local serverstdio

What is the NmapMCP MCP Server?

Nmapmcp mcp server connects NmapMCP to AI assistants that speak the Model Context Protocol. 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, such as top ports scanning, DNS brute force, and more.

What NmapMCP does

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, such as top ports scanning, DNS brute force, and more, directly through MCP interfaces.

Key capabilities

  • Top Ports Scanning: — Quickly identify the most commonly used ports on target hosts to assess potential entry points
  • DNS Brute Force: — Discover subdomains associated with a target domain, aiding in comprehensive domain mapping
  • List Scan: — Obtain a list of active hosts within a specified range without port scanning, useful for network inventory
  • OS Detection: — Determine the operating system of a target host by analyzing network responses, assisting in vulnerability assessment
  • Version Detection: — Identify service versions running on open ports to detect outdated or vulnerable services
  • FIN Scan: — Perform stealthy scans by sending FIN packets to detect open ports without establishing a full connection
  • Idle Scan: — Conduct highly stealthy scans by leveraging idle hosts to probe target systems, minimizing detection risks
  • Ping Scan: — Detect active hosts in a network by sending ICMP echo requests, useful for network mapping

Practical notes

  • Maintained by 0xPratikPatil.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the NmapMCP MCP Server

{
  "mcpServers": {
    "NmapMCP": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/NmapMCP",
        "run",
        "main.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Frequently asked questions

NmapMCP is a robust integration of the Nmap scanning tool with the Model Context Protocol (MCP), enabling seamless network scanning capabilities within Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.