Skip to main content
Glama

Overview

Pentester-MCP provides Model Context Protocol (MCP) integration for over 200 of the most popular open-source cybersecurity and penetration testing tools.

By adding Pentester-MCP to an AI assistant (like Claude Desktop, Cursor, or specialized agents), the AI gains the autonomous ability to act as a penetration tester:

  • It can run nmap scans, analyze open ports, and automatically decide to run ffuf on discovered web servers.

  • It can execute sqlmap against parameters it identifies as vulnerable.

  • It understands tool arguments, required flags, and syntaxes thanks to AI-optimized documentation strings injected into every MCP tool.

All 217 Python *_mcp.py tools were generated intelligently from cheat sheets to ensure safe execution (e.g., preventing shell injection, enforcing timeouts, and handling huge terminal outputs).

Related MCP server: redteam-mcp

The Arsenal

The tools/ directory includes MCP servers for almost every category:

  • Reconnaissance: nmap, masscan, recon-ng, amass, subfinder, nuclei

  • Web Exploitation: sqlmap, commix, ffuf, gobuster, dirsearch, nikto

  • Active Directory & Network: impacket (full suite), bloodhound, responder, evil-winrm

  • Brute-Forcing & Password: hydra, medusa, john, hashcat, nxc

  • And 180+ more covering WiFi, Cloud, Kubernetes, and reversing.


Installation & Usage

Because of the massive amount of tools, installing everything on your host machine can be messy. Therefore, Pentester-MCP offers two primary ways to run: Docker Sandbox (Recommended) and Local Execution. Both use uv for dependency management — the project is defined in pyproject.toml, locked in uv.lock, and everything lives under src/.

The sandbox is based on Exegol — a well-known, curated set of Docker build recipes for pentesters (shell history, wordlists, custom tool configs). Exegol's prebuilt Docker Hub tags are stale (frozen at v3.1.6 while upstream is at 3.2), so Pentester-MCP builds Exegol from source: the src/exegol-images git submodule pins the upstream recipe tree, and each src/docker/Dockerfile.<variant> runs Exegol's own entrypoint.sh package installers on top of debian:13-slim. You always get the current Exegol tree — update it with one command and rebuild:

git submodule update --remote src/exegol-images

Variant images live in src/pentester_mcp/docker/ (Dockerfile.<variant>) with a matching compose file in src/pentester_mcp/compose-files/ per profile:

Variant

Exegol packages

Focus

Suggested config

example-kali (default)

(none)

thin Kali base, you pick tools via apt in the Dockerfile — fastest way to try Pentester-MCP

pick your own

web

base + web + cracking + code analysis

web app security

web-config.yaml

ad

base + ad + c2 + network

Active Directory / internal

ad-config.yaml

light

base + package_most_used

essentials only, fastest build

pick your own

osint

base + osint

OSINT

recon-config.yaml

full

all package_* installers

every supported tool

any

Build time warning: building Exegol from source compiles the whole toolkit — expect hours and a multi-GB image (light is the fastest). Docker layer caching makes later rebuilds incremental.

The MCP_CONFIG_PATH in each compose file controls which tool wrappers are exposed to the AI; the image determines which binaries are installed. Exposed-but-missing tools simply return a FileNotFoundError the AI can report.

  1. Clone with submodules and select your tools (src/pentester_mcp/configs/*.yaml):

    git clone --recurse-submodules https://github.com/halilkirazkaya/pentester-mcp.git
    cd pentester-mcp
  2. Build and Run the Sandbox:

    docker compose -f src/pentester_mcp/compose-files/docker-compose.example-kali.yml up -d --build

    For another profile, e.g. web:

    docker compose -f src/pentester_mcp/compose-files/docker-compose.web.yml up -d --build

    Your container is now running silently in the background.

  3. Add to your AI Client: Open your MCP client's configuration (e.g., claude_desktop_config.json) and copy a snippet from src/pentester_mcp/mcp-config-files/.


Method B: Local Execution (Fastest Setup)

If you already have Kali Linux, Parrot OS, or you specifically only want to use the tools already installed on your host system:

  1. Clone and Install with uv:

    git clone https://github.com/halilkirazkaya/pentester-mcp.git
    cd pentester-mcp
    uv sync
    uv run pentester-mcp                                    # default config (example)
    uv run pentester-mcp src/pentester_mcp/configs/web-config.yaml
    uv run python -m pentester_mcp.server src/pentester_mcp/configs/ad-config.yaml
  2. Add to your AI Client: Point your MCP client at the console script (.venv/bin/pentester-mcp) or run python -m pentester_mcp.server from your local environment. The active tool set is chosen by (in order): the config path argument, MCP_CONFIG_PATH, or the default src/pentester_mcp/configs/example-config.yaml.

    Note: If the tool binary (e.g., nmap or gobuster) is not installed on your host system, the AI will gracefully receive a FileNotFoundError and inform you.


🔧 Configuring MCP Clients (Claude, Cursor, etc.)

Unlike legacy setups requiring you to register a server per tool out of 217 options, Pentester-MCP now uses a Unified Server Architecture.

  1. Define which tools you want available by editing a configuration file in src/pentester_mcp/configs/ (e.g., example-config.yaml).

  2. Add the single Unified Server to your Claude/Cursor configuration. Ready-to-use MCP client snippets live in src/pentester_mcp/mcp-config-files/ in two sets — same eight tool configs each, one file per tool config:

    • docker/ — runs the server inside the running pentester-mcp container (docker exec ... uv run --no-sync --project /app pentester-mcp configs/<name>.yaml). For use with Method A.

    • local/ — runs the server directly on your host with uv (uv run --no-sync --directory <repo> pentester-mcp src/pentester_mcp/configs/<name>.yaml). For use with Method B; replace the /path/to/pentester-mcp placeholder with your clone's path and run uv sync once first.

    File (in both docker/ and local/)

    Starts the server with

    Tools exposed

    mcp-config.json

    example-config.yaml

    starter 18-toolkit

    mcp-config.full.json

    full-config.yaml

    everything (217)

    mcp-config.web.json

    web-config.yaml

    web only

    mcp-config.ad.json

    ad-config.yaml

    AD only

    mcp-config.recon.json

    recon-config.yaml

    recon only

    mcp-config.pwd.json

    pwd-config.yaml

    password attacks

    mcp-config.exploit.json

    exploit-config.yaml

    exploitation/C2

    mcp-config.misc.json

    misc-config.yaml

    misc/scanning

    Multiple snippets can coexist in one MCP client (distinct mcpServers keys: pentester_mcp, pentester_mcp_web, ...), letting the AI pick the right toolset per task. Don't register the docker/ and local/ version of the same profile together — they use the same server keys.

Claude Desktop Example

Simply copy the contents of src/pentester_mcp/mcp-config-files/docker/mcp-config.json (Method A) or src/pentester_mcp/mcp-config-files/local/mcp-config.json (Method B) into your claude_desktop_config.json file. The docker one looks like this:

{
  "mcpServers": {
    "pentester_mcp": {
      "command": "docker",
      "args": [
        "exec",
        "-i",
        "pentester-mcp",
        "uv",
        "run",
        "--no-sync",
        "--project",
        "/app",
        "pentester-mcp",
        "configs/example-config.yaml"
      ]
    }
  }
}

WARNING: The snippets use docker exec -i pentester-mcp, targeting the running Docker container named pentester-mcp. Ensure the container is running (e.g. docker compose -f src/pentester_mcp/compose-files/docker-compose.example-kali.yml up -d) before using the AI assistant. The configs/<name>.yaml argument is the path inside the container; the same files live locally under src/pentester_mcp/configs/.


Contributing & Architecture

The Python scripts in the src/pentester_mcp/tools/ directory are auto-generated from YAML cheat sheets to guarantee consistent API design (proper timeouts, truncating outputs to >8000 chars, no shell=True vulnerabilities). Only security- and pentest-specific tools are included; generic sysadmin utilities are intentionally excluded (the kubectl wrapper is kept for Kubernetes attack-surface checks like RBAC enumeration and secret viewing).

If you have a request for a new tool to be added, please feel free to open an issue.


Disclaimer

Legal Disclaimer: This project is created strictly for educational purposes, authorized auditing, and ethical hacking. The developers of Pentester-MCP assume no liability and are not responsible for any misuse or damage caused by this software. Never use these tools against environments you do not own or do not have explicit, written permission to test.

Star History

Available Tools

32 tools
john_prepareJohn PrepareA

Prepare hashes for John the Ripper by converting various formats or cleaning wordlists. Tags: password-cracking, preparation, security, authentication

Usage Guide:

  • unshadow: Combines /etc/passwd and /etc/shadow for Linux password cracking. input_file should be /etc/passwd.

  • zip/rar/ssh/pdf: Extracts crackable hashes from encrypted archives or keys.

  • unique: Removes duplicates from a wordlist while preserving order.

Warnings: This tool is used for exploitation and brute-force preparation.

Inputs: mode (required), input_file (required), output_file, shadow_file. Returns: result

list_nikto_pluginsList Nikto PluginsA

Lists all available plugins that Nikto can use to perform security checks. No actual scanning is performed. Tags: web, scanner, security, pentest, vulnerability, enumeration, reconnaissance

Inputs: no named parameters. Returns: result

run_amassRun AmassA

Amass is an in-depth DNS enumeration and network mapping tool for attack surface discovery. Tags: reconnaissance, dns, enumeration, subdomains, osint, pentest, security

Usage Guide:

  • Passive Discovery (mode="enum", passive=True): Performs reconnaissance gathering data from public sources (search engines, cert logs) without direct target interaction. Best for avoiding detection.

  • Active Enumeration (mode="enum", active=True, brute=True): Thorough search using DNS queries, certificate pulling, and brute-forcing. More intrusive and detectable.

  • Configuration (config): Use a specific config file for API keys (Censys, Shodan, etc.) to expand results.

  • Infrastructure (asn, cidr): Identify assets via ASN numbers or specific CIDR blocks to find "shadow IT".

  • Tracking (mode="track"): Compares current enumeration with previous runs to highlight new or removed assets.

  • Analysis (mode="subs"): Provides a summarized view/statistics of discovered subdomains and IP distribution.

  • Visualization (mode="viz"): Generates D3.js interactive graph visualizations of infrastructure relationships.

  • History (mode="enum", list_history=True): Lists all previous enumeration sessions from the local database.

Inputs: asn, cidr, mode, brute, +7 more. Returns: result

run_dpl4hydraRun Dpl4HydraA

Generates a list of default usernames and passwords for various hardware brands. Tags: network, security, pentest, brute-force

Usage Guide:

  • Generates 'login:password' formatted output suitable for Hydra's -C option.

  • Useful for targeting default credentials on IoT, routers, and hardware.

Inputs: brand. Returns: result

run_ffufRun FfufA

ffuf (Fuzz Faster U Fool) is a professional web fuzzer used for directory discovery, vhost enumeration, and parameter brute-forcing. Tags: web, scanner, fuzzer, pentest, enumeration, security, reconnaissance

Usage Guide:

  • Basic Discovery: Provide a url (e.g., http://example.com/FUZZ) and a wordlist.

  • File Discovery: Use extensions (e.g., .php,.bak) to find specific file types.

  • Recursive Scanning: Set recursion=True and a depth to crawl discovered directories.

  • VHost Fuzzing: Provide target_ip and domain. Ffuf will fuzz the Host header (FUZZ.domain).

  • POST Fuzzing: Set http_method="POST" and provide post_data containing the FUZZ keyword.

  • Credential Stuffing: Provide user_list and pass_list to use 'clusterbomb' mode for multi-wordlist fuzzing.

  • Advanced Filtering: Use filter_code or size_to_ignore to remove noise. auto_calibrate is highly recommended.

  • Session Fuzzing: Use cookies to fuzz behind authentication.

  • Request Files: Use request_file to import complex HTTP requests (e.g., from Burp Suite).

Inputs: url, depth, proxy, domain, +16 more. Returns: result

run_gobusterRun GobusterA

Gobuster is a multi-purpose tool used for brute-forcing URIs, DNS subdomains, Virtual Host names, and Cloud buckets. Tags: web, scanning, enumeration, pentest, reconnaissance, dns, brute-force, s3, cloud, security

Usage Guide:

  • Directory/File Enumeration (mode="dir"): Discover hidden paths on a web server. Use url and optional extensions (e.g., "php,txt"). Use status_codes (e.g., "404,403") to hide unwanted responses.

  • DNS Enumeration (mode="dns"): Find subdomains for a domain. Use ignore_wildcard to handle wildcard DNS records.

  • VHOST Enumeration (mode="vhost"): Identify virtual hosts on a server by brute-forcing the Host header. Requires url.

  • Cloud Bucket Enumeration (mode="s3" or "gcs"): Search for publicly accessible Amazon S3 or Google Cloud Storage buckets using a wordlist.

  • Fuzzing Mode (mode="fuzz"): Replace the 'FUZZ' keyword in a url with wordlist entries.

  • TFTP Enumeration (mode="tftp"): Brute-force filenames on a TFTP server using server_ip.

Warnings:

  • This tool performs brute-force operations which may be logged, trigger WAFs, or cause account lockouts.

Inputs: mode (required), url, depth, domain, +9 more. Returns: result

run_hashcatRun HashcatA

Hashcat is the world's fastest and most advanced password recovery utility. Tags: security, pentest, password-cracking, forensics, cryptography, gpu-acceleration

Usage Guide:

  • System Benchmark (action="benchmark"): Test hardware performance.

  • Identify Hash (action="identify"): Detect the algorithm of a hash string or file.

  • List Modes (action="list"): Show all supported hash types and their IDs.

  • Straight Attack (action="crack", attack_mode=0): Dictionary attack using a wordlist. Optionally provide a rule_file to mutate the wordlist.

  • Combinator Attack (action="crack", attack_mode=1): Combine words from two wordlists (wordlist and wordlist2).

  • Mask Attack (action="crack", attack_mode=3): Brute-force using a pattern (e.g., ?u?l?l?l?d?d). Use increment with increment_min/increment_max to try varying lengths.

  • Hybrid Attack (action="crack", attack_mode=6): Append a mask to words in a dictionary.

  • Show Results (action="show"): Display cracked passwords from the potfile for a target hash.

Warnings:

  • This tool is used for password cracking. Ensure you have explicit permission to perform this action.

  • High workload profiles (-w 3 or 4) may cause system lag or unresponsiveness.

Inputs: action (required), mask, wordlist, hash_file, +10 more. Returns: result

run_httpxRun HttpxA

httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes. Tags: network, web, scanner, security, pentest, enumeration, reconnaissance

Usage Guide:

  • Basic Probing: Use target for a single host or list_file for multiple hosts.

  • Information Gathering: Enable status_code, title, and server for general reconnaissance, or tech_detect and content_length for deep analysis.

  • Filtering: Use match_code or filter_code to focus on specific HTTP responses. Use search_string to find keywords in page bodies.

  • Advanced Scans: Use ports and paths for non-standard discovery. Enable screenshot (requires chrome) for visual confirmation.

  • Infrastructure: Use cdn, ip, asn, and favicon to map out the target's network footprint and organizational assets.

  • Output: Use json and output_file for automation-ready results, or store_response to save full raw response bodies.

Inputs: ip, asn, cdn, jarm, +27 more. Returns: result

run_hydraRun HydraA

Hydra is a parallelized login cracker which supports numerous protocols to attack. Tags: network, security, pentest, brute-force, authentication, exploitation, cracker

Usage Guide:

  • Basic Attack: Provide a target, service (e.g., ssh, ftp), and either a username or user_file.

  • HTTP Form Attacks: Set service to "http-post-form". Use path, user_field, pass_field, and fail_string to define the form structure and failure condition.

  • Password Generation: Use brute_force_gen (format MIN:MAX:CHARSET, e.g., "3:5:a1") to generate passwords instead of a wordlist.

  • Session Management: Set restore=True to resume a previously aborted session from the hydra.restore file.

  • Optimization: Use threads to control parallelism and exit_found to stop after the first valid credential pair is discovered.

Warnings:

  • This tool is used for brute-forcing/exploitation. Ensure you have explicit authorization before use.

Inputs: path, target, restore, service, +13 more. Returns: result

run_johnRun JohnA

John the Ripper is a powerful password cracking tool supporting hundreds of hash types. Tags: password-cracking, security, pentest, brute-force, exploitation, authentication, hash-cracking

Usage Guide:

  • Wordlist Attack (mode="wordlist"): Standard dictionary attack. Set rules=True to enable word mangling.

  • Single Crack (mode="single"): Uses GECOS/username info. Best first step for system accounts.

  • Incremental (mode="incremental"): Pure brute-force mode.

  • Mask Attack (mode="mask"): Cracks passwords matching a specific pattern (default: ?u?l?l?l?d?d).

  • Show Results (mode="show"): Displays previously cracked passwords for a hash file.

  • Session Management: Use mode="session" to start a named session, and mode="restore" to resume using session_name.

Warnings: This tool is used for brute-force and exploitation. Ensure you have explicit authorization.

Inputs: mode (required), mask, rules, wordlist, +3 more. Returns: result

run_masscanRun MasscanA

Masscan is an extremely fast asynchronous TCP port scanner. Tags: network, scanner, security, pentest, enumeration, port-scanner, reconnaissance

Usage Guide:

  • Basic Scanning: Provide a target_range (IP or CIDR) and ports (comma-separated or range).

  • Internet Scale: To scan the entire IPv4 space, set target_range to "0.0.0.0/0".

  • Performance: Use rate to adjust packets-per-second (pps). Default is 1000; use 100000+ for high-speed lines.

  • Fingerprinting: Set banners to True to perform banner grabbing (requires full TCP handshake).

  • Safety: Use exclude_range to prevent scanning sensitive production or medical equipment.

  • Networking: Use source_ip, source_mac, and gateway_mac if masscan cannot auto-detect your interface.

  • Configuration: Use config_file to load scan parameters from a saved .conf file.

Inputs: rate, ports, banners, source_ip, +6 more. Returns: result

run_ndiffRun NdiffA

Compare two Nmap XML output files and highlight changes in network state. Tags: network, comparison, enumeration

Usage Guide: Use this to identify new open ports, changed service versions, or hosts that have gone offline between two scan intervals. Requires XML output files (.xml).

Inputs: file_today (required), file_yesterday (required). Returns: result

run_netcat_clientRun Netcat ClientA

Netcat (nc/ncat) is a versatile networking tool used for port scanning, banner grabbing, and establishing client connections for data transfer or remote shells. Tags: network, security, pentest, shell, transfer, enumeration, scanning

Usage Guide:

  • Port Scanning: Set scan=True to check if ports are open without sending data.

  • Banner Grabbing: Connect to a target and port with verbose=True to identify services.

  • Reverse Shell: Provide target (attacker IP) and port (attacker listener) along with exec_shell (e.g., '/bin/bash' or 'cmd.exe') to initiate a reverse connection.

  • File Transfer (Send): Provide file_to_send to transmit a local file to a remote listener.

  • Secure Connection: Set use_ssl=True to connect to an Ncat SSL-enabled listener.

Inputs: port (required), target (required), scan, use_ssl, +3 more. Returns: result

run_nikto_scanRun Nikto ScanA

Nikto is an open-source web server scanner that performs comprehensive tests against web servers for multiple items. Tags: web, scanner, security, pentest, vulnerability, enumeration, reconnaissance

Usage Guide:

  • Basic Scan: Provide only the target to perform a standard vulnerability scan.

  • SSL/TLS: Set ssl=True when scanning HTTPS websites (port 443).

  • Specific Port: Use port for non-standard web ports (e.g., 8080, 8443).

  • Reporting: Define output_file and output_format (htm, csv, json, xml, txt) to save results.

  • Tuning: Use tuning_options to focus on specific test categories (e.g., '123bde'). Use exclude_options to skip specific tests (e.g., '6' for DoS).

  • Optimization: Use maxtime (e.g., '1h', '30m') to limit scan duration.

  • Authentication: Provide username and password for HTTP Basic Auth scans.

  • Evasion: Use evasion_type (e.g., '15') to employ IDS/IPS bypass techniques.

  • Proxying: Use proxy_ip and proxy_port to route traffic through an external proxy like Burp Suite.

  • Advanced Enum: Use mutation_type (e.g., '3,6') for directory and user enumeration.

  • Virtual Hosts: Use vhost to specify a domain name for shared hosting environments.

Inputs: target (required), ssl, port, vhost, +11 more. Returns: result

run_nmapRun NmapA

Nmap (Network Mapper) is a powerful tool for network discovery and security auditing. Tags: network, scanner, reconnaissance, security, pentest, enumeration, discovery

Usage Guide:

  • Host Discovery: Use mode="ping" for a fast ICMP/TCP scan to find live hosts, or mode="list" to resolve DNS names without sending packets.

  • Port Scanning: Default mode is "syn" (Stealth SYN scan). Use mode="udp" for UDP services.

  • Enumeration: Set service_version=True for version detection (adjust version_intensity 0-9) or os_detection=True for OS fingerprinting.

  • Aggressive Mode: Set aggressive=True to enable OS detection, version detection, script scanning, and traceroute simultaneously.

  • Scripting (NSE): Use the scripts parameter to run "default", "vuln" (vulnerability checks), or "brute" (password guessing).

  • Evasion: Use timing (0-5) to control speed/stealth, fragment=True to split packets, and decoys="IP1,IP2,ME" to mask your source.

  • Output: Use output_name to save results in normal, XML, and grepable formats.

Warnings: This tool contains functionality for brute-forcing and security exploitation.

Inputs: target (required), mode, ports, decoys, +8 more. Returns: result

run_npingRun NpingA

Network packet generation tool for custom TCP, UDP, ICMP, and ARP probes. Tags: network, reconnaissance, discovery

Usage Guide: Use nping to craft specific TCP packets (like SYN probes) with custom TTL values to test firewall rules or network path behavior.

Inputs: target (required), ttl, port, flags. Returns: result

run_nucleiRun NucleiA

Nuclei is a powerful, template-based vulnerability scanner used for reconnaissance and security testing. Tags: vulnerability-scanner, security, pentest, automation, network, web, reconnaissance

Usage Guide:

  • Basic Scanning: Use target for a single URL or targets_file for a list of hosts.

  • Automation: Enable auto_scan to automatically detect technologies and run relevant templates.

  • Filtering: Use tags (e.g., 'cve,exposure') or severity (e.g., 'critical,high') to limit scan scope.

  • Advanced Modes: Enable headless for JavaScript-heavy apps, dast for fuzzing, or passive for non-intrusive analysis.

  • Performance: Control speed with rate (requests per second) and concurrency (parallel templates).

  • OSINT: Use uncover with uncover_query and uncover_engine to scan targets from Shodan/Censys.

  • Maintenance: Set update_templates to True to update the nuclei engine and templates.

Inputs: dast, rate, tags, header, +17 more. Returns: result

run_pw_inspectorRun Pw InspectorA

Filters a password wordlist based on length criteria to optimize Hydra attacks. Tags: network, security, pentest, brute-force

Usage Guide:

  • Pre-filter wordlists to match target password policies (e.g., minimum 8 chars).

  • This reduces the number of attempts Hydra makes by skipping invalid candidates.

Inputs: input_list (required), output_list (required), max_len, min_len. Returns: result

run_searchsploitRun SearchsploitA

Search for exploits and shellcodes in the local Exploit-DB database. Tags: security, exploitation, pentest, vulnerability, exploit-db, reconnaissance, enumeration

Usage Guide:

  • Basic Search (mode="search"): Search for exploits using keywords in query. Use title_only to ignore file paths, exact_match for precise title strings, or case_sensitive for specific product names.

  • CVE Search: Use the cve_id parameter to find exploits linked to specific vulnerability identifiers.

  • Filtering: Use exclude_pattern to remove unwanted results (e.g., DoS or PoC files) from your search.

  • File Operations: Use mode="mirror" to copy an exploit via edb_id, mode="examine" to view source code, or mode="path" to get the absolute file system path.

  • Automation: Use nmap_xml_file to automatically find exploits for services detected in an Nmap scan.

  • Maintenance: Set update_db=True to update the local exploit database repository.

Inputs: mode, query, cve_id, edb_id, +8 more. Returns: result

run_smbmapRun SmbmapA

SMBMap allows users to enumerate SAMBA share drives across an entire domain. It can list share permissions, drive contents, upload/download files, and execute remote commands. Tags: network, security, pentest, enumeration, exploitation, authentication, smb

Usage Guide:

  • Null Session: Provide only the target.

  • Authenticated: Provide username, password_or_hash, and optionally domain.

  • Pass-the-Hash: Provide the NTLM hash (LM:NT format) in the password_or_hash field.

  • Enumeration: Use recursive and depth to crawl shares. Use share to focus on one.

  • File Ops: Use download_path for exfiltration or upload_local/upload_remote for transfers.

  • Searching: Use auto_download_pattern (regex) to grab matching files or search_content_pattern to grep inside files.

  • Execution: Use execute_command with exec_mode ("wmi" or "psexec") for remote code execution.

Warnings:

  • This tool can perform exploitation and authentication attempts which may be logged or trigger alerts.

  • File deletion is destructive. Use delete_path with caution.

Inputs: target (required), depth, share, domain, +15 more. Returns: result

run_sqlmapRun SqlmapA

Sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers. Tags: security, pentest, exploitation, vulnerability-scanner, database, sql-injection, enumeration

Usage Guide:

  • Target Specification: Provide a url for standard GET scans, or post_data for POST requests. Use request_file to load a raw HTTP request (e.g., exported from Burp).

  • Request Configuration: Use cookie_string for authenticated sessions. Enable random_agent or tor to bypass filters and hide origin.

  • Detection & Tuning: Adjust level (1-5) and risk (1-3) for deeper testing. Use tamper_script to evade WAF/IPS.

  • Enumeration: Use list_dbs to find databases, list_tables (with database_name) to find tables, and dump_table (with database_name and table_name) to exfiltrate data.

  • System Access: Use remote_file_read to retrieve local files from the server.

  • Automation: batch mode is enabled by default to prevent the tool from pausing for user input.

Warnings: ⚠️ WARNING: This tool contains exploitation/destructive capabilities. Use with extreme caution.

Inputs: tor, url, risk, batch, +14 more. Returns: result

run_subfinderRun SubfinderA

Subfinder is a subdomain discovery tool that queries passive online sources. Tags: subdomain, enumeration, reconnaissance, passive, osint, security, pentest

Usage Guide:

  • Basic Enumeration: Provide a domain to perform passive discovery. This queries online sources without direct target traffic.

  • Multiple Domains: Use file to scan a list of domains (one per line).

  • Active Verification: Use active to resolve discovered subdomains or include_ips to see IP addresses.

  • Source Management: Use list_sources to see available providers, all_sources for thoroughness, or sources/exclude_sources to curate providers.

  • Output: Use silent for clean piping, json_format for structured data, or output_file to save results.

  • Performance: Adjust limit to control request rates and resolvers for faster DNS resolution during active checks.

  • Advanced: Enable recursive to find sub-subdomains on supported sources.

  • System: Use update to download the latest version of the tool.

Inputs: file, limit, active, domain, +11 more. Returns: result

run_theharvesterRun TheharvesterA

theHarvester is a tool for gathering subdomain names, e-mail addresses, virtual hosts, open ports/ banners, and employee names from different public sources. Tags: osint, reconnaissance, security, pentest, enumeration, subdomains, email-harvesting

Usage Guide:

  • Basic Reconnaissance: Provide a domain to collect emails and subdomains. Use source (default "all") to query search engines and public databases.

  • Performance Tuning: Use limit to restrict the number of search results to avoid rate-limiting.

  • Advanced Enumeration: Enable dns_brute (-c) for wordlist-based subdomain guessing or vhost (-v) to identify virtual hosts on discovered IPs.

  • Infrastructure Analysis: Enable shodan (-s) to query port and service data (requires API key setup).

  • API & Takeovers: Use api_scan (-a) with a wordlist to find hidden endpoints, and takeover_check (-t) to detect subdomains pointing to unclaimed cloud services.

  • Output: Save findings using filename or capture visual evidence of active sites with screenshot_dir.

Inputs: domain (required), limit, vhost, shodan, +8 more. Returns: result

run_whatwebRun WhatwebA

WhatWeb identifies websites. Its goal is to answer the question, "What is that website?". It identifies technologies including content management systems (CMS), blogging platforms, statistic/analytics packages, JavaScript libraries, web servers, and embedded devices. Tags: web, scanner, security, pentest, enumeration, fingerprinting, reconnaissance

Usage Guide:

  • Basic Scan: Provide a target URL or IP.

  • Batch Scanning: Use input_file to read targets from a file or ip_range for CIDR discovery.

  • Aggression Levels: Use aggression 1 (stealthy) to 4 (heavy footprint). Level 3 is recommended for version detection.

  • Authentication/Headers: Use cookies, auth (user:pass), or custom header for protected areas.

  • Search Plugins: Use search_keyword to query the internal plugin database instead of scanning.

  • Output: Use verbose for detailed logic or log_json to save results to a file.

Inputs: auth, grep, proxy, header, +11 more. Returns: result

start_hashcat_sessionStart Hashcat SessionA

Starts or restores a persistent, long-running hashcat cracking session in the background. Tags: security, pentest, password-cracking, persistent

Usage Guide:

  • To start a new session: Provide a unique session_name, hash_mode, and the attack parameters.

  • To restore a session: Set restore=True and provide the session_name.

  • This launches the process in the background. Use the returned PID to monitor or stop it.

Inputs: hash_file (required), hash_mode (required), session_name (required), mask, +3 more. Returns: result

start_ncat_listenerStart Ncat ListenerA

Starts a persistent TCP listener using Ncat for file transfers or reverse shells. Tags: network, listener, persistent

Usage Guide: Launches Ncat in the background with '--keep-open' to accept sequential connections. Control is returned immediately with the Process ID (PID).

Inputs: port. Returns: result

start_netcat_listenerStart Netcat ListenerA

Starts a persistent Netcat or Ncat listener on a local port. Tags: network, security, pentest, shell, transfer, enumeration, scanning

Usage Guide:

  • Basic Listener: Start a listener on lport to catch data or shells.

  • Bind Shell: Set exec_shell (e.g., '/bin/bash') to provide a shell to anyone connecting.

  • Receive File: Provide incoming_file to save all data received on the port to a file.

  • Secure Bind Shell: Use use_ssl=True and allowed_ip for an encrypted shell restricted to one source.

  • HTTP Proxy: Set proxy_mode=True to act as an HTTP proxy server.

Inputs: lport, use_ssl, allowed_ip, exec_shell, +2 more. Returns: result

start_sqlmap_os_shellStart Sqlmap Os ShellA

Attempts to gain an interactive command-line shell on the underlying operating system. Tags: security, pentest, exploitation, vulnerability-scanner

Usage Guide:

  • This command launches a persistent process to attempt OS takeover.

  • Requires high database privileges.

  • This tool runs in the background. Use the returned PID to manage it.

Warnings: ⚠️ WARNING: This tool contains exploitation/destructive capabilities. Use with extreme caution.

Inputs: url (required), batch. Returns: result

stop_hashcat_sessionStop Hashcat SessionB

Terminates a background hashcat session.

Inputs: pid (required). Returns: result

stop_ncat_listenerStop Ncat ListenerC

Terminates a background Ncat listener process.

Inputs: pid (required). Returns: result

stop_netcat_listenerStop Netcat ListenerB

Terminates a background Netcat listener process using its PID.

Inputs: pid (required). Returns: result

stop_sqlmap_os_shellStop Sqlmap Os ShellB

Terminates a background sqlmap os-shell process.

Inputs: pid (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 32 tools

    Disambiguation3/5

    Most tools are named after distinct underlying utilities, but several categories overlap heavily: run_nmap/run_masscan/run_nping, run_ffuf/run_gobuster, run_subfinder/run_amass/run_theharvester, and run_hydra/run_john/run_hashcat. The duplicate start_ncat_listener/start_netcat_listener and stop_ncat_listener/stop_netcat_listener pairs are especially ambiguous. Descriptions help distinguish them, but an agent still has many plausible choices for the same task.

    Naming Consistency4/5

    The set largely follows a predictable snake_case verb_noun convention: run_<tool>, start_<process>, stop_<process>, and list_<resource>. Minor deviations like john_prepare (noun_verb) and the long session-specific names are readable but slightly inconsistent.

    Tool Count2/5

    With 32 tools, the surface is heavy for a single MCP server and includes duplicate listener controls plus multiple overlapping scanners. While each tool maps to a real pentesting utility, the set could be consolidated and better scoped.

    Completeness4/5

    The surface covers a broad pentesting lifecycle: reconnaissance, network scanning, web scanning/fuzzing, exploitation, password attacks, SMB enumeration, and listeners. Some common areas are missing, such as a full exploitation framework, reporting, and generic process management, but the core workflow coverage is strong.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that exposes over 20 standard penetration testing utilities, such as Nmap, SQLMap, and OWASP ZAP, as callable tools for AI agents. It enables natural language control over complex security workflows for automated and interactive penetration testing.
      123
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A penetration testing MCP server that runs 20 hacking tools inside a Kali Linux Docker container, enabling AI assistants to execute security scans and attacks via natural language.
      2
      -
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      AI-powered Attack Surface Intelligence server that exposes industry-standard penetration testing tools via MCP, enabling AI agents to perform comprehensive security assessments.
      3
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      A secure, modular MCP server that wraps seven industry-standard security tools (nmap, nuclei, gobuster, subfinder, httpx, nikto, sqlmap) into thirteen MCP tools, enabling AI agents to perform port scanning, vulnerability scanning, directory enumeration, subdomain discovery, web probing, and SQL injection testing through natural language.
      1
      MIT