Back to Home
andrew-stclair icon

kali-mcp-server

Verified Safe

by andrew-stclair

Overview

This server provides a standardized interface for 22 essential penetration testing tools, designed for integration with AI assistants and automation platforms.

Installation

Run Command
docker run -p 8080:8080 --cap-add=NET_RAW --cap-add=NET_ADMIN --cap-add=NET_BIND_SERVICE --read-only --tmpfs /tmp --tmpfs /var/tmp ghcr.io/andrew-stclair/kali-mcp-server/kali-mcp-server:latest

Security Notes

The project demonstrates robust security hardening. Input is heavily sanitized to prevent command injection, and all tool execution is whitelisted against an explicit ALLOWED_TOOLS list. Tools run via `subprocess.run` with a list of arguments, avoiding shell interpretation. The Docker container runs as a non-root user with a read-only filesystem and temporary filesystems mounted, further restricting potential damage. Each tool execution includes a 300-second timeout. The container requires elevated network capabilities (`NET_RAW`, `NET_ADMIN`, `NET_BIND_SERVICE`), which are necessary for many penetration testing tools but inherently increase risk. However, these are mitigated by the strong input validation and execution controls.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars0
Forks0
Last Update2025-12-15

Tags

Penetration TestingSecurity ToolsAutomationAI IntegrationNetwork Scanning