Red Hat Security Data API MCP Server
Red Hat Security Data API MCP Server
A Model Context Protocol (MCP) server that gives LLMs like Claude access to the Red Hat Security Data API. Query CSAF advisories, CVEs, and OVAL stream data through natural language.
What It Does
This server exposes six tools that wrap the Red Hat Security Data API v1.0:
Tool | Description |
| Search CSAF advisory documents by date, severity, CVE, package, or RHSA ID |
| Get the full CSAF document for a specific advisory |
| Search CVEs by date, severity, CVSS score, CWE, package, or product |
| Get full CVE details including affected releases and mitigations |
| List available OVAL v2 stream files |
| Get OVAL stream data for a specific product (e.g. RHEL9) |
Quick Start
npm install
npm run build
npm startThe server runs over stdio using the MCP protocol. See the docs below for connecting it to Claude Desktop or other MCP clients.
Documentation
Building and Running -- Build from source, container (Podman), and environment variables
Claude Desktop / Claude Code Setup -- Configuration for MCP clients
Tools Reference -- Parameters and descriptions for all six tools
Project Structure
src/
index.ts MCP server entry point and tool registration
api-client.ts HTTP client for the Red Hat Security Data API
tools/
csaf.ts search_csaf, get_csaf_details
cve.ts search_cves, get_cve_details
oval.ts list_oval_streams, get_oval_stream
Containerfile Multi-stage production build
build.sh Container image build script (Podman)
podman-compose.yml Local testing configuration (podman compose)License
See LICENSE.