# Connect OpenSCAP to Your AI Agent (Universal MCP)

> Use your AI to monitor compliance, audit security, and create reports in OpenSCAP — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http openscap https://api.universalmcp.app/mcp/openscap`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/openscap` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "openscap", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: OpenSCAP (© Red Hat 2015 - 2026) | Category: DevOps & IT/Security | Auth: Encrypted API credentials or guided on-prem setup | Deployment: on-prem
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Scan result reports, Host inventory, Remediation scripts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=openscap | Guide: https://universalmcp.app/mcp/openscap
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (15 actions: 7 Read, 8 Write)
Perform over 10 actions across getting started, security policies, assessment, enforcement, and standards. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Getting Started (4):** Install OpenSCAP Base (write), Install SCAP Workbench (write), Start OpenSCAP Daemon (write), Adjust Scan Settings (write)
- **Security Policies (4):** Search Security Policies (read), Choose Security Policy (write), Compare Hardening Guides (read), Customize Policy Settings (write)
- **Assessment (4):** Scan Your System (read), Evaluate System Against Policy (read), Measure Compliance Baseline (read), Assess Vulnerabilities (read)
- **Enforcement (2):** Enforce Security Baseline (write), Apply Hardening Configuration (write)
- **Standards (1):** Verify SCAP Standard Compliance (read)

## Example Prompts for OpenSCAP
- **Rank failed rules:** "In OpenSCAP, list the failed rules in the last RHEL 9 STIG scan, sorted by severity and host count."
- **Explain a finding:** "In OpenSCAP, explain why the audit_rules_privileged_commands check failed on db-prod-02 and what changes it needs."
- **Compare baselines:** "In OpenSCAP, compare pass rates between the CIS Level 1 and PCI DSS profiles across all scanned hosts this month."
- **Draft remediation:** "In OpenSCAP, draft an Ansible remediation playbook for the high-severity rules on staging, pending my approval before running."
