Overview
mcp-server-nmap is a server application designed to work with Nmap, a powerful network scanning tool, allowing users to perform network discovery and security auditing.
To use mcp-server-nmap, clone the repository from GitHub, install the required dependencies, and run the server to start scanning networks using Nmap commands.
- Integration with Nmap for advanced network scanning capabilities. - User-friendly interface for managing scan tasks. - Support for various scanning options and configurations.
- Conducting security assessments on local networks.
- Discovering devices connected to a network.
- Performing vulnerability scans on servers and devices.
Add to your AI client
Use these steps to connect mcp-server-nmap in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-nmap-douyipu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-nmap-douyipu"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-nmap-douyipu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-nmap-douyipu"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-nmap-douyipu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-nmap-douyipu"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-nmap-douyipu": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-nmap-douyipu"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-nmap-douyipu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-nmap-douyipu"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-nmap-douyipu": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-nmap-douyipu"
]
}
}
}FAQ
What is Nmap?
Nmap is a network scanning tool used to discover hosts and services on a computer network.
Is mcp-server-nmap free to use?
Yes! mcp-server-nmap is open-source and free to use under the MIT license.
What programming language is mcp-server-nmap written in?
mcp-server-nmap is written in Python.