Ai Assistant Chat With Nmap Tool Integration
An AI assistant chat project based on Gradio, integrating OpenAI API and Nmap tools, providing file system access and network scanning functions.
rating : 2.5 points
downloads : 20
What is this AI Assistant?
This is an intelligent chat assistant that can help you with network analysis tasks. It combines AI conversation capabilities with professional network scanning tools (Nmap) in a safe containerized environment.How to use this assistant?
Simply type your questions or requests in the chat interface. The AI will understand whether you need information or want to perform network scans, then guide you through the process.When should I use it?
Perfect for network administrators, security researchers, or anyone who needs to: check network device availability, scan open ports, identify network services, or check SMB shares - all through simple conversations.Key Features
Smart ConversationNatural language understanding powered by OpenAI's advanced models
Network PingCheck if hosts are online (ICMP ping)
Port ScanningScan top 100 ports, all 65535 ports, or comprehensive service detection
SMB Share DetectionDiscover and enumerate Windows SMB shares
Safe ExecutionAll scans run in isolated Docker containers for security
Pros and Cons
Advantages
No need to learn complex Nmap commands - just ask naturally
Secure containerized execution prevents accidental network impact
Combines multiple scan types with AI analysis
Web-based interface accessible from anywhere
Limitations
Requires Docker and OpenAI API key setup
Network scans may take time to complete
Limited to the scanning capabilities implemented
Getting Started
Set up prerequisites
Install Docker and ensure it's running. Set your OpenAI API key as environment variable.
Build the Nmap container
This only needs to be done once to create the scanning environment.
Launch the application
Start the web interface and backend services.
Start chatting
Open the provided URL in your browser and begin asking questions or requesting scans.
Example Scenarios
Basic Network CheckQuickly verify which devices are online in your local network
Service DiscoveryIdentify what services are running on a server
Security AuditCheck for potentially vulnerable SMB shares
Frequently Asked Questions
Is this safe to run on production networks?
Why do some scans take so long?
Can I scan networks outside my local network?
What happens to my scan results?
Additional Resources
Nmap Official Documentation
Complete reference for Nmap scanning techniques
OpenAI API Reference
Details about the AI models powering the assistant
Docker Installation Guide
Step-by-step Docker setup instructions
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
140
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
829
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
564
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
282
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
753
4.8 points