qualys-mcp
Provides tools for interacting with Qualys security data, enabling vulnerability management, cloud security, container security, compliance checks, remediation planning, security overviews, and report management.
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 Give me a security overview"
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
ā ļø Unofficial project. This is a personal project to showcase the viability of connecting AI assistants to Qualys via the Model Context Protocol. It is not affiliated with, endorsed by, or supported by Qualys, Inc.
An MCP server that connects AI assistants to Qualys security data. 7 workflow tools covering vulnerability management, cloud security, containers, compliance, remediation, and more. Pure Python, zero config beyond credentials.
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.
Related MCP server: Qualys MCP Server
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. 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 |
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 (7 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 (282 tests)
pip install pytest
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) 2026 Andrew Nelson
Available Tools
8 toolsassess_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_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_statusB
[Admin] Show cache stats or clear all caches.
Inputs: clear. Returns: object
check_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
investigateA
[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_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
reportsB
[Reporting] Unified report operations ā list, templates, generate, status, download, delete.
Inputs: action (required), report_id, template_id, report_title, +3 more. Returns: object
security_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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 8 tools
Each tool targets a distinct security domain: cache admin, investigation, risk, compliance, remediation, overview, reporting, and cloud connectors. The descriptions provide clear use cases that prevent confusion, with only minor overlap between assess_risk and security_overview that is still disambiguated by their scope.
Naming conventions are mixed: some tools use verb_noun (assess_risk, check_compliance, plan_remediation), some are bare verbs (investigate), and others are nouns or noun phrases (reports, aws_org_connectors, cache_status, security_overview). There is no consistent pattern across the set.
Eight tools is a well-scoped count for a broad security platform, covering major operational areas without bloat. Each tool represents a meaningful high-level capability, making the count appropriate.
The tool set covers the core security operations lifecycle: investigation, risk assessment, compliance, remediation, overview, reporting, and cloud connector management. Minor gaps exist such as explicit asset management or scan configuration, but these are workable through the provided tools.
Maintenance
Related MCP Connectors
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Bring professional data and tools to the AI you already use. QVeris helps AI assistants, products, and workflows find services, review supported scope, call them, and audit usage.
Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.
Real-time CVE, exploit, and vulnerability intelligence for AI assistants (350K+ CVEs, 115K+ PoCs)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform penetration testing and security assessments by exposing 60+ Kali Linux security tools including network scanning, web security testing, password cracking, exploitation frameworks, and OSINT capabilities through an AI-friendly interface.2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server enabling AI assistants to interact with the Qualys vulnerability management platform. Supports investigation, risk assessment, compliance, remediation, security overview, and report management.22 npm2MIT
- AlicenseNot gradedqualityCmaintenanceBrings the full AlertLogic MDR platform into AI assistants, exposing 473+ tools for incident response, log search, SOAR automation, and multi-account security operations at MSSP scale.33 PyPIMIT
- AlicenseAqualityCmaintenanceExposes Tenable security operations as MCP tools for AI-powered security workflows, enabling asset, vulnerability, scan, plugin, and tag management via natural language.17MIT