NmapMCP 是一款强大的集成工具,它将网络扫描利器 Nmap 与模型上下文协议(MCP)深度融合,可在 MCP 兼容环境中无缝开展网络扫描工作。用户能借助 MCP 接口,轻松执行热门端口扫描、DNS 暴力破解等多样化的网络扫描任务。
访问 Smithery 即可获得无缝安装体验。
git clone https://github.com/yourusername/nmapmcp.git
cd nmapmcp
uv
工具以运行项目:npm install uv
uv init
uv run
npm install
编辑 claude_desktop_config.json
文件以自定义设置:
{
"configuration": {
"nmap_path": "/path/to/nmap",
"mcp_endpoint": "http://localhost:8080"
}
}
git clone https://github.com/yourusername/nmapmcp.git
cd nmapmcp
git checkout -b feature/new-feature
git add .
git commit -m "添加新功能"
git push origin feature/new-feature
该项目采用 MIT 许可证。
特别感谢 Nmap 和 MCP 社区提供的宝贵工具和技术支持。