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

mcp-redhat-account

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

MCP server for Red Hat Account Management API

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
9
350%
Maintainers
1
Weekly downloads
 
Created
Source

mcp-redhat-account

An MCP server for the Red Hat Account Management API. Lets AI assistants query account info, manage users, roles, and permissions.

Tools

ToolDescription
listAccountsList account details for the current user's Red Hat accounts
getCurrentUserGet personal information of the currently authenticated user
listUsersList all users under an account (Org Admin only)
getUserDetailsGet details of a specific user
createUserCreate a new user under an account (Org Admin only)
updateUserUpdate a user's details (email, roles, permissions, address, etc.)
getUserStatusGet the current status of a user
updateUserStatusEnable or disable a user (Org Admin only)
getUserRolesGet all roles assigned to a user
assignUserRoleAssign a role to a user (Org Admin only)
removeUserRoleRemove a role from a user (Org Admin only)
inviteUsersInvite new users to join an account by email (Org Admin only)

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

watsonx Orchestrate

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

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

Claude Code

Add to ~/.claude/settings.json:

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

VS Code / Cursor

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

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