New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

mcp-redhat-knowledge

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-redhat-knowledge

MCP server for Red Hat Knowledge Base

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

mcp-redhat-knowledge

An MCP server for the Red Hat Knowledge Base API. Lets AI assistants search solutions, articles, documentation, and errata from the Red Hat Customer Portal.

Tools

ToolDescription
searchKnowledgeBaseSearch KB for solutions and articles by keyword, with optional product and document type filters
getSolutionGet full content of a KB article by ID (environment, issue, root cause, resolution, diagnostic steps)
searchDocumentationSearch Red Hat product documentation for how-to guides and best practices
getErrataGet errata/advisory details by RHSA/RHBA/RHEA ID (CVEs, severity, affected products)

Product Name Aliases

The searchKnowledgeBase and searchDocumentation tools accept shorthand product names that are automatically resolved to the full names used by the KCS API:

AliasResolves To
OpenShift, OCPRed Hat OpenShift Container Platform
RHEL, Enterprise LinuxRed Hat Enterprise Linux
Ansible, AAPRed Hat Ansible Automation Platform
SatelliteRed Hat Satellite
IdM, IPA, FreeIPARed Hat Enterprise Linux
SSORed Hat Single Sign-On
KeycloakRed Hat build of Keycloak
QuayRed Hat Quay
ACMRed Hat Advanced Cluster Management for Kubernetes
ACSRed Hat Advanced Cluster Security for Kubernetes
Service MeshRed Hat OpenShift Service Mesh
VirtualizationRed Hat OpenShift Virtualization
OpenStackRed Hat OpenStack Platform
CephRed Hat Ceph Storage
ServerlessRed Hat OpenShift Serverless
PipelinesRed Hat OpenShift Pipelines
GitOpsRed Hat OpenShift GitOps
LoggingRed Hat OpenShift Logging

You can also pass the full product name directly if your product is not in this list.

Prerequisites

  • Node.js 18+
  • A Red Hat offline API token (generate one here)

Configuration

Set your Red Hat offline API token in your shell profile:

export REDHAT_TOKEN="your-offline-token-here"

In enterprise environments, provide REDHAT_TOKEN through your secrets management solution (e.g. HashiCorp Vault, Kubernetes secrets, or your CI platform's secret variables) rather than shell profiles.

Gemini CLI

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "redhat-knowledge": {
      "command": "npx",
      "args": ["-y", "mcp-redhat-knowledge"],
      "env": {
        "REDHAT_TOKEN": "$REDHAT_TOKEN"
      }
    }
  }
}

watsonx Orchestrate

# Add a connection for the Red Hat API token
orchestrate connections add --app-id "redhat-knowledge"
orchestrate connections configure --app-id redhat-knowledge --env draft --kind key_value --type team --url "https://access.redhat.com"
orchestrate connections set-credentials --app-id "redhat-knowledge" --env draft -e REDHAT_TOKEN=your-offline-token-here

# Import the MCP toolkit
orchestrate toolkits import --kind mcp \
  --name redhat-knowledge \
  --description "Red Hat Knowledge Base" \
  --command "npx -y mcp-redhat-knowledge" \
  --tools "*" \
  --app-id redhat-knowledge

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "redhat-knowledge": {
      "command": "npx",
      "args": ["-y", "mcp-redhat-knowledge"],
      "env": {
        "REDHAT_TOKEN": "${REDHAT_TOKEN}"
      }
    }
  }
}

VS Code / Cursor

Add to .vscode/mcp.json in your workspace:

{
  "mcpServers": {
    "redhat-knowledge": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-redhat-knowledge"],
      "env": {
        "REDHAT_TOKEN": "${REDHAT_TOKEN}"
      }
    }
  }
}

Authentication

The server exchanges your Red Hat offline API token for a short-lived bearer token via Red Hat SSO. Tokens are cached and refreshed automatically. The getErrata tool uses the public Security Data API and does not require authentication.

License

MIT

Keywords

mcp

FAQs

Package last updated on 06 May 2026

Related posts