Red Hat Satellite manages Red Hat Enterprise Linux (RHEL) systems at scale across the cloud and on-premises. Last year, a model context protocol (MCP) server for Red Hat Satellite was released as a Technology Preview feature to enable more intelligent and automated management of Satellite and RHEL systems through your favourite large language model (LLM).

LLMs make it possible to perform highly automated and sophisticated tasks. An LLM can enable automatic, unsupervised problem solving, simulating the acts of perception, learning, and reasoning. Tools such as MCPs make it possible for LLMs to orchestrate operations on systems, using specialized domains of knowledge.

MCP enables an LLM to incorporate natural language context. Specifically, an MCP server provides specialized knowledge specific to an operating system, helping an LLM offer more relevant information about your systems.

The MCP server for Red Hat Satellite adds value by integrating Satellite-specific data with LLMs. It provides API tools that enable LLMs to query the Satellite database for information regarding the RHEL systems under its management. The combination of these three tools enables systems administrators to use natural language to perform specialized tasks to manage a RHEL environment such as identifying and troubleshooting problems with your systems.

This blog demonstrates how to set up and use the MCP server for Red Hat Satellite with Goose CLI (an LLM chat client) and Ollama (LLM model management). To try the demonstration yourself, you must have a properly installed and configured Satellite 6.18 server.

Instructions

There are three tasks you must complete to start using the MCP server for Satellite:

  1. Configure a personal access token in Satellite. The token authenticates communication between the MCP server and the Satellite server.
  2. Install and run the Satellite MCP server.
  3. Configure your chat client to use the MCP server. In this step, you use the Goose and Ollama clients to download and manage LLM models.

Configure a Foreman token in Satellite

The MCP requires authentication to the Satellite server. You must create an access token to be passed to the MCP server.

First, click My Account in the user drop-down menu in the top right of the Satellite window.

The My Account drop-down menu item.

Navigate to the Personal Access Tokens tab.

Menu tab for Personal Access Tokens.

Click the Add Personal Access Token button.

Install and run the MCP server

On a separate system (not your Satellite server), log into registry.redhat.io:

$ podman login

After reading the errata, run the MCP server as a container. The CA bundle for your Satellite must be made available on the system where you're going to run the MCP server. You can download it from your Satellite server (for example, satellite.example.com/unattended/public/foreman_raw_ca).

The MCP server communicates with the Satellite server through RESTful APIs. This communication is SSL encrypted. If you are using self-signed SSL certificates, you must import them into the system that hosts the MCP server. The --volume <Path_to_My_CA_Bundle>:/app/ca.pem:ro,Z parameter points the MCP server at a CA bundle (but remember to replace <Path_to_My_CA_Bundle> with the actual path to the CA bundle). You can override SSL certificate errors with the --no-verify-ssl parameter.

Make sure you open port 8080 or whatever port you need for the chat client to connect to the MCP server.

$ podman run --interactive --tty --publish 8080:8080 \
--volume <Path_to_My_CA_Bundle>:/app/ca.pem:ro,Z \
registry.redhat.io/satellite/foreman-mcp-server-rhel9 \
--foreman-url https://satellite618-ga.lab \
--no-verify-ssl

Configure your chat client

It's ideal to run the chat client on a fairly powerful system with a GPU, otherwise the chat client returns answers slowly and inaccurately.

Install Ollama

First, download and install Ollama:

$ curl -fsSL https://ollama.com/install.sh | sh

Pull a model

In this example, I chose the gpt-oss:120b. It's 64 GB. You may get better results with other models.

$ ollama run gpt-oss:120b

Install Goose CLI

So that you can interact with the model, download and install the Goose client:

$ curl -fsSL \
https://github.com/block/goose/releases/download/stable/download_cli.sh | bash

Run the Goose CLI configuration wizard. It creates a configuration file in ~/.config/goose/config.yaml. For more information about Goose CLI, refer to the official documentation.

Here's my config.yaml for reference:

[root@rhai-client-20251104-154842 ~]# cat .config/goose/config.yaml
extensions:
  extensionmanager:
    available_tools: []
    bundled: true
    description: Enable extension management tools for discovering, enabling, and disabling extensions
    enabled: true
    name: Extension Manager
    type: platform
  satellite6.18mcp:
    available_tools: []
    bundled: null
    description: satellite
    enabled: true
    env_keys: []
    envs: {}
    headers:
      FOREMAN_TOKEN: DS_3j-2pjaYgJHWluCrE4A
      FOREMAN_USERNAME: admin
    name: Satellite 6.18 MCP
    timeout: 300
    type: streamable_http
    uri: http://satellite618-ga.lab:8080/mcp
  todo:
    available_tools: []
    bundled: true
    description: Enable a todo list for Goose so it can keep track of what it is doing
    enabled: true
    name: todo
    type: platform
GOOSE_MODEL: gpt-oss:120b
OLLAMA_HOST: localhost
GOOSE_PROVIDER: ollama

That completes the configuration.

First step towards autonomous troubleshooting

An agentic workflow is a structured series of actions managed and completed by AI agents. When an AI agent is given a goal to complete, it begins the workflow by breaking down a task into smaller individual steps, then performs those steps.

The MCP server for Red Hat Satellite makes it possible to connect LLMs to identify and troubleshoot RHEL systems being managed by Red Hat Satellite. The MCP server provides an interface of tools that can be used by the LLM of your choice in the agentic workflow of your choice. The MCP server for Satellite enables agentic workflows to respond to information about the RHEL systems and to act on that information in a way that conforms to your business requirements.

For more information on the MCP server for Satellite, visit the official documentation.

Risorsa

Definizione della strategia aziendale per l'IA: una guida introduttiva

Leggi questa guida introduttiva per scoprire come Red Hat OpenShift AI e Red Hat Enterprise Linux AI possono accelerare il percorso di adozione dell'IA.

Sull'autore

As a Senior Principal Technical Marketing Manager in the Red Hat Enterprise Linux business unit, Matthew Yee is here to help everyone understand what our products do. He joined Red Hat in 2021 and is based in Vancouver, Canada.

UI_Icon-Red_Hat-Close-A-Black-RGB

Ricerca per canale

automation icon

Automazione

Novità sull'automazione IT di tecnologie, team e ambienti

AI icon

Intelligenza artificiale

Aggiornamenti sulle piattaforme che consentono alle aziende di eseguire carichi di lavoro IA ovunque

open hybrid cloud icon

Hybrid cloud open source

Scopri come affrontare il futuro in modo più agile grazie al cloud ibrido

security icon

Sicurezza

Le ultime novità sulle nostre soluzioni per ridurre i rischi nelle tecnologie e negli ambienti

edge icon

Edge computing

Aggiornamenti sulle piattaforme che semplificano l'operatività edge

Infrastructure icon

Infrastruttura

Le ultime novità sulla piattaforma Linux aziendale leader a livello mondiale

application development icon

Applicazioni

Approfondimenti sulle nostre soluzioni alle sfide applicative più difficili

Virtualization icon

Virtualizzazione

Il futuro della virtualizzazione negli ambienti aziendali per i carichi di lavoro on premise o nel cloud