Wh0am123/MCP-Kali-Server ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple MCP server and client setup that lets an AI assistant safely run commands on a Linux machine, especially a Kali box.
I want to be able to connect Claude Desktop or another MCP client to a local service, then have the AI suggest and run terminal commands for things like nmap scans, gobuster, sqlmap, nikto, hydra, john, and raw shell commands. It should support both running locally on the same machine and connecting remotely through an SSH tunnel.
Please make it easy to start with a default localhost only mode, but also let me bind to a custom IP and port if needed. I’d like clear configuration help for the client side too, including an example config for Claude Desktop. If it makes sense, add simple logging and a debug mode so I can see what is happening.
The main goal is to let an AI help with CTFs and authorized security testing by sending commands and reading the results back in a structured way. If you need to check current MCP docs online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit