MCP Server and Kali API Server- With Claude Desktop Integ
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"project-astro": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that connects Claude for Desktop with Kali Linux security tools, enabling AI-assisted penetration testing
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in security
An evil MCP server used for redteam testing
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
mcpki-server is the backend infrastructure for https://www.mcpki.org, enabling secure public key management and autonomous certificate handling for large language models (LLMs).
MCP Security Weekly
Get CVE alerts and security updates for Project_astro and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that connects Claude for Desktop with Kali Linux security tools, enabling AI-assisted penetration testing
This project consists of two main components:
MCP Server (mcp_server.py): Implements the Model Context Protocol to connect Claude for Desktop with the Kali Linux tools API. It provides capabilities, prompts, and context to help Claude understand how to use the Kali tools effectively.
Kali Linux API Server (kali_api_server.py): A Flask application that provides API endpoints for executing various Kali Linux security tools. It handles the actual execution of commands and returns the results to the MCP server.
Claude for Desktop ←→ MCP Server ←→ Kali Linux API Server ←→ Kali Linux Tools
Clone this repository:
git clone https://github.com/yourusername/kali-mcp-server.git
cd kali-mcp-server
Run the setup script:
./setup.sh
Clone this repository:
git clone https://github.com/yourusername/kali-mcp-server.git
cd kali-mcp-server
Create a virtual environment:
python3 -m venv venv
Activate the virtual environment:
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Make the scripts executable:
chmod +x mcp_server.py kali_api_server.py run.py
Make sure the relevant Kali Linux tools are installed on your system:
sudo apt update
sudo apt install nmap gobuster dirb nikto sqlmap metasploit-framework hydra john wpscan enum4linux
The easiest way to start both servers is using the run.py script:
./run.py
This will start both the API server and MCP server in separate terminals.
Additional options:
--api-port PORT: Specify the API server port (default: 5000)--mcp-port PORT: Specify the MCP server port (default: 8080)--background: Run both servers in the background--setup: Set up or update the virtual environment--debug: Enable debug mode with detailed logging and diagnostic endpointsIf you prefer to start the servers manually:
Start the Kali Linux API Server:
source venv/bin/activate
python kali_api_server.py
In a new terminal, start the MCP Server:
source venv/bin/activate
python mcp_server.py
http://localhost:8080If you're using the unofficial Claude Desktop for Linux build:
Edit the MCP configuration file:
nano ~/.config/Claude/claude_desktop_config.json
Add your MCP server:
{
"mcp_servers": [
{
"name": "Kali Linux Tools",
"url": "http://localhost:8080",
"enabled": true
}
]
}
Save the file and restart Claude Desktop
{
"target": "10.10.10.10",
"scan_type": "-sV",
"ports": "80,443,22",
"additional_ar