Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Using AI agents with Red Hat Insights

October 13, 2025
Sean O'Keeffe
Related topics:
Artificial intelligence
Related products:
Red Hat Insights

Share:

    Built and maintained by Red Hat, insights-mcp enables seamless interaction with core Red Hat Insights capabilities, including advisor, image builder, inventory, remediations, and vulnerability, through the standardized Model Context Protocol (MCP) interface. It's now available in developer preview, allowing you to explore and integrate powerful Red Hat Insights services with large language models (LLM) through an MCP server.

    What is insights-mcp?

    As a lightweight, self-hosted MCP server, insights-mcp exposes several Red Hat Insights services, which enables you to connect LLM-based agents (such as those in Claude Desktop or other MCP-compatible tools) to integrate with existing read-only workflows without introducing additional risk with autonomous AI decision-making.

    Get started with insights-mcp

    Here’s how you can start experimenting with insights-mcp right now.

    Set up a service account

    1. Using an Admin account, log in to console.redhat.com and click your user icon in the top right. Select My User Access.
    2. On the My User Access page, click Service Accounts in the left column to create a service account. Copy and save your client ID and client secret when prompted.
    3. Navigate to User Access Settings and select the gear icon in the top right. Select User Access, and then Groups.
    4. Create a new group called, for instance, mcp-service-accounts.
    5. Add required roles (for example, RHEL Advisor viewer, Inventory Hosts viewer, and so on).
    6. Add your service account to this group.

    Set up VS Code

    First, install VS Code. It's open source and available for Linux, Mac, and Windows. After VS Code is installed on your workstation, navigate to the README file of the insights-mcp GitHub repository and click the VS Code Install Insights MCP button. During installation, enter your client ID and client secret when prompted.

    At the time of writing, insights-mcp has been tested with VS Code, Cursor, and Claude Desktop. Detailed instructions for setting up other MCP clients are provided in the README.

    Start by asking the LLM you just attached to the MCP server what it can do:

    Please explain insights-mcp and what I can do with it?

    Example use cases: What can you do with insights-mcp?

    Here are some ways insights-mcp can enhance your workflows:

    Use insights-mcp as a daily security assistant

    To receive data from Red Hat Insights about vulnerability and actionable remediations, use a prompt like:

    List the top current vulnerabilities across my managed systems and suggest applicable remediations.

    The example output is shown in Figure 1.

    A list of CVE alerts.
    Figure 1: A list of CVE alerts.

    Use insights-mcp for automated image creation

    Prompt Red Hat Insights image builder to generate an optimized, up-to-date RHEL image:

    Generate a system image with the latest security patches and recommended packages.

    Use insights-mcp for inventory reconciliation

    By combining Red Hat Insights inventory and advisor, you can get a prioritized overview of your systems:

    Provide the list of active hosts and prioritize based on their advisory status.

    The example output is shown in Figure 2.

    An overview of systems, sorted by priority.
    Figure 2: An overview of systems, sorted by priority.

    Use insights-mcp for compliance monitoring

    Use inventory, vulnerability, and advisor to track and prioritize compliance gaps:

    Which systems are missing critical remediations or are overdue for updates?

    Use insights-mcp as an incident response assistant

    Get a report about systems requiring attention:

    My production environment has systems failing health checks. Show vulnerabilities and suggest fixes.

    Join us and share your feedback

    Now is a great time to test, experiment, and provide feedback when you connect existing Red Hat Insights with your LLMs. Whether you're exploring automation, enhancing incident processes, or building intelligent dashboards, this preview places powerful Red Hat Insights capabilities at your LLM-driven fingertips.

    This release offers early access to powerful MCP-driven workflows with Red Hat Insights. We encourage feedback in the form of bug reports, or requests for additional toolsets, or enhancement ideas. Your contributions to our GitHub repository help refine and shape the future of insights-mcp.

    Related Posts

    • How to register IdM deployment with RHEL domain join

    • Leverage Red Hat Satellite for Insights reporting and automation

    • Convert CentOS Linux to RHEL using Red Hat Insights

    • Instance enrollment workflow for domain join in RHEL

    • Satellite webhook and Insights automation for efficient RHEL operations

    • Simplify access management for Red Hat Insights for Red Hat Enterprise Linux with new system roles

    Recent Posts

    • Protecting virtual machines from storage and secondary network node failures

    • How to use OCI for GitOps in OpenShift

    • Using AI agents with Red Hat Insights

    • Splitting OpenShift machine config pool without node reboots

    • Node.js 20+ memory management in containers

    What’s up next?

    Use Red Hat Insights APIs to obtain system details and findings, as well as to interact with specific Insights applications.

    Get the cheat sheet
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue