Back to Home
RedHatInsights icon

insights-mcp

Verified Safe

by RedHatInsights

Overview

The server acts as a unified Model Context Protocol (MCP) interface for Red Hat Insights services, enabling AI agents to interact with Advisor, Image Builder, Inventory, Planning, Remediations, and Vulnerability APIs.

Installation

Run Command
podman run --env INSIGHTS_CLIENT_ID=<YOUR_CLIENT_ID> --env INSIGHTS_CLIENT_SECRET=<YOUR_CLIENT_SECRET> --interactive --rm ghcr.io/redhatinsights/insights-mcp:latest

Environment Variables

  • INSIGHTS_CLIENT_ID
  • INSIGHTS_CLIENT_SECRET
  • INSIGHTS_BASE_URL
  • INSIGHTS_TOKEN_ENDPOINT
  • INSIGHTS_REFRESH_TOKEN
  • INSIGHTS_PROXY_URL
  • OAUTH_ENABLED
  • INSIGHTS_TOOLSET
  • CONTAINER_BRAND
  • OAUTH_CLIENT

Security Notes

The codebase generally follows good security practices, including obtaining credentials via environment variables. However, `jwt.decode` is used without signature verification (`options={'verify_signature': False}`) when extracting claims like `rh-org-id` or `rh-user-id` from access tokens. This is noted as being 'for reading claims, not validating' in the code. While potentially acceptable if actual authorization decisions are made by downstream Red Hat APIs, it means the MCP server itself does not verify the integrity of the token claims it reads, which is a noteworthy point for a security audit.

Similar Servers

Stats

Interest Score40
Security Score8
Cost ClassMedium
Avg Tokens2500
Stars16
Forks22
Last Update2025-12-15

Tags

Red Hat InsightsCloud ManagementCoding AgentsAPI OrchestrationVulnerability Management