qualys-cli-mcp
v0.3.1Model Context Protocol (MCP) server giving any LLM secure, audited access to the Qualys Cloud Platform (VM, PM, WAS, TotalCloud, Container Security, CSAM, and…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
qualys_cli Qualys Cli
Execute a qualys-cli command and return the results as JSON. This tool provides access to the entire Qualys Cloud Security Platform via the qualys-cli command-line interface. Pass any valid qualys-cli command (without the 'qualys-cli' prefix) and receive structured JSON.
| Parameter | Type | Description |
|---|---|---|
command * | string | The qualys-cli command to execute (e.g. "vm scan list --state Running"). Do NOT include 'qualys-cli' itself -- just the subcommand and flags. Always include '--format json' for structured ou… |
qualys_cli_help Qualys Cli Help
Get the full qualys-cli command reference -- modules, resources, actions, and patterns. Returns the complete command reference including all modules, resources, actions, filter syntax, output formats, and common usage patterns. Call this FIRST if you are unsure which command to use or need to look up filter operators, flag names, or module-specific syntax.
qualys_status Qualys Status
Check Qualys connectivity and authentication status.
vm_scan_list Vm Scan List
List vulnerability scans, optionally filtered by state.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
state |
vm_host_list Vm Host List
List scanned hosts, optionally filtered by IP range.
| Parameter | Type | Description |
|---|---|---|
ips | IP address, range, or CIDR (e.g. "10.0.0.1", "10.0.0.0/24") | |
limit | integer |
vm_host_detection Vm Host Detection
Get vulnerability detections, scoped by IP, QID, and/or severity. At least one of ips/qids/severities is required — an unscoped pull forces the server to evaluate the entire subscription. For population-level aggregates (MTTR, backlog age, counts), use vm_detection_stats instead of pulling raw detections.
| Parameter | Type | Description |
|---|---|---|
detection_updated_since | Only detections updated since YYYY-MM-DD[THH:MM:SSZ] — large server-side speedup | |
include_results | boolean | Include full RESULTS evidence text (large; off by default because it dominates response size and server time) |
ips | IP address, range, or CIDR (e.g. "10.0.0.1", "10.0.0.0/24") | |
limit | integer | |
qids | Comma-separated QIDs (e.g. "91541,91345") | |
severities | Comma-separated severity levels (e.g. "4,5") | |
status | string | Detection statuses to include (default: live detections only) |
vm_detection_stats Vm Detection Stats
Aggregate detection statistics in ONE call: MTTR or backlog age. The CLI paginates the full matching detection population internally and returns compact JSON: count, mean/median/p25/p75/min/max days, an age histogram, and the top QIDs by instance count. Use this for questions like "what's our KEV MTTR", "how old is our backlog", or "are we meeting our 30-day SLA" — never pull raw detections and aggregate them yourself. Example: "MTTR for CISA KEV vulns over the last year" maps to metric="mttr", kev=True, detection_updated_since=<12 months ago> (fixes dated before the window are excluded an…
| Parameter | Type | Description |
|---|---|---|
detection_updated_since | Only detections updated since YYYY-MM-DD[THH:MM:SSZ] — use for windowed metrics like "fixed in the last 12 months" | |
ips | Optional IP/range/CIDR scope | |
kev | boolean | Restrict to CISA KEV vulnerabilities (the CLI resolves the full KEV QID set via the KB, cached) |
metric | string | "mttr" (remediated: last-fixed minus first-found; defaults to status Fixed) or "age" (open: days since first-found; defaults to status Active,New,Re-Opened) |
qids | Optional comma-separated QIDs | |
severities | Optional severity filter (e.g. "4,5") | |
status | Override the metric's default status filter |
vm_kev_qids Vm Kev Qids
Enumerate all QIDs covering the CISA KEV catalog (~9,700 QIDs). Cached after first resolution (sub-second when warm). Prefer vm_detection_stats(kev=True) for KEV metrics — it applies this set automatically; call this only when you need the raw QID list.
vm_kb_by_cve Vm Kb By Cve
Look up Qualys KB entries by CVE ID (e.g. CVE-2024-3400).
| Parameter | Type | Description |
|---|---|---|
cve * | string | |
limit | integer |
vm_kb_by_qid Vm Kb By Qid
Look up Qualys KB entries by QID (e.g. "91041" or "91041,91668").
| Parameter | Type | Description |
|---|---|---|
qids * | string | One or more QIDs, comma-separated. |
pc_posture_list Pc Posture List
List policy compliance posture for a specific policy.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The policy ID (numeric). |
limit | integer |
pm_job_list Pm Job List
List patch management jobs.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
pm_patch_list Pm Patch List
List available patches in the patch catalog.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
was_finding_list Was Finding List
List web application scan findings, optionally filtered by severity.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
severity | Severity level (1=info, 5=urgent). |
tc_connector_list Tc Connector List
List TotalCloud connectors for a cloud provider.
| Parameter | Type | Description |
|---|---|---|
provider * | string |
tc_cdr_findings Tc Cdr Findings
List Cloud Detection and Response (CDR) findings.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
cs_image_vulns Cs Image Vulns
Get vulnerabilities for a specific container image.
| Parameter | Type | Description |
|---|---|---|
image_id * | string | The container image ID (numeric). |
csam_riskiest_assets Csam Riskiest Assets
Find the riskiest assets by TruRisk score.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
min_risk_score | integer | Minimum risk score threshold (default 900). |
csam_asset_count Csam Asset Count
Get total count of assets in the subscription.
ca_agent_list Ca Agent List
List deployed cloud agents.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
etm_finding_list Etm Finding List
List findings from the ETM findings inventory.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | |
qql | Findings QQL query, e.g. "finding.severity:5" |
etm_asset_list Etm Asset List
List assets from the ETM asset inventory.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | |
qql | Asset QQL query, e.g. "asset.criticalityScore:5" |
cs_k8s_namespace_list Cs K8S Namespace List
List Kubernetes namespaces tracked by Container Security.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | |
query |
cs_k8s_pod_list Cs K8S Pod List
List Kubernetes pods tracked by Container Security.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | |
query |