Rh Kcs Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Rh Kcs Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This project implements a Model Context Protocol (MCP) server that provides tools for interacting with Red Hat APIs, making it easy to integrate with LLM applications.
The server exposes the following Red Hat API tools:
pip install fastmcp or uv pip install fastmcp)UV is the recommended package manager for Python projects:
curl -LsSf https://astral.sh/uv/install.sh | sh# Clone the repository
git clone <your-repository-url>
cd redhat-api-mcp
# Install dependencies with UV (recommended)
uv pip install -r requirements.txt
# Or with pip
pip install -r requirements.txtCreate a .env file in the project root with your Red Hat API token:
# Create .env file
echo "RH_API_OFFLINE_TOKEN=your_offline_token_here" > .envReplace your_offline_token_here with your actual offline token from step 1.
You can run the server using fastmcp:
# Using UV (recommended)
uv run fastmcp run redhat_mcp_server.py
# Or using pip
fastmcp run redhat_mcp_server.pyThis will start the MCP server on port 8000, allowing you to interact with your tools using any MCP client.
To install the server in Claude Desktop, add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"redhat": {
"command": "fastmcp",
"args": [
"run",
"/path/to/your/redhat-api-mcp/redhat_mcp_server.py"
],
"env": {
"RH_API_OFFLINE_TOKEN": "your_actual_offline_token_here"
}
}
}
}Search for Red Hat KCS Solutions and Articles.
search_kcs(query: str, rows: int = 50, start: int = 0) -> List[Dict]Parameters:
query (str): Search terms (supports advanced Solr syntax)rows (int, optional): Number of results to return (default: 50, max: 100)start (int, optional): Starting index for pagination (default: 0)Returns: List of solution objects with id, title, score, and view_uri
Get a Red Hat solution by its ID and extract structured content.
get_kcs(solution_id: str) -> DictParameters:
solution_id (str): The KCS solution IDReturns: Dictionary with title, environment, issue, resolution, and root_cause
Search for Red Hat support cases.
search_cases(query: str, rows: int = 10, start: int = 0) -> List[Dict]Parameters:
query (str): Search termsrows (int, optional): Number of results to return (default: 10)start (int, optional): Starting index for pagination (default: 0)Returns: List of case objects with case_number, summary, status, product, etc.
Get detailed information about a specific Red Hat support case.
get_case(case_number: str) -> DictParameters:
case_number (str): The Red Hat case number (e.g., "01234567")Returns: Detailed case information with summary, description, severity, and comments
For detailed information about using advanced Solr query expressions with the Red Hat Hydra API, see expression.md.
The server includes sophisticated prompt templates for case analysis:
You can override default API endpoints by adding these to your .env file:
# Optional: Custom API endpoints
RH_API_BASE_URL=https://access.redhat.com
RH_SSO_URL=https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/tokenThis project is licensed under the MIT License - see the LICENSE file for details.
Note: This MCP server requires a valid Red Hat account and API access. Ensure you have the appropriate permissions for the Red Hat services you intend to access.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.