kali-mcp-server
Verified Safeby azza39925
Overview
Enables AI assistants to perform authorized penetration testing and security assessments by exposing Kali Linux security tools through an AI-friendly interface.
Installation
node dist/index.jsEnvironment Variables
- NMAP_PATH
- MASSCAN_PATH
- GOBUSTER_PATH
- SQLMAP_PATH
- NIKTO_PATH
- WPSCAN_PATH
- FFUF_PATH
- NUCLEI_PATH
- HYDRA_PATH
- JOHN_PATH
- HASHCAT_PATH
- SEARCHSPLOIT_PATH
- MSFVENOM_PATH
Security Notes
The server implements robust security controls for its intended purpose: exposing offensive security tools. Key protections include a strict command allowlist (preventing arbitrary command execution), extensive input validation (preventing shell injection and path traversal), output sanitization (redacting sensitive data like passwords/API keys), execution timeouts, and output size limits. All commands run in isolated child processes. The inherent nature of the tools it wraps (e.g., Nmap, SQLMap, Hydra) means they are capable of destructive actions, hence the critical legal disclaimers. The server's own code does not contain 'eval', obfuscation, or hardcoded sensitive secrets that would directly compromise it, but misuse of the powerful underlying tools could lead to significant security incidents if authorization is not properly obtained. The server uses StdioServerTransport, reducing its direct network attack surface for the MCP protocol itself.
Similar Servers
MCP-Kali-Server
Enabling AI-driven offensive security testing by bridging AI agents to a Kali Linux terminal for command execution.
burp-mcp-agents
Connects Burp Suite MCP Server to AI backends (Codex, Gemini, Ollama, LM Studio) for assisted, non-destructive vulnerability analysis using real Burp traffic.
atomic-red-team-mcp
An MCP server providing tools to search, validate, refresh, and optionally execute Atomic Red Team security tests for threat emulation and security development.
pentestMCP
This MCP server enables AI agents to perform automated and interactive penetration testing tasks by exposing a suite of security assessment utilities as callable tools.