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

mcp-redhat-subscription

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-subscription

MCP server for Red Hat Subscription Management API

latest
Source
npmnpm
Version
2.1.0
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

mcp-redhat-subscription

An MCP server for the Red Hat Subscription Management API. Full coverage of the RHSM API — subscriptions, systems, allocations, errata, packages, images, cloud access, and organization.

Tools

Subscriptions

ToolDescription
listSubscriptionsList Red Hat subscriptions for the authenticated account
getSubscriptionGet details of a specific subscription including pools and consumed quantities
listSubscriptionContentSetsList all content sets for a subscription
listSubscriptionSystemsList all systems consuming a subscription

Systems

ToolDescription
listSystemsList systems registered with Red Hat Subscription Management
getSystemGet details of a specific registered system
removeSystemRemove a system profile
attachSystemEntitlementAttach an entitlement to a system from a pool
removeSystemEntitlementRemove an entitlement from a system
listSystemErrataList all applicable errata for a system
listSystemPackagesList all packages for a system
listSystemPoolsList all pools for a system

Allocations (Satellite Manifests)

ToolDescription
listAllocationsList subscription allocations
getAllocationGet details of a specific allocation
createAllocationCreate a new Satellite allocation
updateAllocationUpdate an allocation (name, version, SCA)
removeAllocationRemove an allocation (requires force)
listAllocationVersionsList available Satellite versions
listAllocationPoolsList all pools for an allocation
attachAllocationEntitlementAttach an entitlement to an allocation
updateAllocationEntitlementUpdate entitlement quantity on an allocation
removeAllocationEntitlementRemove an entitlement from an allocation
exportAllocationTrigger manifest export
getExportJobStatusCheck export job status
downloadAllocationExportDownload a completed manifest export

Errata

ToolDescription
listErrataList all errata applicable to the user's systems
listErrataByContentSetArchList errata for a content set and architecture
getErratumGet details of a specific advisory
listErratumImagesList updated container images for an advisory
listErratumPackagesList all packages for an advisory
listErratumSystemsList all systems affected by an advisory

Images

ToolDescription
listImagesByContentSetList available images in a content set
listImageDownloadsList RHEL image downloads by version and architecture
downloadImageDownload an image by SHA256 checksum

Packages

ToolDescription
listPackagesByContentSetArchList packages for a content set and architecture
getPackageGet details of a package by checksum
downloadPackageDownload a package by SHA256 checksum

Cloud Access

ToolDescription
listCloudAccessProvidersList enabled cloud access providers
addCloudProviderAccountsAdd provider accounts (AWS, Azure, GCE)
updateCloudProviderAccountUpdate a provider account
removeCloudProviderAccountRemove a provider account
removeCloudProviderAccountBySourceIdRemove a provider account by source ID
verifyCloudProviderAccountVerify a provider account
enableGoldImagesEnable Gold image access for a provider

Organization

ToolDescription
getOrganizationGet organization details including SCA capability

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-subscription": {
      "command": "npx",
      "args": ["-y", "mcp-redhat-subscription"],
      "env": {
        "REDHAT_TOKEN": "$REDHAT_TOKEN"
      }
    }
  }
}

watsonx Orchestrate

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

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

Claude Code

Add to ~/.claude/settings.json:

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

VS Code / Cursor

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

{
  "mcpServers": {
    "redhat-subscription": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-redhat-subscription"],
      "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.

License

MIT

Keywords

mcp

FAQs

Package last updated on 06 May 2026

Related posts