kali-mcp
Provides tools to run Kali Linux security testing tools within a Docker container, enabling tasks like network scanning, port scanning, and service discovery via an AI assistant.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kali-mcpscan open ports on 192.168.1.1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ 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
DownloadsorDocumentsIf 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-mcpfolderRun 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-mcpserverUse 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-mcpKeep 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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Unaacceptable297/kali-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server