vmware-harden
This server provides read-only VMware compliance scanning, violation tracking, drift detection, and remediation advisory capabilities.
list_baselines: List all available built-in and user-imported compliance baselines (e.g., CIS ESXi 8.0, PCI-DSS 4.0, EU NIS2, BSI IT-Grundschutz).scan_target: Trigger a compliance scan against a specified vCenter or host target using a chosen baseline (defaults tocis-vmware-esxi-8.0-subset).list_violations: View compliance violations from the latest scan snapshot, with optional filtering by severity (critical, high, medium, low).get_remediation: Retrieve a persisted remediation suggestion for a specific violation by its ID.list_drift_events: View configuration change/drift events from the latest snapshot, with a configurable result limit (default: 50).get_baseline_rules: Fetch all individual compliance rules defined within a specific baseline by its ID.
Enforces compliance baselines on VMware vSphere environments, including ESXi hosts and NSX DFW rules, with built-in baselines such as CIS, PCI-DSS, and 等保 2.0.
vmware-harden
Disclaimer: Community-maintained open-source project. Not affiliated with, endorsed by, or sponsored by VMware, Inc. or Broadcom Inc. "VMware", "vSphere", "ESXi", and "NSX" are trademarks of Broadcom. Source code is publicly auditable at github.com/vmware-skills/VMware-Harden under the MIT license.
English | 中文
AI-native VMware compliance and baseline enforcement. Sibling to the vmware-* skill family.
Read-only against vSphere: all 6 MCP tools carry the
[READ]marker and none mutate managed VMware infrastructure;scan_targetwrites only to the local twin DB (a cache of its own observations). See Read-only by design.
GA family member (since v1.5.18)
Production-ready compliance platform with 8 built-in baselines (CIS ESXi 8.0 + 9.0, vSphere SCG v8 + v9, 等保 2.0 三级, PCI-DSS 4.0, EU NIS2, BSI IT-Grundschutz) carrying 87 rules, multi-vCenter Twin, drift detection, LLM Remediation Advisor, MCP server with 6 audited tools, web dashboard, and vmware-harden doctor environment diagnostics.
Related MCP server: vSphere-MCP-Pro
Quickstart
uv tool install vmware-harden
# List built-in baselines
vmware-harden baseline list
# Run a scan
vmware-harden scan --target <vcenter-name> --baseline cis-vmware-esxi-8.0-subset
# Or use 等保 2.0 三级 (国内合规独家)
vmware-harden scan --target <vc> --baseline dengbao-2.0-level3-vmware
# View results
vmware-harden report
vmware-harden drift
# Generate remediation suggestions
export ANTHROPIC_API_KEY=... # optional; falls back to mock without
vmware-harden advise --all-critical
# Web dashboard
vmware-harden web --port 8080 # → http://127.0.0.1:8080Offline / Air-Gapped Install (from source)
This project uses the modern PEP 517 build system (hatchling), so there is no
setup.py by design — that is expected, not a missing file. If you cloned the
source and hit ERROR: File "setup.py" or "setup.cfg" not found ... editable mode currently requires a setuptools-based build, your pip is older than 21.3 and
cannot do an editable (-e) install with a non-setuptools backend. Editable
mode is a developer convenience, not needed to run the tool — do one of:
# From the source tree — a normal (non-editable) install builds a wheel:
pip install . # NOT pip install -e .
# ...or upgrade pip first, and editable works too:
pip install --upgrade pip && pip install -e .For a truly air-gapped host, build the wheels on a connected machine and copy them over — the target then needs no network:
# On a connected machine, collect this package + its dependencies as wheels:
pip wheel . -w dist # → dist/*.whl (or: uv build, for just this package)
# Copy dist/ to the air-gapped host, then install offline:
pip install --no-index --find-links dist vmware-hardenRead-Only by Design
vmware-harden is read-only against vSphere and NSX — all 6 MCP tools carry the [READ]
marker, and none mutate managed VMware infrastructure. scan_target writes only to the
local twin DB (~/.vmware-harden/twin.duckdb), a cache of its own observations rather than
managed infrastructure. Remediation is never applied by this skill; it is deferred to
vmware-pilot, which provides approval gating and audit trails for write operations.
Built-in baselines
Baseline | Rules | Applies to | Source |
| 20 | host | CIS Benchmark v1.0 |
| 15 | host, vm | |
| 20 | host, vm, datastore, dfw_rule | GB/T 22239-2019 三级 |
| 10 | host, dfw_rule | PCI-DSS v4.0 |
| 12 | host, dfw_rule | EU NIS2 Directive (Articles 21/23, Annex I) |
| 10 | host | BSI IT-Grundschutz (OPS.1.1.4 + SYS.1.1) |
| 20 | host | Inherits |
| 15 | host, vm | Inherits |
baseline list returns 8 IDs: the 6 rule-bearing baselines above (87 rules total) plus the
two v9 aliases, which carry no rules of their own and resolve to their v8 parent's.
VCF 9.0 / 9.1 Compatibility
The existing baselines (cis-vmware-esxi-8.0-subset, vsphere-scg-v8, dengbao-2.0-level3-vmware, pci-dss-4.0-vmware) scan VCF 9.0 / 9.1 clusters successfully — most rules target host advanced settings stable across 8.x → 9.x. cis-vmware-esxi-9.0-subset and vsphere-scg-v9-subset ship today as extends: aliases of their v8 parents — same rules, a v9-named ID to scan and report under. Rules specific to 9.x will be added to them as Broadcom publishes the v9 guides.
Official Broadcom References
Security Configuration Guides: https://core.vmware.com/security/ — vSphere SCG v8 / future v9
SDKs: https://developer.broadcom.com/sdks — VCF Python SDK (for fetching host config via REST)
CIS Benchmarks: https://www.cisecurity.org/cis-benchmarks/ — CIS VMware ESXi Benchmark v1.0 (8.0 / future 9.0)
Custom baselines
vmware-harden baseline validate ./my-strict.yaml
vmware-harden baseline import ./my-strict.yaml --name my-strict-cis
vmware-harden scan --target <vc> --baseline my-strict-cisYAML supports extends: for inheriting from a built-in baseline. See skills/vmware-harden/references/cli-reference.md.
MCP server
vmware-harden mcp # stdio MCP server (legacy alias: vmware-harden-mcp)Configure your MCP client with one of examples/mcp-configs/*.json. 6 read-only tools: list_baselines, list_violations, get_remediation, list_drift_events, get_baseline_rules, scan_target.
Architecture
Estate Digital Twin — DuckDB single file at
~/.vmware-harden/twin.duckdb. Multi-target safe via target prefix on all node IDs.Collectors — lazy-import sibling vmware-* skills (no spawn overhead). All scans are READ; writes deferred to vmware-pilot.
Baseline schema — Pydantic v2, strict (
extra="forbid"),extends:inheritance, user-dir override.Drift — pure diff function with optional persistence; auto-runs after every scan.
Advisor — LLM-driven Suggestion generation; Anthropic provider with prompt caching; mock fallback for tests / no-API-key environments.
Audit — every MCP tool wrapped with
@vmware_toolfrom family vmware-policy.Web — FastAPI + Jinja2 + Tailwind/HTMX/ECharts CDN.
Lab regression
export VMWARE_HARDEN_LAB_TARGET=<your-vc>
pytest tests/eval/regression -v -m labFamily
vmware-aiops — host inventory + ops (used by harden's HostCollector)
vmware-monitor — read-only counterpart
vmware-storage — datastore inventory
vmware-nsx-security — DFW inventory
vmware-pilot — execute remediations (writes; out of scope for harden)
vmware-policy —
@vmware_toolaudit decorator
Acceptance criteria (v1.5.18 GA)
221 tests passing
Bandit: 0 issues at any severity
All 6 MCP tools audited
SKILL.md ≤ 3000 words, family-convention compliant
SECURITY.md with 6 elements + Broadcom disclaimer
8 built-in baselines (87 rules across 6 rule-bearing sets + 2 v9 aliases)
vmware-harden doctorfor environment diagnosticsGA member of vmware-* family (version-aligned at 1.5.28)
References
Family CLAUDE.md:
CLAUDE.mdat the monorepo root
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables security auditing, penetration testing, and compliance validation with tools like Semgrep, Trivy, Gitleaks, and OWASP ZAP. Features strict project boundary enforcement and supports OWASP, CIS, and NIST compliance frameworks.Last updated7
- Alicense-qualityDmaintenanceEnables secure management of VMware vCenter 8.0+ environments through controlled operations including VM lifecycle management, snapshots, and resource discovery with built-in RBAC authorization, audit logging, and rate limiting.Last updated5MIT
- AlicenseAqualityAmaintenanceRead-only VMware vCenter/ESXi monitoring. 8 MCP tools for VM inventory, host status, datastore capacity, cluster info, alarms, events, and VM details. Code-level enforced safety — no destructive operations exist in the codebase. Supports vSphere 6.5–8.0. Works with local models via Ollama/LM Studio.Last updated279MIT
- Alicense-qualityBmaintenanceIntegrates authoritative security compliance frameworks (ISO 27001, NIST 800-53, OWASP ASVS, NIST SSDF) into AI-assisted development, offering control lookups, cross-framework mappings, build-time guardrails, and automated audit evidence generation.Last updated4413MIT
Related MCP Connectors
Threat modeling, code/cloud/pipeline scanning, shadow-AI discovery, compliance checks and fixes.
Compliance & security scan for your app: secrets, exposed files, headers, privacy, AI-disclosure.
EU AI Act sovereignty scanning. Provider residency, registration status, audit trail support.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vmware-skills/VMware-Harden'
If you have feedback or need assistance with the MCP directory API, please join our Discord server