Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Pentest Tools

FreeNot checked

Pentest-Tools-MCP-Server

GitHubEmbed

About

Pentest-Tools-MCP-Server

README

An MCP (Model Context Protocol) server for penetration testing tools, designed to work with various LLM clients like Claude Desktop, Roo Code, and other compatible MCP clients.

Features

  • Comprehensive pentesting tools:
    • Directory scanning (FFuf, Dirsearch)
    • Vulnerability scanning (Nuclei, XSStrike)
    • API testing
    • Reconnaissance
    • And more...
  • Pre-configured wordlists from SecLists
  • Automated report generation
  • Claude Desktop integration

Prerequisites

  • Docker and Docker Compose (for containerized setup)
  • Claude Desktop application or other MCP-compatible client
  • Python 3.10+ and uv (for local setup)

Directory Setup

  1. Create the required directories:
# Create directories
mkdir -p reports templates wordlists
  1. Directory structure should look like this:
pentest-tools/
├── reports/          # For storing scan reports
├── templates/        # For report templates
├── wordlists/        # For custom wordlists
├── pentest-tools-mcp-server.py
├── config.json
├── requirements.txt
├── docker-compose.yml
└── Dockerfile

Setup

Docker Setup (Recommended)

  1. Build and start the container:
docker-compose up -d --build
  1. Verify the container is running:
docker-compose ps
  1. Check logs if needed:
docker-compose logs -f

Local Setup

  1. Install dependencies:
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install -r requirements.txt
  1. Install required system tools (example for Ubuntu/Debian):
sudo apt-get install nmap whatweb dnsrecon theharvester ffuf dirsearch sqlmap

Claude Desktop Integration

  1. Configure Claude Desktop:

Windows:

%APPDATA%\Claude\claude_desktop_config.json

MacOS/Linux:

~/Library/Application Support/Claude/claude_desktop_config.json
  1. Add server configuration:

For Docker setup:

{
    "mcpServers": {
        "pentest-tools": {
            "command": "docker-compose",
            "args": [
                "run",
                "--rm",
                "pentest-tools",
                "python3",
                "pentest-tools-mcp-server.py"
            ],
            "cwd": "\\Path\\to\\pentest-tools"
        }
    }
}

If the above configuration doesn't work on Windows, try this alternative approach:

{
    "mcpServers": {
        "pentest-tools": {
            "command": "cmd",
            "args": [
                "/c",
                "cd /d \\path\\to\\pentest-tools && docker-compose run --rm pentest-tools python3 pentest-tools-mcp-server.py"
            ]
        }
    }
}

Note about cwd (Current Working Directory):

  • cwd tells Claude Desktop which directory to run the command from
  • It must be the absolute path to the directory containing docker-compose.yml
  • On Windows, use double backslashes (\\) in paths
  • On Linux/MacOS, use forward slashes (/)
  1. Restart Claude Desktop

Usage

Available commands in Claude Desktop:

  1. Reconnaissance:
/recon example.com
  1. Directory scanning:
/scan example.com --type directory
  1. Vulnerability scanning:
/scan example.com --type full
/scan example.com --type xss
/scan example.com --type sqli
/scan example.com --type ssrf
  1. API testing:
/scan api.example.com --type api

Natural language commands:

  • "Run a full security scan on example.com"
  • "Check for XSS vulnerabilities on example.com"
  • "Perform reconnaissance on example.com"

Directory Structure Details

pentest-tools/
├── reports/            # Scan reports directory
│   ├── recon/         # Reconnaissance reports
│   ├── vulns/         # Vulnerability scan reports
│   └── api/           # API testing reports
├── templates/          # Report templates
│   ├── recon.html     # Template for recon reports
│   ├── vuln.html      # Template for vulnerability reports
│   └── api.html       # Template for API test reports
├── wordlists/         # Custom wordlists
│   ├── SecLists/     # Cloned from SecLists repo
│   ├── custom/       # Your custom wordlists
│   └── generated/    # Tool-generated wordlists
├── pentest-tools-mcp-server.py # Main MCP server
├── config.json        # Tool configuration
├── requirements.txt   # Python dependencies
├── docker-compose.yml # Docker configuration
└── Dockerfile        # Container definition

Security Notes

  • Always ensure you have permission to scan targets
  • Keep tools and dependencies updated
  • Review scan results carefully
  • Follow responsible disclosure practices

from github.com/ch1nhpd/Pentest-Tools-MCP-Server

Installing Pentest Tools

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/ch1nhpd/Pentest-Tools-MCP-Server

FAQ

Is Pentest Tools MCP free?

Yes, Pentest Tools MCP is free — one-click install via Unyly at no cost.

Does Pentest Tools need an API key?

No, Pentest Tools runs without API keys or environment variables.

Is Pentest Tools hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Pentest Tools in Claude Desktop, Claude Code or Cursor?

Open Pentest Tools on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Pentest Tools with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs