Skip to main content
Glama
rdriver001

mcp-kali-tools

by rdriver001

mcp-kali-tools

A Docker image that runs a Model Context Protocol server exposing common Kali Linux pentesting tools to an MCP client (e.g. Claude Desktop). Each tool runs as its own MCP tool call, executed directly as argv (no shell), so arguments can't be used to chain or inject arbitrary shell commands — but each tool still has the full power of its underlying binary.

Authorized use only. This bundles offensive security tooling (nmap, sqlmap, hydra, Metasploit, etc.). Only point it at systems and networks you're authorized to test.

Tools included

nmap, sqlmap, nikto, hydra, john, hashcat, msfconsole, gobuster, ffuf, whatweb, wpscan, aircrack-ng, searchsploit

aircrack-ng can crack existing capture files, but live wireless capture (monitor mode) needs a physical adapter passed through to the container (--device, --net=host), which isn't set up by default.

Related MCP server: Kali MCP Server

Build

docker build -t mcp-kali-tools:latest .

Run manually (for testing)

The server speaks MCP over stdio — it's not meant to be left running standalone. To smoke-test it, pipe JSON-RPC requests in directly:

docker run -i --rm mcp-kali-tools:latest

Configure in Claude Desktop

Create a host directory for wordlists/scan output to persist across runs, e.g.:

mkdir -p ~/mcp-data

Add this to mcpServers in your claude_desktop_config.json:

{
  "mcpServers": {
    "kali-tools": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "--cap-add=NET_RAW", "--cap-add=NET_ADMIN",
        "-v", "/home/YOUR_USER/mcp-data:/data",
        "mcp-kali-tools:latest"
      ]
    }
  }
}

--cap-add=NET_RAW --cap-add=NET_ADMIN is required for full nmap functionality (e.g. SYN scans). The /data mount is where wordlists (e.g. rockyou.txt) and scan output should live — pass paths under /data/... in tool arguments to read/write there.

Restart Claude Desktop after editing the config. If Docker was installed or your user was just added to the docker group, log out and back in first — group membership only applies to new login sessions.

Notes

  • Each container run is ephemeral (--rm); nothing persists except what's written to /data.

  • Output per tool call is capped at 20,000 characters and each call times out after 180s by default (override with the timeout argument on any tool call).

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to execute Kali Linux security tools like nmap, sqlmap, and hydra in a secure, sandboxed environment. Provides both MCP and HTTP API interfaces for penetration testing and security assessment tasks.
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to perform authorized penetration testing and security assessments by exposing 20+ Kali Linux security tools (nmap, sqlmap, gobuster, hydra, etc.) through a safe, validated interface with command allowlists, rate limiting, and input sanitization.
    19
    1
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to perform professional penetration testing through a containerized Kali Linux environment, exposing industry-standard offensive security tools as structured MCP tools.
    45
    4
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI-assisted penetration testing by connecting MCP clients to execute terminal commands on a Kali Linux machine, supporting tools like Nmap, Metasploit, and custom commands.
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

  • Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

View all MCP Connectors

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/rdriver001/mcp-kali-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server