Back to Home
azza39925 icon

kali-mcp-server

Verified Safe

by 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

Run Command
node dist/index.js

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens50000
Stars0
Forks0
Last Update2025-11-29

Tags

securitypenetration testingkali linuxAI agentMCP