Back to Home
PaulGG-Code icon

kali_mcp-mcp-server

by PaulGG-Code

Overview

A Model Context Protocol (MCP) server that exposes common pentest tools as FastMCP tools for educational and internal testing purposes.

Installation

Run Command
python3 kali_mcp_server.py

Environment Variables

  • KALI_MCP_JOB_TIMEOUT
  • KALI_MCP_CONCURRENT_PER_USER
  • KALI_MCP_ARTIFACT_TTL_DAYS
  • KALI_MCP_ARTIFACT_MAX_MB
  • KALI_MCP_ARTIFACT_STORE
  • KALI_MCP_BUCKET
  • KALI_MCP_ARTIFACT_LOCAL
  • KALI_MCP_MINIO_ENDPOINT
  • KALI_MCP_MINIO_ACCESS_KEY
  • KALI_MCP_MINIO_SECRET_KEY
  • KALI_MCP_API_KEYS_CSV

Security Notes

The server uses `subprocess.run` with argument lists, mitigating shell injection risks. Input sanitization is mentioned and observed in command construction. However, it ships with insecure default API keys ('changeme_admin_key', 'changeme_operator_key') and MinIO credentials ('minioadmin'). The README explicitly warns against exposing the server publicly without proper network controls and advises rotating API keys. Artifacts containing sensitive information are stored and require proper retention policies. The tools themselves (nmap, sqlmap, etc.) are powerful and inherently risky if misused or pointed at unintended targets. The `binwalk_extract` and `apk_static` tools process files by path inside the container, requiring careful management of container mounts.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens500
Stars0
Forks0
Last Update2025-11-30

Tags

pentestsecurity-testingfastmcpserverdocker