mirror of
https://github.com/GH05TCREW/pentestagent.git
synced 2026-03-07 22:33:38 +00:00
KALI MCP integration
Steps
- Compile base Docker image.
docker build ../../ -t pentestagent:latest
- Configure .env file with API tokens and models for AI.
OPENAI_API_KEY=sk-...
PENTESTAGENT_MODEL=gpt-5
- Configure the IP address or hostname in the mcp_servers.json file:
{
"mcpServers": {
"kali": {
"command": "python",
"args": ["MCP-Kali-Server/mcp_server.py", "--server", "http://<hostname>:5000"]
}
}
}
- Launch docker-compose
# Build
docker-compose build
# Run
docker-compose run --rm pentestagent
At this point, you will be able to check the MCP servers with the /mcp list command
On server side, there should be a connection incoming:

