MCP NMAP Server
A Model Context Protocol (MCP) server that enables AI assistants to perform network scanning operations using NMAP. This server provides a standardized interface for AI models to interact with NMAP, making it possible to perform network analysis and security assessments through AI conversations.
Prerequisites
- Windows operating system
- Node.js (v18 or higher)
- NMAP installed and accessible from Windows command line
- TypeScript for development
Installation
Installing via Smithery
To install NMAP Server for Claude Desktop automatically via Smithery:
Manual Installation
Install the package globally using npm:
Or install locally in your project:
Features
The server provides access to NMAP's core functionality through a simple interface. It supports quick scans, full port scans, version detection, and custom timing templates. The implementation uses NMAP's native command-line interface, ensuring reliability and consistency with standard NMAP operations.
Configuration with Claude Desktop
To use this server with Claude Desktop on Windows, you'll need to configure it in the Claude configuration file located at:
C:\Users\YOUR_USERNAME\AppData\Roaming\Claude\config.json
Add the NMAP server to your configuration by adding it to the mcpServers
section. Here's a complete example of a Claude Desktop configuration file:
Replace YOUR_USERNAME
with your Windows username and adjust the path to where you've installed the NMAP server.
Usage with AI
Once configured, AI assistants like Claude can use the server through the run_nmap_scan
function. The function accepts the following parameters:
Example conversation with Claude:
License
MIT License
Support
For issues, suggestions, or contributions, please visit the GitHub repository.
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables AI assistants to perform network scanning operations using NMAP, offering a standardized interface for network analysis and security assessments through AI conversations.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityProvides access to Shodan API functionality, enabling AI assistants to query information about internet-connected devices for cybersecurity research and threat intelligence.Last updated -51JavaScriptMIT License
- AsecurityAlicenseAqualityA Model Control Protocol server that provides access to nmap network scanning functionality, allowing users to run customizable scans, store results, and analyze network security using AI prompts.Last updated -32PythonMIT License
- -securityFlicense-qualityAn integration that enables AI assistants to interact with network data through a standardized protocol, providing AI-ready tools and interfaces for network automation and management.Last updated -2Python
- -securityAlicense-qualityA lightweight, extensible cybersecurity toolkit that connects AI assistants to security tools through the Model Context Protocol (MCP), enabling AI-assisted security research, scanning, and analysis.Last updated -3PythonMIT License