Kali Linux Security Tools MCP server

Provides Kali Linux security tools in a sandboxed Docker environment for network analysis, binary examination, and security testing through controlled execution of utilities like nmap, objdump, and wireshark.
Back to servers
Provider
VERMAXVR
Release date
Apr 04, 2025
Language
Python
Stats
4 stars

This repository provides MCP (Model Context Protocol) servers specifically tailored for Kali Linux, designed to empower AI agents in reverse engineering and security testing. These servers enhance AI-driven cybersecurity processes through network analysis, traffic monitoring, and binary analysis capabilities.

Installation

To install the Kali MCPServers, follow these steps:

  1. Visit the Releases page on GitHub
  2. Download the latest version of the server files
  3. Extract the downloaded files to your preferred location on your Kali Linux system

Usage

Basic Setup

After downloading and extracting the server files, you can start using the MCP servers for various cybersecurity tasks. The servers provide several key functionalities:

  • Network analysis
  • Target sniffing
  • Traffic analysis
  • Binary understanding
  • Task automation

Running a Server

To start an MCP server, navigate to the directory containing the extracted files and execute the appropriate command:

cd /path/to/extracted/files
./start_mcp_server.sh

Configuration Options

The MCP servers can be configured for different use cases:

Network Analysis Mode

./start_mcp_server.sh --mode network_analysis --interface wlan0

Target Sniffing Mode

./start_mcp_server.sh --mode target_sniffing --output /path/to/output

Integrating with AI Agents

To connect your AI agent to the MCP server:

  1. Configure your AI agent to communicate with the MCP server endpoint
  2. Set the appropriate authentication parameters
  3. Use the MCP protocol to send commands and receive responses

Troubleshooting

Common Issues

  • Connection Errors: Ensure that the server is running and that your firewall allows the connection
  • Permission Denied: Make sure you have the necessary permissions to execute the server files
  • Missing Dependencies: Install any required dependencies using apt:
sudo apt update
sudo apt install -y [required-package]

Additional Resources

  • For more detailed information on specific features, check the documentation included with the server files
  • The servers support various cybersecurity tools commonly found in Kali Linux

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later