Red Hat Security Data API MCP Server
Red Hat Security Data API MCP Server
一个 Model Context Protocol (MCP) 服务器,让 Claude 等 LLM 能够访问 Red Hat Security Data API。通过自然语言查询 CSAF 公告、CVE 和 OVAL 流数据。
功能说明
该服务器提供六个工具,封装了 Red Hat Security Data API v1.0:
工具 | 描述 |
| 按日期、严重性、CVE、软件包或 RHSA ID 搜索 CSAF 公告文档 |
| 获取特定公告的完整 CSAF 文档 |
| 按日期、严重性、CVSS 分数、CWE、软件包或产品搜索 CVE |
| 获取完整的 CVE 详情,包括受影响的版本和缓解措施 |
| 列出可用的 OVAL v2 流文件 |
| 获取特定产品(例如 RHEL9)的 OVAL 流数据 |
Related MCP server: Control-Inventory-MCP-Server
快速入门
npm install
npm run build
npm start该服务器通过 stdio 使用 MCP 协议运行。请参阅下面的文档,了解如何将其连接到 Claude Desktop 或其他 MCP 客户端。
文档
构建与运行 -- 从源代码、容器(Podman)和环境变量构建
Claude Desktop / Claude Code 设置 -- MCP 客户端的配置
工具参考 -- 所有六个工具的参数和描述
项目结构
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。
Available Tools
6 toolsget_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
Scored across 6 tools
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.
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.
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.
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.
Maintenance
Related MCP Connectors
Ask your AI assistant about your logs, traces, security events, robot runs and video. Read-only.
Look up CVEs, CISA KEV, EPSS and open-source package vulnerabilities, including malicious packages.
Free merged CVE, GHSA and OSV feed: search, a live feed, a lockfile check and data reports.
Ask about your Kodem Security data and act on findings in plain language, with your permissions.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP 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.2MIT
- FlicenseNot gradedqualityDmaintenanceProvides search, detail lookup, and gap listing tools for a security control inventory, enabling natural language queries about control status and gaps.-
- FlicenseNot gradedqualityDmaintenanceEnables security analysts and risk managers to query a legacy CVE registry via natural language, providing tools for searching vulnerabilities, retrieving details, and obtaining statistics.-
- AlicenseNot gradedqualityDmaintenanceEnables natural language queries across AWS multi-account security scan history, including infrastructure configurations, public exposures, and organizational relationships.MIT