Skip to main content
Glama
Red Hat Security Data API MCP Server

Red Hat Security Data API MCP Server

by dmc5179

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

Search CSAF advisory documents by date, severity, CVE, package, or RHSA ID

get_csaf_details

Get the full CSAF document for a specific advisory

search_cves

Search CVEs by date, severity, CVSS score, CWE, package, or product

get_cve_details

Get full CVE details including affected releases and mitigations

list_oval_streams

List available OVAL v2 stream files

get_oval_stream

Get OVAL stream data for a specific product (e.g. RHEL9)

Related MCP server: Control-Inventory-MCP-Server

Quick Start

npm install
npm run build
npm start

The server runs over stdio using the MCP protocol. See the docs below for connecting it to Claude Desktop or other MCP clients.

Documentation

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.

Available Tools

6 tools
get_csaf_detailsA

Retrieve the full CSAF document for a specific Red Hat Security Advisory (RHSA) by its ID.

Inputs: rhsa_id (required).

get_cve_detailsA

Retrieve full details for a specific CVE including severity, CVSS scores, affected releases, package state, mitigations, and references.

Inputs: cve_id (required).

get_oval_streamA

Retrieve OVAL stream data for a specific Red Hat product by base name (e.g. RHEL7, RHEL9).

Inputs: base (required).

list_oval_streamsB

List available Red Hat OVAL v2 stream files, optionally filtered by product label or modification date.

Inputs: after, label.

search_csafA

Search Red Hat CSAF advisory documents by date, severity, CVE, package, Bugzilla ID, or RHSA ID. Returns a paginated list of advisory summaries.

Inputs: bug, cve, page, after, +6 more.

search_cvesA

Search Red Hat CVEs by date, severity, CVSSv3 score, CWE, package, product, advisory, or Bugzilla ID. Returns a paginated list of CVE summaries.

Inputs: bug, cwe, ids, page, +11 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct resource type and action: CSAF search/detail, CVE search/detail, and OVAL list/retrieve. The resource nouns are explicit, so there is no meaningful overlap between search_csaf and search_cves or between the detail retrieval tools.

    Naming Consistency5/5

    All tool names follow a clear verb_noun pattern with search_, get_, and list_ prefixes. The naming is consistent and predictable: search_* for queries, get_*_details/get_*_stream for fetching individual items, and list_* for enumerating available streams.

    Tool Count5/5

    Six tools is well-scoped for a security data lookup server. The set covers three data types with paired search/list and detail retrieval operations, and every tool maps to a meaningful API action without redundancy or bloat.

    Completeness5/5

    The server provides both discovery/search and full-detail access for CSAF advisories, CVEs, and OVAL streams. As a read-only security data API, no create/update/delete operations are expected, and the retrieval lifecycle is effectively complete.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for OSIDB (Red Hat Product Security's vulnerability management system). Enables read-only querying of flaws, affects, trackers, and status via natural language from MCP clients like Cursor or Claude Desktop.
      83 PyPI
      2
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides search, detail lookup, and gap listing tools for a security control inventory, enabling natural language queries about control status and gaps.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables security analysts and risk managers to query a legacy CVE registry via natural language, providing tools for searching vulnerabilities, retrieving details, and obtaining statistics.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language queries across AWS multi-account security scan history, including infrastructure configurations, public exposures, and organizational relationships.
      MIT