The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Qualys MCP listing page.
A Model Context Protocol server for full Qualys portal management — expose VMDR, Policy Compliance, WAS, Cloud Agent, Container Security, TotalCloud, Patch Management, CSAM/GAV, EASM and administration to any MCP‑capable client (Claude, and other MCP hosts).
One process per Qualys console (run as many as you have subscriptions). Built on FastMCP, with a single client that speaks all three Qualys API families, a strict read / write / destructive safety model, and credentials that never touch chat or plaintext.
list_hosts, list_host_detections, launch_scan,
search_was_findings, list_knowledgebase, get_cs_image_vulnerabilities,
and hundreds more, each mapped 1:1 to a documented Qualys API operation.self._fo /
self._qps / self._gateway.--check runs
fully offline with no credentials.| Regime | Base path | Auth | Payload |
|---|---|---|---|
| Classic "FO" | /api/2.0/fo/, /msp/ | Basic + X-Requested-With header | form → XML |
| QPS REST | /qps/rest/ | Basic | XML <ServiceRequest> / JSON |
| Gateway | gateway.<pod>.apps.qualys.com | Bearer JWT (from /auth) | JSON |
Adding a capability is just dropping a file in qualys_mcp/modules/ — see
docs/MODULE_BUILD_GUIDE.md.
Lists every discovered module with its tool count and exits — a good first smoke test.
You need a Qualys API user and your platform/POD code (e.g. US1, US2,
EU1; find it under your console URL or Help → About).
Any OS — environment variables:
Windows — DPAPI‑encrypted blobs (recommended for a persistent deployment):
See .env.example for every QUALYS_* setting.
A ready‑to‑use .mcp.json is included for Claude Code:
scripts/register_mcp_clients.py shows how to register the same local‑HTTP
servers into several MCP clients at once.
QUALYS_ENABLE_DESTRUCTIVE=true.confirm=<id>
argument before it will act — so a destructive call can never happen by
accident from a single prompt.Read docs/SAFETY_AUDIT.md for the full tiering.
qualys_mcp/modules/.QUALYS_ENABLE_DESTRUCTIVE=true (the extra ~40 are the guarded destructive
tools that otherwise stay hidden).The full per‑module table (registry name, API family, tool counts, one‑line description) is in docs/MODULE_INDEX.md, and a complete endpoint → tool → action breakdown is in docs/ENDPOINTS_TOOLS_ACTIONS.md.
| Variable | Purpose |
|---|---|
QUALYS_USERNAME / QUALYS_PASSWORD | API user credentials |
QUALYS_PLATFORM | POD code (US1…KSA1) — auto‑fills API + Gateway URLs |
QUALYS_API_URL / QUALYS_GATEWAY_URL | Explicit overrides for unlisted PODs |
QUALYS_CONSOLE_LABEL | Names the console in logs and the server name |
QUALYS_ENABLE_DESTRUCTIVE | true to register the destructive tier |
QUALYS_MCP_MODULES | Comma‑separated allowlist to scope a console to its licensed modules |
QUALYS_MCP_API_KEY | Optional shared secret for the HTTP transport |
Contributions welcome — see CONTRIBUTING.md.
This is an independent, community project. It is not affiliated with, endorsed by, or supported by Qualys, Inc. "Qualys" and product names are trademarks of their respective owners. Use against your own subscriptions in accordance with your Qualys license and API terms. The software is provided "as is" (see LICENSE); you are responsible for what you run against your environment — especially the destructive tier.
MIT © 2026 Rijul Sharma