Connects AI agents to a Linux (Kali) machine through an API bridge so they can run terminal commands for penetration testing.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add kali -- python3 -m venv .venv~/.codex/config.toml
[mcp_servers.kali]
command = "python3"
args = ["-m", "venv", ".venv"]
# codex mcp add kali -- python3 -m venv .venv~/.cursor/mcp.json
{
"mcpServers": {
"kali": {
"command": "python3",
"args": [
"-m",
"venv",
".venv"
]
}
}
}.vscode/mcp.json
{
"servers": {
"kali": {
"type": "stdio",
"command": "python3",
"args": [
"-m",
"venv",
".venv"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"kali": {
"command": "python3",
"args": [
"-m",
"venv",
".venv"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"kali": {
"command": "python3",
"args": [
"-m",
"venv",
".venv"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"kali": {
"command": "python3",
"args": [
"-m",
"venv",
".venv"
]
}
}
}