Skip to main content
Glama

pentest-mcp

PyPI PyPI downloads CI Python MCP License: MIT

Authorization-gated penetration testing for AI agents. 83 tools for recon, vulnerability scanning, web app testing, exploitation, CTF challenges and reporting — that install into any MCP-capable agent: Claude Code, Claude Desktop, Cursor, Windsurf, Cline, Roo Code, Zed, OpenCode, Continue.

Every network-touching tool refuses to run without an engagement file that records the client's written authorization and the exact in-scope targets. The gate lives in code, not in a prompt, so no conversation can talk the plugin into testing something it is not allowed to test.

Capabilities

Area

Tools

Engagement & scope

pentest_load_engagement, pentest_scope_check, pentest_rules

Recon & OSINT

pentest_recon_dns, pentest_recon_whois, pentest_recon_subdomains, pentest_recon_portscan, pentest_recon_tech

Advanced OSINT

pentest_osint_crtsh, pentest_osint_wayback, pentest_osint_js_secrets, pentest_osint_cloud_assets, pentest_osint_takeover, pentest_osint_shodan

Vulnerability scanning

pentest_vuln_nmap, pentest_vuln_nmap_preset, pentest_vuln_nuclei, pentest_vuln_nikto, pentest_vuln_tls, pentest_vuln_sslscan, pentest_vuln_testssl, pentest_vuln_wpscan, pentest_vuln_cve_lookup

Web app testing

pentest_web_headers, pentest_web_crawl, pentest_web_dirbust, pentest_web_reflection, pentest_web_param_discovery, pentest_web_cors, pentest_web_jwt, pentest_web_open_redirect, pentest_web_host_header, pentest_web_secrets_scan, pentest_web_sqlmap

Exploit & post-exploit

pentest_exploit_search, pentest_exploit_msf_check, pentest_exploit_msf_run, pentest_exploit_payload_generate, pentest_exploit_credential_test

Orchestration

pentest_assess_web, pentest_attack_surface

CTF: crypto & encodings

pentest_ctf_decode, pentest_ctf_encode, pentest_ctf_xor, pentest_ctf_cipher_brute, pentest_ctf_hash_identify, pentest_ctf_hash_crack, pentest_ctf_rsa

CTF: forensics & pwn

pentest_ctf_file_info, pentest_ctf_strings, pentest_ctf_binwalk, pentest_ctf_exif, pentest_ctf_stego, pentest_ctf_pcap, pentest_ctf_checksec, pentest_ctf_ropgadget, pentest_ctf_cyclic, pentest_ctf_cheatsheet

CTF: challenge ops

pentest_ctf_init, pentest_ctf_web_probe, pentest_ctf_remote

Integrations

pentest_burp_import, pentest_burp_status, pentest_burp_api, pentest_zap_status, pentest_zap_import, pentest_zap_spider, pentest_zap_active_scan, pentest_zap_scan_status, pentest_zap_alerts, pentest_defectdojo_status, pentest_defectdojo_export, pentest_report_generic_json

Reporting & intel

pentest_add_finding, pentest_list_findings, pentest_report, pentest_report_html, pentest_report_sarif, pentest_remediation_plan, pentest_cvss, pentest_assets, pentest_tool_status, pentest_audit_tail

Highlights

  • pentest_assess_web(url, deep=True) — one call runs the whole web battery: headers, fingerprinting, crawl, sensitive paths, TLS, CORS, secrets, then reflection and hidden-parameter discovery.

  • pentest_attack_surface(domain) — maps the external attack surface: DNS, WHOIS, certificate transparency (crt.sh), Wayback Machine, subdomain takeover, cloud storage buckets. Active steps only run when the engagement allows them.

  • CVE intelligence — pentest_vuln_cve_lookup pulls published CVEs from NVD based on the product/version fingerprints.

  • JWT & secret hunting — offline JWT analysis (alg=none, embedded jwk, missing claims, common HMAC secret cracking) and leaked-credential detection in JS/responses with values always redacted.

  • Layered exploitation — Metasploit check mode first, msfvenom payloads into the evidence directory only, hydra capped at 50 users / 50 passwords.

  • Dashboard-ready output — SARIF 2.1.0 (GitHub code scanning, DefectDojo), standalone HTML, CVSS v3.x calculator, and a wave-based remediation plan.

  • ffuf-backed content discovery — pentest_web_dirbust(url, use_ffuf=True) runs ffuf with a capped wordlist and the engagement's rate limit, with an optional custom wordlist file; falls back to the built-in bounded prober when ffuf is not installed.

  • Tooling integrations — import Burp (XML) and ZAP (JSON) reports into standardized findings, drive the ZAP API from the agent, controlled passthrough to the Burp REST API, and one-call export to DefectDojo (with dry_run).

  • Authenticated scanning — put a session cookie or bearer token in the engagement file's auth block and every web tool tests behind the login wall; credentials never reach logs, reports or third-party OSINT services.

  • CTF toolkit — encodings (auto-detect), XOR brute-force, Caesar/frequency attacks, hash identification + cracking, RSA factoring (trial/Fermat/Pollard rho/Wiener) with decryption, file forensics (magic bytes, entropy, embedded carving), strings, stego checks, PCAP analysis, binary mitigation checks (RELRO/canary/NX/PIE via checksec or readelf), ROPgadget listings, De Bruijn cyclic offsets, payload cheatsheets, and CTF web probes (SSTI/LFI/command injection). Offline analysis runs without an engagement; pentest_ctf_init(target) creates a scoped engagement for a challenge box in one call.

Related MCP server: pyntra

Security model

  1. Authorization first. The engagement file must contain a written authorization statement and validity dates. After expiry, every active tool stops.

  2. Strict scope. Only scope.domains / cidrs / ips / urls may be touched. scope.excluded always wins, and resolved IPs outside the scope are refused too.

  3. No DoS. Per-target rate limits, capped port/path/credential lists, and destructive Metasploit modules are blocked while rules.no_dos is set.

  4. Layered exploitation. check mode first; msf_run and payload_generate require rules.allow_payload_execution = true and a confirm_phrase equal to the engagement_id. credential_test requires its own rules.credential_testing = true flag.

  5. Audit trail. Every tool call lands in audit.jsonl; findings are stored in findings.jsonl with IDs and status (open/verified/false-positive); discovered assets accumulate in assets.json.

  6. Sensitive data. Credentials, tokens and personal data are reported as location + type with the value [REDACTED] — including inside evidence snippets.

Install

Requires Python 3.10+. External tools are optional: when missing, the related tool reports available: false and the built-in capabilities (TCP port scan, TLS audit, header audit, crawl, reflection, CORS, JWT) keep working.

pipx install pentester-mcp          # recommended: isolated per user
# or
uvx --from pentester-mcp pentest-mcp --version
# or
pip install --user pentester-mcp

Naming note: the PyPI package is pentester-mcp (the name pentest-mcp is blocked by PyPI's similarity guard because pentestmcp/mcp-pentest exist), while the command you run and the GitHub repo stay pentest-mcp.

Do not install into a shared environment (conda base, system Python, or an existing project's venv). The mcp dependency pulls in starlette>=1 and pyjwt, which breaks packages pinned to older versions (e.g. fastapi<0.50, djangorestframework-simplejwt). Use pipx, uv tool, or a dedicated venv — every one of the commands above is isolated by design.

If you already installed into a shared environment:

pip uninstall -y pentester-mcp mcp sse-starlette
pip install "starlette<0.49" "pyjwt<2.10"     # restore what fastapi/simplejwt need
uv tool install pentester-mcp                 # isolated install instead

Update an existing install (registrations and client configs stay as they are):

pipx upgrade pentester-mcp        # or: uv tool upgrade pentester-mcp
# or
pip install -U pentester-mcp

Then restart the MCP client (Claude Code/Desktop, Cursor, ...) so it reloads the tool list, and confirm with pentest-mcp --version. uvx --from pentester-mcp runs fetch the latest version on every invocation — nothing to update.

From source:

cd pentest-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Optional external tools and API keys:

brew install nmap nuclei sqlmap sslscan nikto ffuf metasploit wpscan testssl hydra
# sudo apt-get install nmap sqlmap sslscan nikto ffuf metasploit-framework testssl.sh hydra

export SHODAN_API_KEY=...       # pentest_osint_shodan
export NVD_API_KEY=...          # raises NVD rate limits
export ZAP_API_URL=http://127.0.0.1:8080
export ZAP_API_KEY=...
export BURP_API_URL=https://127.0.0.1:1337
export BURP_API_KEY=...
export BURP_AUTH_STYLE=bearer   # or 'apikey' for X-API-Key
export DEFECTDOJO_URL=https://dojo.example.com
export DEFECTDOJO_API_KEY=...

Burp and ZAP report import needs no API at all — export from the GUI, then call pentest_burp_import(path) or pentest_zap_import(path).

Register with your AI agent

pentest-mcp --install detects the agents installed on your machine and writes the MCP entry into each of their configs:

pentest-mcp --list-agents           # see what was detected
pentest-mcp --install --dry-run     # preview, writes nothing
pentest-mcp --install               # register everywhere
pentest-mcp --install --project     # also write .mcp.json in the current repo
pentest-mcp --uninstall             # remove the entry again

Supported auto-detection: Claude Code (user + project scope), Claude Desktop, Cursor, Windsurf, Cline, Roo Code, Zed, OpenCode, Continue. Existing config entries are preserved; re-running is idempotent. Restart the agent afterwards.

Manual per-agent config

claude mcp add pentest-mcp -- $(which pentest-mcp)

or in .mcp.json / ~/.claude.json:

{ "mcpServers": { "pentest-mcp": { "command": "pentest-mcp" } } }

opencode.json:

{ "mcp": { "pentest-mcp": { "type": "local", "command": ["pentest-mcp"] } } }

In the respective MCP config (~/.cursor/mcp.json, ~/.codeium/windsurf/mcp_config.json, cline_mcp_settings.json, claude_desktop_config.json):

{ "mcpServers": { "pentest-mcp": { "command": "pentest-mcp" } } }

In settings.json:

{ "context_servers": { "pentest-mcp": { "command": { "path": "pentest-mcp", "args": [] } } } }

In ~/.continue/mcpServers.yaml:

mcpServers:
  pentest-mcp:
    command: pentest-mcp
    args: []

Stdio transport, command pentest-mcp, no arguments, no required environment.

Skill pack

The agent skills ship inside the package — export them into your agent's skills directory:

pentest-mcp --export-skills ~/.claude/skills      # Claude Code, global
pentest-mcp --export-skills .claude/skills        # per project
  • pentest-guardrails — engagement rules: authorization, scope, no-DoS, sensitive-data handling, when to refuse.

  • pentest-workflow — end-to-end methodology: recon → OSINT → scan → web → exploit → report.

Engagement file

No engagement file, no active tools. Generate a starter and edit it:

pentest-mcp --export-engagement-template engagement.json

Key fields:

  • authorization — written authorization statement plus valid_from / valid_until

  • scope.domains/ips/cidrs/urls — the only targets allowed; excluded always wins

  • rules.active_scanning — true when traffic may be sent to the target

  • rules.exploit_authorized / allow_payload_execution / credential_testing — keep false unless explicitly agreed in the RoE

  • auth (optional) — authenticated scanning: cookie string and/or headers object (e.g. Authorization: Bearer …) injected into every request against the target. Never logged, never printed, never sent to third-party OSINT services.

  • evidence_dir — where findings, audit trail and reports are written

Usage

Tell your agent:

Run a security assessment against https://app.example.com, engagement file: ./engagement.json

The agent loads the engagement first, then works the methodology from the pentest-workflow skill. Outputs land in evidence_dir:

  • findings.jsonl, audit.jsonl, assets.json

  • report-*.md, report-*.html, findings-*.sarif, findings-*-generic.json

Publish publicly

Once published, anyone in the world can install and self-register with two lines:

uv tool install pentester-mcp    # or: pipx install pentester-mcp
pentest-mcp --install

Maintainer — one-time setup and release flow:

  1. Push the repository to GitHub/GitLab as keselyoleren/pentest-mcp and fill in [project.urls] in pyproject.toml. The PyPI project name is pentester-mcp (pentest-mcp itself is blocked by PyPI's similarity guard against the existing pentestmcp/mcp-pentest projects).

  2. Configure PyPI Trusted Publishing (recommended, no long-lived token): pypi.org → project pentester-mcp → Publishing → add a pending publisher with your repo and workflow release.yml, environment pypi. Alternative: create a PyPI API token and use twine upload with __token__.

  3. Dry-run on TestPyPI before going public:

    python -m build
    twine upload --repository testpypi dist/*
    uv tool install --index-url https://test.pypi.org/simple/ pentester-mcp
  4. Release with a tag — CI (.github/workflows/release.yml) runs the tests, publishes to PyPI, and attaches the wheel to a GitHub Release:

    git tag v0.3.0 && git push origin v0.3.0

    Manual fallback: python -m build && twine upload dist/*

Distribution without PyPI works too and keeps the same user experience:

pipx install git+https://github.com/keselyoleren/pentest-mcp.git
uv tool install --from git+https://github.com/keselyoleren/pentest-mcp.git pentest-mcp

End users never need the repository: the wheel carries the MCP server, the skills (pentest-mcp --export-skills), and the engagement template (pentest-mcp --export-engagement-template). Pair public distribution with the authorization gates in the security model — the tools refuse out-of-scope targets no matter where the package came from.

Team distribution

The model: every tester runs their own local instance — perfect isolation per process, each with their own engagement file and evidence, no shared server to operate or defend. Distribute through any channel from "Publish publicly" above.

Team member onboarding (5 minutes):

pipx install pentester-mcp==0.3.0
pentest-mcp --install
pentest-mcp --export-skills ~/.claude/skills
pentest-mcp --export-engagement-template engagement.json
# edit engagement.json, then: pentest_load_engagement

Suggested team conventions:

  • One engagement file per project per operator; never share engagement files across projects (scope and validity dates differ).

  • Keep evidence_dir in the team's internal version control or shared storage.

  • Consolidate findings across operators in DefectDojo (pentest_defectdojo_export) — the single shared source of truth in this model.

  • Pin versions on deploy so tool behaviour stays consistent across the team.

Repository layout

pentest-mcp/
├── pyproject.toml              # PyPI metadata, pentest-mcp entry point
├── LICENSE
├── src/pentest_agent/
│   ├── engagement.py           # scope matching + authorization gate
│   ├── state.py                # gate() used by every tool
│   ├── runner.py               # bounded binary execution + rate limiter
│   ├── audit.py                # append-only audit trail
│   ├── findings.py             # finding model + JSONL store
│   ├── assets.py               # asset inventory (hosts, services, tech)
│   ├── patterns.py             # secret/endpoint patterns + redaction
│   ├── installer.py            # --install agent auto-detection
│   ├── engagement.example.json # bundled engagement template
│   ├── server.py               # 83 MCP tools + onboarding CLI
│   ├── skills/                 # bundled into the wheel
│   │   ├── pentest-guardrails/SKILL.md
│   │   └── pentest-workflow/SKILL.md
│   └── tools/
│       ├── recon.py            # DNS, WHOIS, subdomains, port scan, fingerprint
│       ├── osint.py            # crt.sh, Wayback, JS secrets, cloud, takeover, Shodan
│       ├── vulnscan.py         # nmap(+presets), nuclei, TLS, testssl, wpscan, CVE lookup
│       ├── webapp.py           # headers, crawl, dirbust, reflection, params, CORS,
│       │                       # JWT, open redirect, host header, secrets, sqlmap
│       ├── exploit.py          # searchsploit, Metasploit check/run, msfvenom, hydra
│       ├── ctf.py              # CTF: encodings, crypto, RSA, forensics, stego, pwn, probes
│       ├── orchestrate.py      # assess_web, attack_surface
│       ├── integrations.py     # Burp, OWASP ZAP, DefectDojo
│       └── report.py           # findings, Markdown/HTML/SARIF/generic JSON, CVSS, remediation
└── tests/                      # 64 tests: scope, gates, redaction, CVSS, SARIF, JWT,
                                # integrations, CLI, installer, CTF

Development

pip install -e ".[dev]"
pytest

See CONTRIBUTING.md for the ground rules (gate integrity, redaction, tests) and CHANGELOG.md for release history. Probe the tool surface without an agent:

npx @modelcontextprotocol/inspector $(which pentest-mcp)

Usage restrictions

This plugin is for security assessments that are authorised in writing. Testing systems without authorization is a criminal offence in most jurisdictions, including under Indonesia's ITE Law. The in-code scope gates limit accidental damage, but legal responsibility stays with the operator and their organisation.

Available Tools

83 tools
pentest_add_findingC

Record a verified finding (severity: info|low|medium|high|critical).

Inputs: title (required), target (required), severity (required), cve, +6 more.

pentest_assess_webA

One-call web application assessment: headers, tech, crawl, sensitive paths, TLS, CORS, secrets.

deep=True adds reflection testing and hidden parameter discovery on the parameters found.

Inputs: url (required), deep.

pentest_assetsB

Return the aggregated asset inventory: discovered hosts, services and technologies.

Inputs: no named parameters.

pentest_attack_surfaceC

Map the external attack surface: DNS, WHOIS, certificate transparency, Wayback, takeover, cloud assets.

Active steps run only when the engagement allows active scanning.

Inputs: domain (required), include_active.

pentest_audit_tailB

Return the last n audit log entries (every tool call is recorded).

Inputs: n. Returns: result

pentest_burp_apiA

Controlled GET/POST passthrough to the Burp REST API on the configured base URL only.

Inputs: path (required), method (required), body.

pentest_burp_importB

Import a Burp Suite XML report/export and convert the issues into findings.

Works with any Burp edition (Report -> XML export). No API required.

Inputs: path (required), record.

pentest_burp_statusC

Probe the Burp REST API configured via BURP_API_URL/BURP_API_KEY (Burp Suite DAST/Enterprise).

Inputs: no named parameters.

pentest_ctf_binwalkC

Run binwalk for embedded-file/signature analysis (requires binwalk).

Inputs: path (required).

pentest_ctf_cheatsheetC

Payload families for a topic: ssti, lfi, cmdi, sqli, deserialization, xss, traversal, format_string, rop.

Inputs: topic (required).

pentest_ctf_checksecB

Binary mitigations (RELRO, canary, NX, PIE, stripped) via checksec or readelf. Offline.

Inputs: path (required).

pentest_ctf_cipher_bruteC

Brute-force Caesar/ROT shifts and rank candidates by letter-frequency plausibility.

Inputs: data (required), input_format.

pentest_ctf_cyclicC

De Bruijn cyclic pattern: generate one, or find a crash value's offset (mode='find').

Inputs: n, mode, value, length.

pentest_ctf_decodeA

Decode challenge data (hex/base64/base32/url/rot13/atbash/binary/morse/reverse).

to='auto' tries every applicable decoding and keeps printable results. Offline, no target contact.

Inputs: data (required), to, input_format.

pentest_ctf_encodeC

Encode data (hex, base64, base32, url, rot13, binary, reverse).

Inputs: data (required), encoding (required), input_format.

pentest_ctf_exifC

Dump file metadata with exiftool (requires exiftool).

Inputs: path (required).

pentest_ctf_file_infoB

Forensics on a challenge file: magic bytes, entropy blocks, embedded file signatures.

Inputs: path (required).

pentest_ctf_hash_crackB

Crack MD5/SHA1/SHA256/SHA512 against a built-in + provided wordlist (offline).

Inputs: value (required), wordlist.

pentest_ctf_hash_identifyB

Identify a hash by format and suggest hashcat modes.

Inputs: value (required).

pentest_ctf_initA

Create a ready-made engagement file for a CTF challenge box and return its path.

A CTF platform handing you the target is the authorization; the statement is pre-filled. Load the result with pentest_load_engagement.

Inputs: target (required), path, hours, engagement_id.

pentest_ctf_pcapB

PCAP analysis via tshark: summary, endpoints, http, or follow first TCP stream.

Inputs: path (required), mode.

pentest_ctf_remoteB

Send bytes to a challenge service and read the response (pwn/rev interaction). Requires a loaded engagement.

Inputs: host (required), port (required), payload, timeout, +1 more.

pentest_ctf_ropgadgetB

ROP gadget listing via ROPgadget, capped at 500. filter: regex to select gadgets (e.g. 'pop|ret'). Offline.

Inputs: path (required), filter.

pentest_ctf_rsaA

RSA analysis: factor small n (trial/Fermat/Pollard rho), Wiener, perfect square; decrypt if c given.

Integers as decimal or 0x-hex strings to preserve precision.

Inputs: e (required), n (required), c.

pentest_ctf_stegoC

Stego quick checks: zsteg (PNG/BMP), steghide info, keyword strings.

Inputs: path (required).

pentest_ctf_stringsC

Extract ASCII and UTF-16 strings from a binary.

Inputs: path (required), limit, min_len.

pentest_ctf_web_probeC

CTF web probes: SSTI evaluation, LFI traversal, command-injection echo. Requires a loaded engagement.

Inputs: url (required), params.

pentest_ctf_xorB

XOR with a known key, or (key empty) brute-force single-byte keys ranked by plausibility.

Inputs: data (required), key, key_format, input_format.

pentest_cvssB

Compute the CVSS v3.x base score and severity for a vector string.

Inputs: vector (required).

pentest_defectdojo_exportA

Export findings to DefectDojo: ensure product + engagement exist, then import scan results.

scan_type examples: 'Generic Findings Import' (generated automatically), 'SARIF', 'Burp Scan', 'ZAP Scan' (with report_path pointing to the matching file). dry_run=True previews the request plan without contacting DefectDojo.

Inputs: product (required), engagement_name (required), dry_run, close_old, +3 more.

pentest_defectdojo_statusB

Check DefectDojo API reachability (DEFECTDOJO_URL, DEFECTDOJO_API_KEY).

Inputs: no named parameters.

pentest_exploit_credential_testA

Test a small credential list against one service with hydra (max 50 users / 50 passwords).

Requires rules.credential_testing = true and confirm_phrase == engagement_id. Successful passwords are redacted in the output.

Inputs: users (required), target (required), service (required), passwords (required), +2 more.

pentest_exploit_msf_checkB

Run a Metasploit module in CHECK mode against an in-scope target. Non-destructive verification.

Requires rules.exploit_authorized = true in the engagement file.

Inputs: module (required), target (required), options.

pentest_exploit_msf_runA

Run a Metasploit module for real against an in-scope target.

Requires rules.exploit_authorized = true AND rules.allow_payload_execution = true, and confirm_phrase must equal the engagement_id. Do not call this without explicit human confirmation that exploitation is in scope for this engagement.

Inputs: module (required), target (required), options, confirm_phrase.

pentest_exploit_payload_generateA

Generate a payload with msfvenom into the engagement evidence directory.

Requires rules.allow_payload_execution = true and confirm_phrase == engagement_id. Ask the human for explicit confirmation before calling this.

Inputs: lhost (required), lport (required), payload (required), encoder, +3 more.

pentest_list_findingsB

List recorded findings, optionally filtered by severity or status.

Inputs: status, severity.

pentest_load_engagementA

Load the signed engagement file (JSON) that defines authorised scope and rules.

Must be the first call. The file records who authorised the test, the validity period, in-scope domains/IPs/CIDRs/URLs, exclusions, and the rules of engagement (active scanning, exploitation, rate limit, testing window).

Inputs: path (required).

pentest_osint_cloud_assetsC

Probe common cloud storage bucket names derived from the domain (S3, Azure, GCS, Spaces).

Inputs: domain (required).

pentest_osint_crtshB

Discover subdomains from certificate transparency logs (crt.sh). Passive: never touches the target.

Inputs: domain (required), limit.

pentest_osint_js_secretsB

Analyse served JavaScript: extract API endpoints and secret material (values redacted).

Inputs: url (required), max_scripts.

pentest_osint_shodanC

Query the Shodan API for exposed services (requires SHODAN_API_KEY in the environment).

Inputs: query (required), limit.

pentest_osint_takeoverC

Check for dangling CNAMEs pointing at claimable services (subdomain takeover).

Inputs: domain (required), candidates.

pentest_osint_waybackC

List historical URLs and old artifacts from the Wayback Machine. Passive.

Inputs: domain (required), limit.

pentest_recon_dnsA

Resolve DNS records (A/AAAA/MX/NS/TXT/CNAME) for an in-scope domain. Passive.

Inputs: domain (required).

pentest_recon_portscanB

TCP connect port scan of an in-scope host. ports: 'top', '22,80,443' or '8000-8100'.

Inputs: target (required), ports, timeout, concurrency.

pentest_recon_subdomainsC

Resolve common subdomain prefixes for a scoped domain (bounded list, rate limited).

Inputs: domain (required), prefixes.

pentest_recon_techA

Fingerprint the technology stack of an in-scope URL from headers and response body.

Inputs: url (required).

pentest_recon_whoisB

Fetch WHOIS registration data for an in-scope domain. Passive.

Inputs: domain (required).

pentest_remediation_planB

Prioritised remediation roadmap in waves: immediate, short-term, scheduled.

Inputs: no named parameters.

pentest_reportC

Render the Markdown engagement report into the evidence directory.

Inputs: output_path.

pentest_report_generic_jsonC

Write findings as DefectDojo 'Generic Findings Import' JSON.

Inputs: output_path.

pentest_report_htmlC

Render a standalone HTML report with severity colouring and remediation notes.

Inputs: output_path.

pentest_report_sarifB

Export findings as SARIF 2.1.0 for security dashboards and code scanning.

Inputs: output_path.

pentest_rulesA

Return the currently enforced rules of engagement (what the plugin will and will not do).

Inputs: no named parameters.

pentest_scope_checkB

Check whether a target is inside the loaded engagement scope, without touching it.

Inputs: target (required).

pentest_tool_statusB

Show which external security tools are installed and which are missing.

Inputs: no named parameters.

pentest_vuln_cve_lookupC

Look up published CVEs for a product/version via the NVD API. Passive.

Inputs: product (required), limit, record, version.

pentest_vuln_niktoB

Run nikto web scanner (requires nikto). tuning: nikto tuning string like '12b' (6/DoS is blocked).

Inputs: target (required), tuning.

pentest_vuln_nmapC

Run nmap with optional NSE scripts against an in-scope target (requires nmap).

Inputs: target (required), ports, timing, scripts, +1 more.

pentest_vuln_nmap_presetC

Run nmap with a curated preset: web, smb, db, mail, remote, full-safe.

Inputs: preset (required), target (required), timing.

pentest_vuln_nucleiB

Run nuclei templates against an in-scope target; hits are stored as findings (requires nuclei).

Inputs: target (required), tags, record, severity, +1 more.

pentest_vuln_sslscanB

Run sslscan for cipher/certificate weaknesses against an in-scope host (requires sslscan).

Inputs: target (required).

pentest_vuln_testsslC

Run testssl.sh for a deep TLS/cipher audit (requires testssl.sh or testssl).

Inputs: target (required).

pentest_vuln_tlsC

Audit TLS: supported protocol versions, certificate details, deprecated-version findings.

Inputs: host (required), port.

pentest_vuln_wpscanC

Run WPScan against a WordPress site (requires wpscan). enumerate: subset of v,p,c,t,e.

Inputs: url (required), enumerate.

pentest_web_corsB

Test CORS handling: origin reflection, wildcard, null origin, credentialed responses.

Inputs: url (required).

pentest_web_crawlC

Bounded same-host crawl collecting URLs, forms and parameters.

Inputs: url (required), depth, max_pages.

pentest_web_dirbustB

Probe sensitive paths (e.g. .git/HEAD, .env) on an in-scope URL: built-in wordlist, or ffuf with use_ffuf=True.

Inputs: url (required), paths, use_ffuf, wordlist.

pentest_web_headersB

Audit security headers and cookie flags on an in-scope URL; records findings.

Inputs: url (required).

pentest_web_host_headerC

Test Host / X-Forwarded-Host handling for cache poisoning and password-reset poisoning.

Inputs: url (required).

pentest_web_jwtB

Analyse a captured JWT offline: algorithm risks, missing claims, weak HMAC secret cracking.

Inputs: token (required), wordlist.

pentest_web_open_redirectC

Test whether a parameter controls the redirect target (open redirect).

Inputs: url (required), param (required), canary.

pentest_web_param_discoveryC

Detect hidden or dynamic parameters by diffing responses with and without each parameter.

Inputs: url (required), params (required), method.

pentest_web_reflectionC

Check whether user input is reflected unencoded using a benign canary (no payloads).

Inputs: url (required), params (required), method.

pentest_web_secrets_scanC

Scan a page and its linked resources for credential material (values redacted).

Inputs: url (required), max_resources.

pentest_web_sqlmapB

Run sqlmap in batch mode at bounded level/risk against an in-scope URL (requires sqlmap).

Inputs: url (required), risk, level, param.

pentest_zap_active_scanB

Start a ZAP active scan against an in-scope URL (attack traffic; respect the testing window).

Inputs: url (required).

pentest_zap_alertsC

Pull alerts from ZAP (optionally for one base URL) and store them as findings.

Inputs: record, base_url.

pentest_zap_importB

Import a ZAP JSON report (Report -> Generate -> JSON) and convert alerts into findings.

Inputs: path (required), record.

pentest_zap_scan_statusC

Poll a ZAP scan by id. kind: 'spider' or 'ascan'.

Inputs: scan_id (required), kind.

pentest_zap_spiderA

Start a ZAP spider against an in-scope URL; returns the scan id for polling.

Inputs: url (required).

pentest_zap_statusA

Check ZAP API reachability and version (ZAP_API_URL, optional ZAP_API_KEY).

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 83 tools

    Disambiguation2/5

    The set has many overlapping scanner wrappers and bundled workflows: portscan vs nmap vs nmap_preset, tls vs sslscan vs testssl, and assess_web/attack_surface vs the individual recon/web tools. Descriptions help, but with 83 tools an agent can easily misselect between multiple tools that seem to cover the same task.

    Naming Consistency4/5

    Tools consistently use the pentest_ prefix and snake_case, usually following a pentest_<category>_<action> pattern. A few top-level tools like pentest_report, pentest_assets and pentest_cvss are less action-oriented, but the overall convention is predictable.

    Tool Count1/5

    83 tools is far beyond a well-scoped MCP surface and mixes recon, exploitation, CTF utilities, OSINT, reporting, and third-party integrations in one server. This creates a large selection and maintenance burden rather than a focused toolset.

    Completeness4/5

    Coverage is very broad: engagement loading/scope, recon, vulnerability scanning, exploitation, CTF helpers, OSINT, reporting, and integrations are all represented. Minor gaps remain, such as updating/deleting findings and creating non-CTF engagements, but most pentest workflows are covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to orchestrate 100+ security tools over MCP for authorized penetration testing, including recon, scanning, exploitation, attack-chain planning, and knowledge-base retrieval.
      7
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to conduct penetration testing and offensive security workflows, including reconnaissance, exploitation, post-exploitation, threat intelligence, malware analysis, forensics, and reporting through MCP tools. It supports session management, C2, evasion, credential attacks, and many specialized security testing capabilities.
      1
      MIT