Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Manage RHEL inventory using natural language

January 7, 2026
Samiksha Saxena
Related topics:
APIsArtificial intelligenceAutomation and managementIntegration
Related products:
Red Hat Lightspeed

    Red Hat Lightspeed is transforming how IT professionals interact with complex operational data. By integrating with the Red Hat Lightspeed (formerly known as Red Hat Insights) and Model Context Protocol (MCP), you can simplify inventory management using simple, human-readable language.

    This article shares practical examples of how you can perform inventory-related operations using Red Hat Lightspeed and MCP. The core benefit is its ability to turn natural-language prompts into structured inventory API requests. Instead of crafting filters or writing custom scripts, you can simply ask questions and let the AI build and execute the query for you.

    Using natural language for inventory querying

    Before you begin, ensure your Red Hat Lightspeed and MCP service is correctly set up and running. Refer to the Red Hat documentation for the necessary prerequisites and installation instructions.

    The most immediate benefit of Red Hat Lightspeed and MCP is its power to transform complex API queries and data filtering into simple, natural language prompts. The agent utilizes the underlying inventory API tools to fulfill your request.

    Behind the scenes, the agent converts your query into a structured API request, retrieves the JSON data from Red Hat Lightspeed inventory, and then uses a large language model (LLM) to summarize and format the result into a readable, conversational response. The allows you to explore your fleet without needing to switch contexts, click through dashboards, or write API queries.

    Functionality and corresponding sample natural language prompts:

    • Simple filtering: "How many RHEL 9 systems do I have tagged with 'finance'?"
    • Complex filtering: "Show me all hosts in the 'Dev' environment running kernel version 4.18.0 that are not currently checked into Satellite."
    • Data retrieval: "List the FQDN and last seen date for the 10 oldest RHEL 8 hosts."
    • Summary and aggregation: "What is the distribution of my hosts by operating system version?"

    Streamlining inventory housekeeping and auditing

    Maintaining an accurate, up-to-date inventory is essential for effective IT operations, compliance, and lifecycle management. Traditional data-quality checks—finding stale systems, missing metadata, or duplicate entries—are often time-consuming when done manually.

    Red Hat Lightspeed and MCP drastically improves this process by leveraging the LLM's power to proactively audit your inventory data. It quickly surfaces inconsistencies, missing tags, or stale system records, ensuring better configuration management database (CMDB) hygiene.

    Housekeeping task and sample prompt to the MCP:

    • Find missing data: "Find all inventory hosts missing the 'Cost Center' or 'Owner' tags."
    • Identify stale systems: "List all systems that haven't reported data to Red Hat Lightspeed in the last 60 days, excluding those tagged as 'decommissioned'."
    • Audit compliance: "Identify all production systems that are not currently running the latest minor RHEL version for their major release."
    • Detect potential duplicates: "Show me all hosts that share the same IP address but have different FQDNs, to check for potential duplicates."

    By automating these data quality checks, Red Hat Lightspeed and MCP ensures your inventory remains accurate and reliable, a critical requirement for security and compliance reporting. Rather than manually running reports or exporting data, the MCP queries the inventory, flags issues, and summarizes next steps, making CMDB accuracy easier than ever.

    Innovative multi-agent orchestration

    The true power of Red Hat Lightspeed and MCP lies in its ability to chain together information from different Red Hat Lightspeed services (i.e., inventory, advisor, and vulnerability) to perform multi-step analysis—a process called multi-agent orchestration. This can be accomplished by either enhancing your own code base via using Llama stack or by the use of an AI tool like Langflow.

    These innovative prompts require the MCP to use its inventory tool first, and then potentially call a second tool (e.g., Advisor or Vulnerability API) to analyze the returned host list. Few examples of innovative prompts could be:

    Multi-agent tasks and corresponding sample prompt to the MCP:

    • Proactive remediation planning: "I need to plan my next patch window. Show me all RHEL 8 servers in the 'Staging' environment with at least one high-severity vulnerability, and then summarize the suggested remediation playbook for those systems." (MCP identifies hosts via Inventory, then uses the vulnerability tool to find and summarize the required playbook.)
    • Migration readiness analysis: "Analyze the inventory and identify all systems running an OS version that will reach end-of-life (EOL) within the next nine months that are not yet tagged with a 'Migration_Target' label. Group them by their current Business Unit tag." (MCP queries inventory, compares versions/dates against internal knowledge, and generates a structured report.)
    • Cross-platform health check: "What is the current system health status (from advisor recommendations) for the top five largest hosts in the 'Critical' group, ranked by their memory size?" (MCP sorts hosts by a resource metric using the inventory tool, retrieves the top five, then queries the advisor tool for their specific health status.)

    Join us and share your feedback

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

    This release offers early access to powerful MCP-driven workflows with Red Hat Lightspeed. We strongly encourage your feedback—including bug reports, requests for additional toolsets, and enhancement ideas—through the Red Hat Issue Router (select MCP) and by contributing to our GitHub repository. Your input will directly refine and shape the future of Red Hat Lightspeed and MCP.

    Last updated: February 26, 2026

    Related Posts

    • Integrate a custom AI service with Red Hat Ansible Lightspeed

    • Disconnected experiences for Red Hat Lightspeed are now available in Red Hat Satellite 6.18

    • How to set up an MCP server for Red Hat Lightspeed

    • How Red Hat Lightspeed events enhance system life cycle management

    Recent Posts

    • Federated identity across the hybrid cloud using zero trust workload identity manager

    • Confidential virtual machine storage attack scenarios

    • Introducing virtualization platform autopilot

    • Integrate zero trust workload identity manager with Red Hat OpenShift GitOps

    • Best Practice Configuration and Tuning for Linux and Windows VMs

    What’s up next?

    Learning Path Get started with Red Hat OpenShift Lightspeed share image

    Get started with Red Hat OpenShift Lightspeed

    This learning exercise explains the requirements for Red Hat OpenShift...
    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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

    Chat Support

    Please log in with your Red Hat account to access chat support.