kali-mcp
Enables AI assistants to run Kali Linux security tools in an isolated Docker container for tasks like network scanning, port checking, and service enumeration.
README
๐ kali-mcp - Run Kali Tools with AI Help
๐งฐ What this is
kali-mcp lets an AI assistant work with a Kali Linux Docker setup for security testing. It gives the assistant a safe, isolated place to run common Kali tools. That makes it easier to test systems, check for weak spots, and work through security tasks from one place.
This project is made for local use on Windows. You run it on your own computer, and it uses Docker to start the Kali Linux environment.
๐ฆ What you need
Before you start, make sure you have:
- A Windows PC
- Admin access on your computer
- Internet access
- Docker Desktop for Windows
- An AI assistant that supports MCP
- At least 8 GB of RAM
- Around 10 GB of free disk space
If your system is older, the app may still run, but Docker can use a lot of memory. More RAM gives a smoother result.
๐ Download kali-mcp
Go to the download page here:
Use that page to get the files you need, then follow the setup steps below.
๐ช How to run it on Windows
Follow these steps in order.
1. Install Docker Desktop
If Docker Desktop is not on your PC, install it first.
- Open the Docker Desktop website
- Download the Windows version
- Run the installer
- Restart your PC if asked
- Open Docker Desktop and wait until it says it is running
Docker is what starts the Kali Linux environment on your computer.
2. Get the project files
- Open the repository link
- Download the project files to your PC
- Save them in a folder you can find again, such as
DownloadsorDocuments - If the files come as a ZIP, right-click the ZIP file and choose Extract All
After this, you should have a folder named kali-mcp.
3. Open the folder
- Open File Explorer
- Go to the folder where you saved the project
- Open the
kali-mcpfolder
You should see files for the project inside that folder.
4. Start the Kali environment
The project uses Docker to start a Kali Linux container.
- Open Docker Desktop and make sure it is running
- Open a command window in the
kali-mcpfolder - Run the startup command that comes with the project files
- Wait while Docker downloads the Kali image
- Let the setup finish
The first start can take a few minutes. Later starts are faster.
5. Connect your AI assistant
Once the Docker setup is ready, connect your MCP-compatible AI assistant.
- Open your AI assistant app
- Go to its MCP or server settings
- Add the
kali-mcpserver - Use the local path or command from the project files
- Save the settings
- Restart the assistant if needed
After that, the assistant can use the Kali environment for supported security tasks.
๐ ๏ธ First use
When the server is running, you can ask the assistant to help with things like:
- Basic network checks
- Port scans with tools like nmap
- Service checks
- Simple security testing
- Reviewing system details in the Kali container
Keep your use within systems you own or have permission to test.
๐งญ Common tasks
Here are a few simple ways people use kali-mcp:
- Check which ports are open on a test machine
- Look for common service banners
- Run basic network discovery
- Test a local lab setup
- Use Kali tools without installing a full Kali system
Because the tools run in Docker, your main Windows system stays separate from the testing environment.
โ๏ธ How it works
kali-mcp acts as a bridge between your AI assistant and a Kali Linux Docker container.
- The AI assistant sends a request
- The MCP server passes the task to the Kali container
- The container runs the tool
- The result goes back to the assistant
This setup keeps the workflow simple. You do not need to open Kali by hand each time.
๐ Safety and permissions
Use this tool only on systems you own or have clear permission to test. Security tools can scan networks, check services, and gather data. That can affect systems if used the wrong way.
A safe setup is:
- Your own PC
- A home lab
- A test VM
- A training environment
- A system where you have written permission
๐งช Example use cases
- Learning how security tools work
- Testing a home lab
- Checking a small server before launch
- Exploring how an AI assistant can run CLI tools
- Doing repeatable checks in a Docker sandbox
๐งฑ Troubleshooting
Docker does not start
- Check that Docker Desktop is installed
- Restart your PC
- Open Docker Desktop as admin
- Make sure virtualization is on in BIOS or UEFI
The Kali container is slow
- Close other heavy apps
- Give Docker more memory in settings
- Make sure you have free disk space
The assistant does not see the server
- Check the MCP config path
- Make sure the server is running
- Restart the AI assistant
- Confirm the project folder has not moved
The install seems stuck
- Wait a few minutes on the first run
- Check your internet connection
- Look at Docker Desktop to see if it is pulling images
- Try again after restarting Docker
๐ Project layout
The project files usually include:
- Server files for MCP
- Docker setup files
- Start scripts
- Config files
- Documentation
Keep all files in the same folder so the setup stays simple.
๐ฅ๏ธ Windows tips
- Use a folder with a short path, such as
C:\kali-mcp - Keep Docker Desktop open while you use the server
- Do not move the folder after setup unless you update the path
- If Windows asks for permission, allow it for Docker and the project files
๐ Why people use it
This project helps you use Kali Linux tools without setting up a full virtual machine. It also lets an AI assistant help with tasks that need command-line tools. That can save time when you do repeatable security checks in a lab or test setup
๐ Repository details
- Name: kali-mcp
- Type: MCP server
- Platform: Windows with Docker
- Purpose: Security testing with Kali Linux tools
- Topics: AI tools, Claude, cybersecurity, Docker, ethical hacking, Kali Linux, MCP, nmap, pentesting, security
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.