An MCP server to connect Red Hat Lightspeed functionality to an AI / LLM
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Clear description
claude mcp add insights-mcp -- uvx insights-mcp{
"mcpServers": {
"insights-mcp": {
"command": "uvx",
"args": ["insights-mcp"]
}
}
}MCP Servers overview
# Red Hat Lightspeed MCP
_(formerly known as Insights MCP)_
Red Hat Lightspeed Model Context Protocol ([MCP](https://modelcontextprotocol.io)) 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-tools` to 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](https://docs.redhat.com/en/documentation/red_hat_insights/1-latest/html/assessing_rhel_configuration_issues_using_the_red_hat_insights_advisor_service/index)
* [hosted image builder](https://osbuild.org/docs/hosted/architecture/)
* [inventory](https://docs.redhat.com/en/documentation/red_hat_insights/1-latest/html/viewing_and_managing_system_inventory/index)
* [planning](https://docs.redhat.com/en/documentation/red_hat_lightspeed/1-latest/html/dynamically_creating_a_digital_roadmap_to_manage_rhel_systems/index)
* [remediations](https://docs.redhat.com/en/documentation/red_hat_insights/1-latest/html/red_hat_insights_remediations_guide/index)
* [vulnerability](https://docs.redhat.com/en/documentation/red_hat_insights/1-latest/html/assessing_and_monitoring_security_vulnerabilities_on_rhel_systems/index)
## 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:
1. **Service Account** (client_id + client_secret) — create a service account and provide the credentials via environment variables or HTTP headers.
2. **JWT Bearer Token** — provide a pre-existing JWT token via the `Authorization: Bearer <token>` HTTP header (SSE/HTTP transports only).
#### Service Account Setup
1. Go to https://console.redhat.com → Click Settings (⚙️ Gear Icon) → "Service Accounts"
2. Create a service account and remember `Client ID` and `Client secret` for later.<br>
See below in the integration instructions, there they are respectively referred to as
`LIGHTSPEED_CLIENT_ID` and `LIGHTSPEED_CLIENT_SECRET`.
#### Required Permissions by Toolset
Different toolsets require specific roles for your service account:
- **Advisor tools**: `RHEL Advisor viewer`
- **Inventory tools**: `Inventory Hosts viewer`
- **Vulnerability tools**: `Vulnerability viewer`, `Inventory Hosts viewer`
- **Remediation tools**: `Remediations user`
#### Granting Permissions to Service Accounts
By default, service accounts have no access. An organization administrator must assign permissions. The MCP server will only be able to perform tasks that it has permission to perform. For example, if the user wants to allow read-only operations and deny write operations, this can be accomplished via the permissions system.
For detailed step-by-step instructions, see this video tutorial: [Service Account Permissions Setup](https://www.youtube.com/watch?v=UvNcmJsbg1w)
1. **Log in as Organization Administrator** with User Access administrator role
2. **Navigate to User Access Settings**: Click Settings (⚙️ Gear Icon) → "User Access" → "Groups"
3. **Assign permissions** (choose one option):
**Option A - Create New Group:**
- Create new group (e.g., `mcp-service-accounts`)
- Add required roles (e.g., RHEL Advisor viewer, Inventory Hosts viewer, etc.)
- Add your service account to this group
**Option B - Use Existing Group:**
- Open existing group with necessary roles
- Go to "Service accounts" tab
- Add your service account to the group
Your service account will inherit all roles from the assigned group.
#### ⚠️ Security Remarks ⚠️
If you start this MCP server locally (with `podman` or `docker`) make sure the container is not exposed to the internet. In this scenario it's probably fine to use `LIGHTSPEED_CLIENT_ID` and `LIGHTSPEED_CLIENT_SECRET` although your MCP Client (e.g. VSCode, Cursor, etc.) can get your `LIGHTSPEED_CLIENT_ID` and `LIGHTSPEED_CLIENT_SECRET`.
For a deployment where you connect to this MCP server from a different machine, you should consider that `LIGHTSPEED_CLIENT_ID` and `LIGHTSPEED_CLIENT_SECRET` (or your JWT Bearer token) are transferred to the MCP server and you are trusting the remote MCP server not to leak them.
In both cases if you are in doubt, please disable/remove the `LIGHTSPEED_CLIENT_ID` and `LIGHTSPEED_CLIENT_SECRET` from your account after you are done using the MCP server.
#### Security & Incident Response (Emergency Revocation)
To ensure safe AI operations and compliance with security standards, operators must be able to rapidly sever the connected LLM's access to Red Hat Lightspeed in the event of abnormal AI behavior, unexpected data exposure, or suspected token compromise.
**Emergency "Kill Switch" Procedure:**
If you need to immediately revoke AI access to the toolsets, execute the following steps:
1. **Terminate the Server:** Stop the MCP container or local process immediately (e.g., run `podman ps` to find the container, then `podman stop <container_id>`).
2. **Revoke Credentials:** Invalidate the Red Hat Client ID used by the MCP server to authenticate with Red Hat services. Go to the "[Service Accounts](https://console.redhat.com/iam/service-accounts)" page and `Delete` or `Reset` the credentials.
Additionally you can remove the MCP server entry (e.g., `lightspeed-mcp` in your client's `mcp.json`) from your local LLM client's configuration to prevent the client from attempting to restart or reconnect to the server.
If credential compromise or data exposure is suspected, assess breach notification obligations under applicable law (e.g., GDPR). For logging, debug mode, and compliance details, see [HACKING.md - Logging and Compliance](HACKING.md#logging-and-compliance).
## Technical Info
### Toolsets
See [toolsets.md](toolsets.md) for the toolsets available in the MCP server.
## Integrations
### Prerequisites
Make sure you have `podman` installed.<br>
(Docker is fine too but the commands below have to be adapted accordingly)
You can install it with `sudo dnf install podman` on Fedora/RHEL/CentOS,
or on macOS follow the instructions of [Podman Desktop](https://podman-desktop.io/) or [Podman](https://podman.io/getting-started/installation).
⚠️ **Note** if you use Podman on macOS, you sometimes need to set the path to `podman` explicitly.
E.g. replace `podman` with the full path. Should be something like
* `/usr/local/bin/podman`
* `/opt/homebrew/bin/podman`
* …
You can find the path by running `which podman` in your terminal.
### Goose Desktop
First check the [prerequisites](#prerequisites) section.
#### Option 1: One-click installation (easiest)
[](https://goose-docs.ai/extension?cmd=docker&arg=run&arg=--env&arg=LIGHTSPEED_CLIENT_ID&arg=--env&arg=LIGHTSPEED_CLIENT_SECRET&arg=--interactive&arg=--rm&arg=quay.io%2Fredhat-services-prod%2Finsights-management-tenant%2Finsights-mcp%2Fred-hat-lightspeed-mcp%3Alatest&id=red-hat-lightspeed-mcp&name=Red%20Hat%20Lightspeed%20MCP&description=Red%20Hat%20Lightspeed%20MCP%20server%20integration&env=LIGHTSPEED_CLIENT_ID%3DRed%20Hat%20Lightspeed%20Client%20ID&env=LIGHTSPEED_CLIENT_SECRET%3DRed%20Hat%20Lightspeed%20Client%20Secret)
The badge uses an HTTPS redirect (`goose-docs.ai/extension?...`) that opens Goose Desktop's extension install flow.
(Note: this uses the `quay.io` container image and `docker` as the command — Goose deeplinks only support `docker`, not `podman`. Use the manual install below if you rely on Podman.)
After clicking, Goose prompts for `LIGHTSPEED_CLIENT_ID` and `LIGHTSPEED_CLIENT_SECRET`, then installs the extension. Start a new chat session to use it.
#### Option 2: Manual STDIO installation
1. Click the button in the **top-left** to open the sidebar.
2. Click the **`Extensions`** button on the sidebar.
3. Under **`Extensions`**, click **`Add custom extension`**.
4. On the **`Add custom extension`** modal, enter:
- **Type**: `Standard IO`
- **ID**: `red-hat-lightspeed-mcp`
- **Name**: `Red Hat Lightspeed MCP`
- **Description**: `Red Hat Lightspeed MCP server integration`
- **Command**: `podman run --env LIGHTSPEED_CLIENT_ID --env LIGHTSPEED_CLIENT_SECRET --interactive --rm ghcr.io/redhatinsights/red-hat-lightspeed-mcp:latest`
- **Environment variables**: click **`Add`** for each:
- `LIGHTSPEED_CLIENT_ID` — Red Hat Lightspeed Client ID
- `LIGHTSPEED_CLIENT_SECRET` — Red Hat Lightspeed Client Secret
- **Timeout**: leave default (300s) unless needed
5. Click **`Add`**.
Docker users can replace `podman` with `docker` in the command. On macOS, if Goose cannot find `podman`, use the full path from `which podman` (see [prerequisites](#prerequisites)).
### Cursor
First check the [prerequisites](#prerequisites) section.
#### Option 1: One-click installation (easiest)
⚠️ Use **`Ctrl`/`Cmd`-click** to open in a **new tab**.<br>
Otherwise the tab will close after installation and you won't see the documentation anymore.<br>
[](https://cursor.com/en/install-mcp?name=red-hat-lightspeed-mcp&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoicG9kbWFuIHJ1biAtLWVudiBMSUdIVFNQRUVEX0NMSUVOVF9JRCAtLWVudiBMSUdIVFNQRUVEX0NMSUVOVF9TRUNSRVQgLS1pbnRlcmFjdGl2ZSAtLXJtIHF1YXkuaW8vcmVkaGF0LXNlcnZpY2VzLXByb2QvaW5zaWdodHMtbWFuYWdlbWVudC10ZW5hbnQvaW5zaWdodHMtbWNwL3JlZC1oYXQtbGlnaHRzcGVlZC1tY3A6bGF0ZXN0IiwiZW52Ijp7IkxJR0hUU1BFRURfQ0xJRU5UX0lEIjoiIiwiTElHSFRTUEVFRF9DTElFTlRfU0VDUkVUIjoiIn19)<br>
(Note: this uses the `quay.io` container image)
#### Option 2: Manual STDIO installation
Cursor doesn't seem to support `inputs` What people ask about insights-mcp
What is RedHatInsights/insights-mcp?
+
RedHatInsights/insights-mcp is mcp servers for the Claude AI ecosystem. An MCP server to connect Red Hat Lightspeed functionality to an AI / LLM It has 22 GitHub stars and was last updated 2d ago.
How do I install insights-mcp?
+
You can install insights-mcp by cloning the repository (https://github.com/RedHatInsights/insights-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is RedHatInsights/insights-mcp safe to use?
+
Our security agent has analyzed RedHatInsights/insights-mcp and assigned a Trust Score of 79/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains RedHatInsights/insights-mcp?
+
RedHatInsights/insights-mcp is maintained by RedHatInsights. The last recorded GitHub activity is from 2d ago, with 10 open issues.
Are there alternatives to insights-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy insights-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/redhatinsights-insights-mcp)<a href="https://claudewave.com/repo/redhatinsights-insights-mcp"><img src="https://claudewave.com/api/badge/redhatinsights-insights-mcp" alt="Featured on ClaudeWave: RedHatInsights/insights-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!