Back to Home
HrskiEsa icon

Kali-mcp

by HrskiEsa

Overview

Exposes a Linux shell, specifically Kali Linux penetration testing tools, as an MCP-accessible API for AI assistants and automation workflows.

Installation

Run Command
python3 server.py

Security Notes

The server uses `subprocess.run(cmd, shell=True)` and exposes an `execute_command` tool that allows an MCP client to execute *any* raw shell command. This is a critical security vulnerability, enabling arbitrary code execution on the host machine. While helper functions attempt to wrap specific tools, the underlying `shell=True` mechanism, especially coupled with `--privileged` and `--network host` in the example Docker setup, creates a severe attack surface. Command injection is highly probable if input parameters are not rigorously sanitized.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassHigh
Avg Tokens2000
Stars0
Forks1
Last Update2025-12-05

Tags

Kali LinuxPenetration TestingEthical HackingAutomationMCP Server