Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NVD_API_KEYNoAPI key that raises NVD rate limits for CVE intelligence
ZAP_API_KEYNoAPI key for the OWASP ZAP API
ZAP_API_URLNoURL of the OWASP ZAP API, for example http://127.0.0.1:8080
BURP_API_KEYNoAPI key for the Burp REST API
BURP_API_URLNoURL of the Burp REST API, for example https://127.0.0.1:1337
DEFECTDOJO_URLNoURL of the DefectDojo instance, for example https://dojo.example.com
SHODAN_API_KEYNoAPI key used by pentest_osint_shodan
BURP_AUTH_STYLENoAuthentication style for the Burp API, either 'bearer' or 'apikey'
DEFECTDOJO_API_KEYNoAPI key for DefectDojo

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Penetration testing toolkit. Always call pentest_load_engagement first: no tool will run without an engagement file that records written client authorisation and the exact in-scope targets. Stay inside scope, respect the testing window and rate limit, never run denial-of-service payloads, and record verified findings.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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).

pentest_scope_checkB

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

pentest_rulesA

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

pentest_recon_dnsA

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

pentest_recon_whoisB

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

pentest_recon_subdomainsC

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

pentest_recon_portscanB

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

pentest_recon_techA

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

pentest_vuln_nmapC

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

pentest_vuln_nucleiB

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

pentest_vuln_tlsC

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

pentest_vuln_sslscanB

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

pentest_web_headersB

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

pentest_web_crawlC

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

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.

pentest_web_reflectionC

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

pentest_web_sqlmapB

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

pentest_exploit_searchA

Search the local exploit-db archive (searchsploit). Read-only, no target contact.

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.

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.

pentest_add_findingC

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

pentest_list_findingsB

List recorded findings, optionally filtered by severity or status.

pentest_reportC

Render the Markdown engagement report into the evidence directory.

pentest_tool_statusB

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

pentest_audit_tailB

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

pentest_assetsB

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

pentest_osint_crtshB

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

pentest_osint_waybackC

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

pentest_osint_js_secretsB

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

pentest_osint_cloud_assetsC

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

pentest_osint_takeoverC

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

pentest_osint_shodanC

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

pentest_web_corsB

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

pentest_web_jwtB

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

pentest_web_open_redirectC

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

pentest_web_host_headerC

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

pentest_web_param_discoveryC

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

pentest_web_secrets_scanC

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

pentest_vuln_cve_lookupC

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

pentest_vuln_nmap_presetC

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

pentest_vuln_wpscanC

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

pentest_vuln_testsslC

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

pentest_vuln_niktoB

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

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.

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.

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.

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.

pentest_cvssB

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

pentest_report_sarifB

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

pentest_report_htmlC

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

pentest_remediation_planB

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

pentest_report_generic_jsonC

Write findings as DefectDojo 'Generic Findings Import' JSON.

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.

pentest_burp_statusC

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

pentest_burp_apiA

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

pentest_zap_statusA

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

pentest_zap_importB

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

pentest_zap_spiderA

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

pentest_zap_active_scanB

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

pentest_zap_scan_statusC

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

pentest_zap_alertsC

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

pentest_defectdojo_statusB

Check DefectDojo API reachability (DEFECTDOJO_URL, DEFECTDOJO_API_KEY).

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.

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.

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.

pentest_ctf_encodeC

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

pentest_ctf_xorB

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

pentest_ctf_cipher_bruteC

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

pentest_ctf_hash_identifyB

Identify a hash by format and suggest hashcat modes.

pentest_ctf_hash_crackB

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

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.

pentest_ctf_file_infoB

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

pentest_ctf_stringsC

Extract ASCII and UTF-16 strings from a binary.

pentest_ctf_binwalkC

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

pentest_ctf_exifC

Dump file metadata with exiftool (requires exiftool).

pentest_ctf_stegoC

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

pentest_ctf_pcapB

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

pentest_ctf_cyclicC

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

pentest_ctf_checksecB

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

pentest_ctf_ropgadgetB

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

pentest_ctf_cheatsheetC

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

pentest_ctf_web_probeC

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

pentest_ctf_remoteB

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

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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