Pentester-MCP
Provides tools for penetration testing of Android applications and devices, including reversing and security assessment.
Provides tools for penetration testing of Kubernetes clusters, including cloud and container security assessment.
Click on "Deploy 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., "@Pentester-MCP nmap scan 192.168.1.1 for open ports"
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.
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
nmapscans, analyze open ports, and automatically decide to runffufon discovered web servers.It can execute
sqlmapagainst 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,nucleiWeb Exploitation:
sqlmap,commix,ffuf,gobuster,dirsearch,niktoActive Directory & Network:
impacket(full suite),bloodhound,responder,evil-winrmBrute-Forcing & Password:
hydra,medusa,john,hashcat,nxcAnd 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/.
Method A: Docker Sandbox (Recommended & Secure)
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-imagesVariant 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 |
| (none) | thin Kali base, you pick tools via apt in the Dockerfile — fastest way to try Pentester-MCP | pick your own |
| base + web + cracking + code analysis | web app security |
|
| base + ad + c2 + network | Active Directory / internal |
|
| base + | essentials only, fastest build | pick your own |
| base + osint | OSINT |
|
| all | every supported tool | any |
Build time warning: building Exegol from source compiles the whole toolkit — expect hours and a multi-GB image (
lightis 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.
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-mcpBuild and Run the Sandbox:
docker compose -f src/pentester_mcp/compose-files/docker-compose.example-kali.yml up -d --buildFor another profile, e.g. web:
docker compose -f src/pentester_mcp/compose-files/docker-compose.web.yml up -d --buildYour container is now running silently in the background.
Add to your AI Client: Open your MCP client's configuration (e.g.,
claude_desktop_config.json) and copy a snippet fromsrc/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:
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.yamlAdd to your AI Client: Point your MCP client at the console script (
.venv/bin/pentester-mcp) or runpython -m pentester_mcp.serverfrom your local environment. The active tool set is chosen by (in order): the config path argument,MCP_CONFIG_PATH, or the defaultsrc/pentester_mcp/configs/example-config.yaml.Note: If the tool binary (e.g.,
nmaporgobuster) is not installed on your host system, the AI will gracefully receive aFileNotFoundErrorand 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.
Define which tools you want available by editing a configuration file in
src/pentester_mcp/configs/(e.g.,example-config.yaml).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 runningpentester-mcpcontainer (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-mcpplaceholder with your clone's path and runuv synconce first.
File (in both
docker/andlocal/)Starts the server with
Tools exposed
mcp-config.jsonexample-config.yamlstarter 18-toolkit
mcp-config.full.jsonfull-config.yamleverything (217)
mcp-config.web.jsonweb-config.yamlweb only
mcp-config.ad.jsonad-config.yamlAD only
mcp-config.recon.jsonrecon-config.yamlrecon only
mcp-config.pwd.jsonpwd-config.yamlpassword attacks
mcp-config.exploit.jsonexploit-config.yamlexploitation/C2
mcp-config.misc.jsonmisc-config.yamlmisc/scanning
Multiple snippets can coexist in one MCP client (distinct
mcpServerskeys:pentester_mcp,pentester_mcp_web, ...), letting the AI pick the right toolset per task. Don't register thedocker/andlocal/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 namedpentester-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. Theconfigs/<name>.yamlargument is the path inside the container; the same files live locally undersrc/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 toolsjohn_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_fileshould 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 awordlist.File Discovery: Use
extensions(e.g., .php,.bak) to find specific file types.Recursive Scanning: Set
recursion=Trueand adepthto crawl discovered directories.VHost Fuzzing: Provide
target_ipanddomain. Ffuf will fuzz the Host header (FUZZ.domain).POST Fuzzing: Set
http_method="POST"and providepost_datacontaining the FUZZ keyword.Credential Stuffing: Provide
user_listandpass_listto use 'clusterbomb' mode for multi-wordlist fuzzing.Advanced Filtering: Use
filter_codeorsize_to_ignoreto remove noise.auto_calibrateis highly recommended.Session Fuzzing: Use
cookiesto fuzz behind authentication.Request Files: Use
request_fileto 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
urland optionalextensions(e.g., "php,txt"). Usestatus_codes(e.g., "404,403") to hide unwanted responses.DNS Enumeration (mode="dns"): Find subdomains for a
domain. Useignore_wildcardto 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
urlwith 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_fileto mutate the wordlist.Combinator Attack (action="crack", attack_mode=1): Combine words from two wordlists (
wordlistandwordlist2).Mask Attack (action="crack", attack_mode=3): Brute-force using a pattern (e.g., ?u?l?l?l?d?d). Use
incrementwithincrement_min/increment_maxto 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
targetfor a single host orlist_filefor multiple hosts.Information Gathering: Enable
status_code,title, andserverfor general reconnaissance, ortech_detectandcontent_lengthfor deep analysis.Filtering: Use
match_codeorfilter_codeto focus on specific HTTP responses. Usesearch_stringto find keywords in page bodies.Advanced Scans: Use
portsandpathsfor non-standard discovery. Enablescreenshot(requires chrome) for visual confirmation.Infrastructure: Use
cdn,ip,asn, andfaviconto map out the target's network footprint and organizational assets.Output: Use
jsonandoutput_filefor automation-ready results, orstore_responseto 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 ausernameoruser_file.HTTP Form Attacks: Set
serviceto "http-post-form". Usepath,user_field,pass_field, andfail_stringto 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=Trueto resume a previously aborted session from the hydra.restore file.Optimization: Use
threadsto control parallelism andexit_foundto 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=Trueto 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, andmode="restore"to resume usingsession_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) andports(comma-separated or range).Internet Scale: To scan the entire IPv4 space, set
target_rangeto "0.0.0.0/0".Performance: Use
rateto adjust packets-per-second (pps). Default is 1000; use 100000+ for high-speed lines.Fingerprinting: Set
bannersto True to perform banner grabbing (requires full TCP handshake).Safety: Use
exclude_rangeto prevent scanning sensitive production or medical equipment.Networking: Use
source_ip,source_mac, andgateway_macif masscan cannot auto-detect your interface.Configuration: Use
config_fileto 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=Trueto check if ports are open without sending data.Banner Grabbing: Connect to a
targetandportwithverbose=Trueto identify services.Reverse Shell: Provide
target(attacker IP) andport(attacker listener) along withexec_shell(e.g., '/bin/bash' or 'cmd.exe') to initiate a reverse connection.File Transfer (Send): Provide
file_to_sendto transmit a local file to a remote listener.Secure Connection: Set
use_ssl=Trueto 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
targetto perform a standard vulnerability scan.SSL/TLS: Set
ssl=Truewhen scanning HTTPS websites (port 443).Specific Port: Use
portfor non-standard web ports (e.g., 8080, 8443).Reporting: Define
output_fileandoutput_format(htm, csv, json, xml, txt) to save results.Tuning: Use
tuning_optionsto focus on specific test categories (e.g., '123bde'). Useexclude_optionsto skip specific tests (e.g., '6' for DoS).Optimization: Use
maxtime(e.g., '1h', '30m') to limit scan duration.Authentication: Provide
usernameandpasswordfor HTTP Basic Auth scans.Evasion: Use
evasion_type(e.g., '15') to employ IDS/IPS bypass techniques.Proxying: Use
proxy_ipandproxy_portto 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
vhostto 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
targetfor a single URL ortargets_filefor a list of hosts.Automation: Enable
auto_scanto automatically detect technologies and run relevant templates.Filtering: Use
tags(e.g., 'cve,exposure') orseverity(e.g., 'critical,high') to limit scan scope.Advanced Modes: Enable
headlessfor JavaScript-heavy apps,dastfor fuzzing, orpassivefor non-intrusive analysis.Performance: Control speed with
rate(requests per second) andconcurrency(parallel templates).OSINT: Use
uncoverwithuncover_queryanduncover_engineto scan targets from Shodan/Censys.Maintenance: Set
update_templatesto 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. Usetitle_onlyto ignore file paths,exact_matchfor precise title strings, orcase_sensitivefor specific product names.CVE Search: Use the
cve_idparameter to find exploits linked to specific vulnerability identifiers.Filtering: Use
exclude_patternto remove unwanted results (e.g., DoS or PoC files) from your search.File Operations: Use
mode="mirror"to copy an exploit viaedb_id,mode="examine"to view source code, ormode="path"to get the absolute file system path.Automation: Use
nmap_xml_fileto automatically find exploits for services detected in an Nmap scan.Maintenance: Set
update_db=Trueto 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 optionallydomain.Pass-the-Hash: Provide the NTLM hash (LM:NT format) in the
password_or_hashfield.Enumeration: Use
recursiveanddepthto crawl shares. Useshareto focus on one.File Ops: Use
download_pathfor exfiltration orupload_local/upload_remotefor transfers.Searching: Use
auto_download_pattern(regex) to grab matching files orsearch_content_patternto grep inside files.Execution: Use
execute_commandwithexec_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_pathwith 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
urlfor standard GET scans, orpost_datafor POST requests. Userequest_fileto load a raw HTTP request (e.g., exported from Burp).Request Configuration: Use
cookie_stringfor authenticated sessions. Enablerandom_agentortorto bypass filters and hide origin.Detection & Tuning: Adjust
level(1-5) andrisk(1-3) for deeper testing. Usetamper_scriptto evade WAF/IPS.Enumeration: Use
list_dbsto find databases,list_tables(withdatabase_name) to find tables, anddump_table(withdatabase_nameandtable_name) to exfiltrate data.System Access: Use
remote_file_readto retrieve local files from the server.Automation:
batchmode 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
domainto perform passive discovery. This queries online sources without direct target traffic.Multiple Domains: Use
fileto scan a list of domains (one per line).Active Verification: Use
activeto resolve discovered subdomains orinclude_ipsto see IP addresses.Source Management: Use
list_sourcesto see available providers,all_sourcesfor thoroughness, orsources/exclude_sourcesto curate providers.Output: Use
silentfor clean piping,json_formatfor structured data, oroutput_fileto save results.Performance: Adjust
limitto control request rates andresolversfor faster DNS resolution during active checks.Advanced: Enable
recursiveto find sub-subdomains on supported sources.System: Use
updateto 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
domainto collect emails and subdomains. Usesource(default "all") to query search engines and public databases.Performance Tuning: Use
limitto restrict the number of search results to avoid rate-limiting.Advanced Enumeration: Enable
dns_brute(-c) for wordlist-based subdomain guessing orvhost(-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 awordlistto find hidden endpoints, andtakeover_check(-t) to detect subdomains pointing to unclaimed cloud services.Output: Save findings using
filenameor capture visual evidence of active sites withscreenshot_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
targetURL or IP.Batch Scanning: Use
input_fileto read targets from a file orip_rangefor CIDR discovery.Aggression Levels: Use
aggression1 (stealthy) to 4 (heavy footprint). Level 3 is recommended for version detection.Authentication/Headers: Use
cookies,auth(user:pass), or customheaderfor protected areas.Search Plugins: Use
search_keywordto query the internal plugin database instead of scanning.Output: Use
verbosefor detailed logic orlog_jsonto 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=Trueand provide thesession_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
lportto catch data or shells.Bind Shell: Set
exec_shell(e.g., '/bin/bash') to provide a shell to anyone connecting.Receive File: Provide
incoming_fileto save all data received on the port to a file.Secure Bind Shell: Use
use_ssl=Trueandallowed_ipfor an encrypted shell restricted to one source.HTTP Proxy: Set
proxy_mode=Trueto 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
Scored across 32 tools
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.
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.
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.
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
Related MCP Connectors
MCP tool marketplace for AI agents: web, OSINT, security and research tools through one key.
Secure Linux sandboxes for AI agents, as MCP tools.
AI-security knowledge as MCP: standards-mapped tools (OWASP, NIST, MITRE) for AI agents.
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceAn 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-
- FlicenseNot gradedqualityDmaintenanceA 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-
- FlicenseNot gradedqualityNot gradedmaintenanceAI-powered Attack Surface Intelligence server that exposes industry-standard penetration testing tools via MCP, enabling AI agents to perform comprehensive security assessments.3-
- AlicenseNot gradedqualityNot gradedmaintenanceA 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.1MIT