Qualys MCP Server — Triage edition
Provides tools for querying and interacting with Qualys modules such as VMDR, CSAM, KnowledgeBase, compliance, reports, and asset/vulnerability data, including CVE impact analysis and software exposure lookups.
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., "@Qualys MCP Server — Triage edition check CVE-2024-3400 impact and list affected hosts"
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.
Qualys MCP Server — Triage edition
⚠️ Unofficial project. Not affiliated with, endorsed by, or supported by Qualys, Inc.
This repository is a fork of nelssec/qualys-mcp by Andrew Nelson (MIT). It keeps all the upstream tools and adds what an automated SOC alert-triage pipeline needs (for example an n8n workflow that reads security bulletins and assesses CVE impact):
cve_impact— machine-readable impact for a list of CVEs: QID mapping, KB details and the complete list of hosts with open VMDR detections (no sampling).software_exposure— assets running a product, from the CSAM software inventory, without needing a QID: flags potentially exposed assets as soon as a CVE is published, before Qualys releases a detection or hosts are rescanned.VMDR host detection moved to API v4.0; CVE → host lookup no longer requires CSAM.
Everything below the triage tools section is the upstream documentation, updated where the fork differs.
Triage tools (this fork)
cve_impact(cves, max_hosts=0)
Parameter | Description |
| List of CVE IDs. Invalid and duplicate entries are dropped. |
| Max confirmed hosts per CVE. |
Returns, per CVE, status (ok, no_qid_mapping or error), the QIDs with KB details (severity, CVSS, QDS, threat intel, ransomware, patch, solution) and confirmedHosts (hostCount, hosts, lookupOk). A summary gives the unique affected hosts across all CVEs and the CVEs whose lookup failed.
Confirmed hosts come from VMDR detections (New / Active / Re-Opened), so they exist only once Qualys has released a QID and the host has been assessed since (scan or Cloud Agent). no_qid_mapping means it is too early for detections: use software_exposure.
software_exposure(products, include_os=True, max_assets=0)
Parameter | Description |
| List of |
| Also match the operating-system name (default |
| Max assets returned per product. |
For each product it searches CSAM software.name CONTAINS <term> (and operatingSystem.name, if enabled) for the name and every alias, follows cursor pagination to the end and de-duplicates by asset. It returns:
per product:
assetCount,softwareMatchCount,osMatchCount,complete(false if a page failed or the page cap was hit),errors;per asset: hostname, IP, OS, last seen and only the matching software entries, each with
version,build(full version from CSAMupdate),publisheranddiscoverySources.
Versions are not compared by the server: the caller holds the vulnerable ranges (CVE.org / NVD) and should compare the full build, check the platform (a Linux-only CVE does not hit Windows assets) and treat the result as potential exposure until VMDR confirms it.
Tips:
Use specific product names. A bare vendor name ("VMware") matches every product of that vendor; a generic term ("vCenter") also matches "vCenter Converter".
Entries found only by the IP Scanner have less reliable versions than Cloud Agent ones.
Linux distributions backport fixes without changing the upstream version, so package versions can look vulnerable after patching.
Requires the CSAM module.
SOFTWARE_EXPOSURE_MAX_PAGES(default 200 pages × 100 assets) caps each search;CSAM_SOFTWARE_FIELD/CSAM_OS_FIELDoverride the filter fields.
Install this fork
uvx qualys-mcp and pip install qualys-mcp install the upstream package from PyPI, which does not include these tools. Install from this repository instead:
uvx --from git+https://github.com/AxelSecurity/qualys-mcp-triage qualys-mcpor build the Docker image from a clone (see Run with Docker).
Related MCP server: CVE Risk MCP Server
What's new in v0.2.9
Streamable HTTP + Docker support — run the server as a persistent, network-reachable container instead of stdio-only (see Run with Docker below).
Fixed per-asset detections in issue #229.
Breaking: now requires Python ≥3.10 and
fastmcp≥2.11 — Python 3.9 installs are no longer supported.
Setup
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"qualys": {
"command": "uvx",
"args": ["qualys-mcp"],
"env": {
"QUALYS_USERNAME": "your-username",
"QUALYS_PASSWORD": "your-password",
"QUALYS_POD": "US2"
}
}
}
}Set QUALYS_POD to your platform POD — the server derives the correct API and gateway URLs automatically.
Supported pods: US1 US2 US3 US4 EU1 EU2 EU3 IN1 CA1 AE1 UK1 AU1 KSA1
Advanced: If you need to override the auto-derived URLs, set
QUALYS_BASE_URLandQUALYS_GATEWAY_URLexplicitly instead ofQUALYS_POD. Explicit URLs take priority.
Requires uv: brew install uv or curl -LsSf https://astral.sh/uv/install.sh | sh
Updating
uvx caches the resolved build, so a plain uvx qualys-mcp keeps running the
version it first downloaded — it does not auto-upgrade when a new release
ships. To move to the latest version, clear the cache and restart Claude Desktop:
uv cache clean qualys-mcpTo pin (and control) the version explicitly, set it in your config args:
"args": ["qualys-mcp@0.2.7"]pip install -U qualys-mcp only updates a pip-installed copy — it has no effect
on the uvx-launched server.
Alternative
pip install qualys-mcp
qualys-mcpSelf-Signed Certificates
For environments with self-signed certs, add "QUALYS_SSL_VERIFY": "false" to the env block.
Run with Docker (Streamable HTTP)
Prefer a persistent, network-reachable server over the uvx stdio setup above? Run it as a container instead:
docker build -t qualys-mcp:latest .
cp .env.example .env
$EDITOR .env # set your Qualys credentials
docker compose up -d
claude mcp add --transport http qualys http://127.0.0.1:8000/mcp/See docs/DOCKER.md for the full guide: environment variables, connecting other MCP clients, security notes, and troubleshooting.
Tools
7 workflow tools that intelligently dispatch to 42 internal aggregators across all Qualys modules, plus three single-purpose tools (the last two added by this fork). Each tool handles routing, concurrent API calls, cross-domain correlation, and response synthesis automatically.
Tool | What it answers |
| Deep-dive any security topic — CVEs, threat actors, assets, EDR/FIM events, KB searches |
| Cross-domain risk — VMs, cloud (AWS/Azure/GCP/OCI), containers, web apps, certificates, assets |
| Compliance posture — PCI, HIPAA, CIS, NIST, SOC2 pass/fail, failing controls, exceptions |
| Patch priorities, deployment status, mitigation coverage, program gap analysis |
| Daily/weekly/monthly briefing — scanner health, scan status, vulnerability findings |
| Generate, list, download, and manage Qualys reports |
| View and clear API caches |
| AWS Organization connectors: sync state, attached accounts, capabilities |
| Structured impact for a list of CVEs: QIDs, KB details, complete list of hosts with VMDR detections |
| Assets running a product from the CSAM software inventory, without a QID |
Key Parameters
investigate
target— CVE ID, threat actor, hostname, IP, or free-text topicdepth—quick(~10s) /standard(~20s) /deep(~45s)scope—all/vulns/threats/assets/edr/fim
assess_risk
scope—all/cloud/containers/web/certs/assetstag/asset_group— filter by business groupprovider—aws/azure/gcp(cloud scope)asset_id— single asset deep-dive
check_compliance
framework—PCI/HIPAA/CIS/NIST/SOC2include_exceptions— include risk acceptances
plan_remediation
scope—all/patches/mitigations/programseverity—critical/high/moderatecves/qids— check mitigation coverage for specific vulns
security_overview
period—today/week/monthquick— fast snapshot (~2s) vs full briefing
Example Conversations
Daily Operations
"Give me a security overview" → security_overview(quick=True)
"What happened this week?" → security_overview(period="week")
"What should we patch first?" → plan_remediation(scope="patches", severity="critical")
"How's our compliance?" → check_compliance()Investigation
"Tell me about CVE-2024-3400" → investigate(target="CVE-2024-3400")
"Are we exposed to ransomware?" → investigate(target="ransomware")
"What do we know about Iranian threats?" → investigate(target="iran")
"Investigate this host: 10.0.0.1" → investigate(target="10.0.0.1", scope="edr")Risk Assessment
"What's our overall risk?" → assess_risk(scope="all")
"How's our cloud security?" → assess_risk(scope="cloud")
"Any container vulnerabilities?" → assess_risk(scope="containers")
"Web app security status?" → assess_risk(scope="web")
"Show me risk for Production assets" → assess_risk(tag="Production")Compliance & Remediation
"Are we PCI compliant?" → check_compliance(framework="PCI")
"What's our patch coverage?" → plan_remediation(scope="patches")
"Is there a mitigation for CVE-2024-3400?" → plan_remediation(cves=["CVE-2024-3400"])
"What security gaps do we have?" → plan_remediation(scope="program")Multi-Step Workflows
"New critical CVE dropped — what do I need to know?"
→ investigate(target="CVE-...") → plan_remediation(cves=["CVE-..."]) → check_compliance()
"Prepare me for the weekly security standup"
→ security_overview(period="week") → assess_risk(scope="all") → plan_remediation(scope="patches")
"PCI audit prep"
→ check_compliance(framework="PCI", include_exceptions=True) → assess_risk(scope="all") → plan_remediation()Architecture
AI Assistant → qualys_mcp.py (10 tools) → workflows/ (dispatch + synthesis) → aggregators.py (42 functions) → api.py (HTTP + caching) → Qualys APIsEach workflow tool:
Builds a dispatch plan based on parameters
Runs selected aggregators concurrently
Merges results into a unified response envelope
Applies cross-domain correlation
Returns prioritized findings and recommended actions
Performance
Tested on an 89,000-asset environment (US2 POD):
Workflow | Time |
| 1.7s |
| 1.3s |
| 3.1s |
| <1ms (cached) |
| 2.6s |
| ~33s |
| 4.9s |
Cold start: The first query after launching takes 2-10s longer while the bearer token is acquired and caches warm up. A background thread pre-fetches VMDR detections on startup. After the first query, responses are significantly faster. Ask
security_overview(quick=True)first to warm caches.
Eval Harness
300 routing test questions + 900 variants + 30 multi-turn conversation workflows for automated evaluation.
# Install eval dependencies
pip install anthropic mcp python-dotenv pyyaml
# Run eval
python -m eval --quickTesting
# Unit tests (418 tests)
pip install pytest
QUALYS_MCP_CACHE_DIR=$(mktemp -d) pytest tests/ --ignore=tests/conversations -q
# Smoke test
bash test_tools.sh fastQualys PODs
POD | BASE_URL | GATEWAY_URL |
US1 | qualysapi.qualys.com | gateway.qg1.apps.qualys.com |
US2 | qualysapi.qg2.apps.qualys.com | gateway.qg2.apps.qualys.com |
US3 | qualysapi.qg3.apps.qualys.com | gateway.qg3.apps.qualys.com |
US4 | qualysapi.qg4.apps.qualys.com | gateway.qg4.apps.qualys.com |
EU1 | qualysapi.qualys.eu | gateway.qg1.apps.qualys.eu |
EU2 | qualysapi.qg2.apps.qualys.eu | gateway.qg2.apps.qualys.eu |
EU3 | qualysapi.qg3.apps.qualys.eu | gateway.qg3.apps.qualys.eu |
IN1 | qualysapi.qg1.apps.qualys.in | gateway.qg1.apps.qualys.in |
CA1 | qualysapi.qg1.apps.qualys.ca | gateway.qg1.apps.qualys.ca |
AE1 | qualysapi.qg1.apps.qualys.ae | gateway.qg1.apps.qualys.ae |
UK1 | qualysapi.qg1.apps.qualys.co.uk | gateway.qg1.apps.qualys.co.uk |
AU1 | qualysapi.qg1.apps.qualys.com.au | gateway.qg1.apps.qualys.com.au |
KSA1 | qualysapi.qg1.apps.qualysksa.com | gateway.qg1.apps.qualysksa.com |
License
MIT - Copyright (c) 2025-2026 Andrew Nelson. See LICENSE.
Fork changes (cve_impact, software_exposure, VMDR v4.0 host lookup) are released under the same license.
Available Tools
10 toolsassess_riskAssess RiskA
[Risk Assessment] Cross-domain risk assessment — VMs, cloud, containers, web apps, certificates, assets. @slow
USE WHEN: "what's our risk?", "show me cloud risk in AWS", "top risky assets", "container vulnerabilities", "expiring certificates", "EOL systems", "risk by business unit", "how's our security posture?"
Inputs: os, tag, days, limit, +22 more. Returns: result
aws_org_connectorsAws Org ConnectorsA
[Cloud] AWS Organization connectors — list and health status for multi-account AWS setups.
USE WHEN: "show AWS org connectors", "AWS Organizations status", "multi-account cloud connector health", "which AWS accounts are connected", "AWS org sync status"
Inputs: limit, detail. Returns: object
cache_statusCache StatusB
[Admin] Show cache stats or clear all caches.
Inputs: clear. Returns: object
check_complianceCheck ComplianceA
[Compliance] Compliance posture assessment — framework pass/fail rates, failing controls, risk acceptances. @slow
USE WHEN: "are we PCI compliant?", "compliance gaps", "show failing controls", "risk acceptances expiring", "HIPAA posture", "CIS benchmark results", "what frameworks do we have?"
Inputs: tag, limit, detail, platform, +6 more. Returns: result
cve_impactCve ImpactA
[Investigation] Structured impact report for a list of CVEs — for automated pipelines (e.g. SOC alert triage).
USE WHEN: an automation needs machine-readable data for several CVEs at once: QID mapping, KB details (severity, CVSS, QDS, threat intel, ransomware, patch, diagnosis, solution), assets running the affected software (CSAM), and the COMPLETE list of hosts with open VMDR detections (New/Active/Re-Opened).
Inputs: cves (required), max_hosts. Returns: object
investigateInvestigateA
[Investigation] Deep-dive investigation on any security topic — CVEs, threat actors, assets, endpoint events, vulnerability intelligence. @slow
USE WHEN: "tell me about CVE-2024-3400", "are we exposed to Lazarus Group?", "investigate this IP", "what ransomware vulns exist?", "deep dive on Log4Shell", "what's happening on 10.0.0.1?"
Inputs: target (required), tag, days, depth, +8 more. Returns: result
plan_remediationPlan RemediationA
[Remediation] Remediation planning — patch priorities, deployment status, mitigation coverage, program gaps. @slow
USE WHEN: "what should we patch?", "outstanding patches", "patch deployment status", "mitigation coverage", "is there a mitigation for CVE-X?", "what's missing from our security program?", "how do we reduce risk?"
Inputs: tag, cves, qids, limit, +6 more. Returns: result
reportsReportsC
[Reporting] Unified report operations — list, templates, generate, status, download, delete.
Inputs: action (required), report_id, template_id, report_title, +3 more. Returns: object
security_overviewSecurity OverviewA
[Overview] Security briefing — daily/weekly/monthly summary with scanner health, findings, and risk trends. @slow when quick=False
USE WHEN: "morning briefing", "what happened this week?", "security overview", "any new critical vulns?", "scanner status", "what needs attention today?"
Inputs: qql, tag, limit, quick, +6 more. Returns: result
software_exposureSoftware ExposureA
[Investigation] Assets running a product, from the CSAM software inventory — works WITHOUT a QID.
USE WHEN: an automation must flag assets potentially exposed to a new CVE before Qualys has released a QID or before hosts have been rescanned: search the software inventory (and OS names, where appliances such as "VMware vCenter Server Appliance" appear) by the product names from CVE.org/NVD.
Inputs: products (required), include_os, max_assets. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
The specialized tools (assess_risk, check_compliance, plan_remediation, cve_impact, software_exposure) have fairly distinct scopes, but 'investigate' is a catch-all that explicitly claims 'any security topic — CVEs, threat actors, assets' and therefore overlaps with at least four of the others. USE WHEN examples mitigate this somewhat, but an agent could reasonably route 'are we exposed to X' to investigate, software_exposure, cve_impact, or assess_risk.
Naming is mixed: verb_noun (assess_risk, check_compliance, plan_remediation), noun_phrases (cve_impact, software_exposure, security_overview, aws_org_connectors), bare nouns (reports, cache_status), and a bare verb (investigate). 'reports' is also a bundled multi-action tool (list/templates/generate/status/download/delete), which breaks the one-action-per-tool convention used elsewhere.
Ten tools is well within the sweet spot and each maps to a recognizable triage workflow: investigate, assess, comply, remediate, report, brief, cloud health, cache admin. Nothing looks redundant in count terms, and no domain is split into excessive micro-tools.
For a read-oriented triage surface the lifecycle is largely covered: discovery (investigate, software_exposure, cve_impact), assessment (assess_risk, check_compliance), response planning (plan_remediation), and output (reports, security_overview). Minor gaps remain — no asset/asset-group lookup as a first-class tool, and no write actions such as creating exceptions, tickets, or scan jobs, so agents hit a dead end when triage must turn into action.
Maintenance
Related MCP Connectors
CVE triage in one call: NVD, CVSS, CISA KEV, EPSS, public exploits and an explained risk score.
Live CVE, CISA KEV and exploit intelligence, SBOM scans, patch prioritization and IOC checks.
CVE with EPSS and CISA KEV, package risk, software EOL, domain and IP reports, pay per call
CVE intelligence: exploitation (KEV/EPSS), detection coverage, fixed versions, CPE configurations.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables vulnerability analysis by querying CVE data through the CIRCL API and provides professional security risk assessments for SOC and Blue Team operations. It integrates tools for searching vulnerabilities with resources like risk matrices and operational playbooks to help remediate security threats.-
- AlicenseNot gradedqualityDmaintenanceEnables CVE lookups and risk assessment by integrating CISA Known Exploited Vulnerabilities (KEV) data and CVSS metrics. It helps users prioritize patching efforts by ranking vulnerabilities based on exploitation status and calculated risk scores.MIT

mlab.sh MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables threat intelligence for SOC and DFIR workflows, including IOC enrichment, CVE and threat actor lookup, domain scanning, and account-based scan management.2MIT- AlicenseNot gradedqualityCmaintenanceEnables querying and searching NIST NVD CVE, CPE, CVE history, source metadata, and CISA KEV data, with normalized risk summaries and cyber-workflow helpers for inventory, SBOM, scanner, threat-intel, export, ticket, and prioritization tasks.Creative Commons Zero v1.0 Universal