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.
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.
Go to the download page here:
Use that page to get the files you need, then follow the setup steps below.
Follow these steps in order.
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.
- 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.
- 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.
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.
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.
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.
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.
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.
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
- 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
- Check that Docker Desktop is installed
- Restart your PC
- Open Docker Desktop as admin
- Make sure virtualization is on in BIOS or UEFI
- Close other heavy apps
- Give Docker more memory in settings
- Make sure you have free disk space
- Check the MCP config path
- Make sure the server is running
- Restart the AI assistant
- Confirm the project folder has not moved
- 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
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.
- 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
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
- 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