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
    • See 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 Red Hat 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
    • See all technologies
    • Programming languages & frameworks

      • Java
      • Python
      • JavaScript
    • System design & architecture

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

      • Productivity
      • Tools
      • GitOps
    • Automated data processing

      • AI/ML
      • Data science
      • Apache Kafka on Kubernetes
    • Platform engineering

      • DevOps
      • DevSecOps
      • Red Hat Ansible Automation Platform 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
    • See all learning resources

    E-books

    • GitOps cookbook
    • Podman in action
    • Kubernetes operators
    • The path to GitOps
    • See all e-books

    Cheat sheets

    • Linux commands
    • Bash commands
    • Git
    • systemd commands
    • See 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 the 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

Manage AI-powered inventory with Red Hat Lightspeed MCP

January 7, 2026
Samiksha Saxea
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.

    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 Red Hat Lightspeed Model Context Protocol

    • How Red Hat Lightspeed events enhance system life cycle management

    Recent Posts

    • Gain visibility into Red Hat Quay with Splunk

    • Our top articles for developers in 2025

    • Manage AI-powered inventory with Red Hat Lightspeed MCP

    • The state of open source AI models in 2025

    • TEE-backed zero trust: Integrating SPIRE with confidential containers

    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
    © 2025 Red Hat

    Red Hat legal and privacy links

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

    Report a website issue