Insights Mcp
Model Context Protocol server for Red Hat Lightspeed - advisor, image builder, inventory, and more
(formerly known as Insights MCP)
Red Hat Lightspeed Model Context Protocol (MCP) server is a lightweight, self-hosted solution that connects LLM-based agents - such as Claude Desktop and other MCP-compatible tools - to Red Hat Lightspeed services.
Features
- Supports read-only operations: The server runs in read-only mode by default. Use
--all-toolsto enable write tools (e.g. create blueprints, run composes). RBAC permissions can also restrict access. - Provides natural language prompts: provides an ability to use natural language for querying Red Hat Lightspeed services
Supported Lightspeed Services
- Advisor
- Content sources (repositories)
- Hosted image builder
- Inventory
- OCP advisor
- Planning
- Remediations
- RHSM (activation keys)
- Vulnerability
Setup and usage
Authentication
Note: Authentication is only required for accessing Red Hat Lightspeed APIs. The MCP server itself does not require authentication.
There are two ways to authenticate:
- Service Account (client_id + client_secret) — create a service account and provide the credentials via environment variables or HTTP headers.
- JWT Bearer Token — provide a pre-existing JWT token via the
Authorization: Bearer <token>HTTP header (SSE/HTTP transports only).
Service Account Setup
- Go to https://console.redhat.com → Click Settings (⚙️ Gear Icon) → "Service Accounts"
- Create a service account and remember
Client IDandClient secretfor later.
See below in the integration instructions, there they are respectively referred to asLIGHTSPEED_CLIENT_IDandLIGHTSPEED_CLIENT_SECRET.
Required Permissions by Toolset
Different toolsets require specific roles for your service account:
- Advisor tools:
RHEL Advisor viewer,Inventory Hosts viewer - OCP Advisor tools:
OCP Advisor administrator - Inventory tools:
Inventory Hosts viewer,Workspace viewer - Vulnerability tools:
Vulnerability viewer,Inventory Hosts viewer - Remediation tools:
Remediations user - Image Builder tools:
Repositories viewer - RHSM tools:
RHC user - Content Sources tools:
Repositories viewer - Planning tools:
Inventory Hosts viewer
These names are Hybrid Cloud Console User Access display names. Do not copy role detail URLs between accounts; they contain tenant-specific identifiers. The consolidated RHEL viewer role can substitute for several of the viewer roles above.
Granting Permissions to Service Accounts
From the project's README.