Skip to main content

openSUSE Agama 26 Adds an MCP Server for AI-Driven Installations

On November 24, 2026, the Agama project announced a built-in Model Context Protocol (MCP) server for Agama 26, the next version of the openSUSE installer. Outside AI assistants can use it to plan, start and watch a Linux installation. The feature is off by default, with two access modes and several safeguards, because one mistake during an installation can erase data.

What it means

Agama is the program that puts openSUSE, a Linux operating system, onto a computer. It replaces the older openSUSE installer. Version 26 lets AI assistants, such as chatbots, talk to it.

They do this through the Model Context Protocol (MCP), a standard way for AI tools to ask a program to do specific tasks.

Picture a builder who is about to build a house. Agama is the builder. The AI assistant is a helper who can only reach the builder through a fixed order form, and who never picks up a hammer. In one mode, the helper fills in the plan, and you check it and say "start". In the other mode, the helper can give the start signal too.

The comparison has a limit. A real builder can use common sense to refuse a bad plan. Agama has no common sense. It follows fixed rules and rejects a plan that does not fit the computer.

So you could ask, in plain words, for openSUSE Tumbleweed (one edition of openSUSE) with the GNOME desktop and one user account. The assistant turns that request into settings the installer understands.

This only matters if you install openSUSE with Agama and switch the feature on yourself. It is off by default, so nobody has to do anything. The release date of Agama 26 is not yet confirmed.

Back to top

How to use it

You do not start the MCP server with a separate command, because it is part of the installer. Instead, you add an option to the kernel command line when you boot the Agama installer. The nightly installer image on the Agama download page already lets you test it.

Start with configuration mode. It is the safest choice:

inst.mcp=config

This boot option lets an AI agent read the hardware, build a configuration and calculate a proposal, while a human still starts the installation in the web interface.

Warning: Full mode lets the AI agent format disks, install the system and reboot the machine without asking you. Use it only on a test machine or in a pipeline that you fully control.

inst.mcp=full

This boot option gives the agent every tool, including the one that starts the installation.

inst.mcp=disabled

This boot option switches the server off, exactly as if you left out the inst.mcp option.

The agent also needs its own token. One way is to set it on the kernel command line:

inst.mcp.token=<SECRET>

This boot option sets the secret that the AI client must send with each request.

The other way is a file. Put the token in /run/agama/mcp-token on the machine you install, with permissions 0400.

Now point your MCP client at the installer. A client configuration in JSON looks like this:

{
  "mcpServers": {
    "agama-baremetal": {
      "url": "https://<agama-ip>/mcp",
      "headers": {
        "Authorization": "Bearer <DEDICATED_MCP_TOKEN>"
      }
    }
  }
}

This configuration tells the client where to find the Agama MCP endpoint and which token to put in the Authorization header.

Replace <agama-ip> with the address of the machine that runs the installer. After that, ask the assistant to describe the hardware or to prepare an installation. In inst.mcp=config mode, check the proposal in the Agama web interface before you start.

All of this applies to openSUSE and SUSE installations, since Agama is the installer for both. The full documentation is not finished yet. The developers point to the README in the rust/agama-mcp folder of the Agama GitHub repository as the place to begin, and they want feedback in GitHub Discussions and Issues.

Back to top

How it works

Agama is a service-based installer. It has an HTTP API, a web interface, a command-line interface and a D-Bus service that exposes parts of the YaST libraries. The MCP server sits in the rust/agama-mcp part of the repository. It is embedded in the installer and runs only when the inst.mcp kernel flag turns it on.

Endpoint and authentication

Clients connect to https://<agama-ip>/mcp over HTTP with Server-Sent Events (SSE). Each request carries the header Authorization: Bearer <MCP_TOKEN>.

The MCP token is valid on the MCP endpoint only. Send it to the regular /api/... endpoints and Agama answers with HTTP 401. That keeps the agent inside the MCP tool set.

By default, Agama uses a self-signed TLS certificate. Node.js clients, such as Gemini CLI and Claude, reject it unless NODE_TLS_REJECT_UNAUTHORIZED=0 is set. That variable turns off certificate validation, which is a security risk. Use it only in a trusted test network, and never as a general fix.

Tools and resources

The server offers these tools:

  • get_config_schema and get_system for the profile schema and the hardware data.
  • set_config and get_proposal to send a profile and read the calculated result.
  • commit_install to start the installation, and reboot to restart the machine.
  • get_progress and wait_progress to follow the installation. By default, wait_progress waits up to 60 seconds.
  • get_logs for the installer, system or zypp logs, or the log of one unit. It returns 100 lines by default and 1000 at most.
  • get_questions and answer_question for questions the installer asks during the process.

The full JSON Schema of an installation profile is available as the resource agama://schema/config.json.

The two modes

Config mode blocks commit_install and reboot: both return HTTP 403. It also rejects profiles that contain scripts.pre. The project treats pre-installation scripts as destructive, in the same class as formatting and rebooting. A human then reviews the proposal and starts the installation in the web interface.

Full mode lifts these limits. According to the Agama team, its targets are orchestration tools such as Uyuni and bare-metal pipelines that deploy machines from start to finish. Linuxiac describes the split in its own words: one mode prepares installations, the other runs unattended deployments.

Safeguards in both modes

  • Schema validation: every profile is checked against the JSON Schema. Unknown keys and wrong data types fail.
  • Proposal checks: the installer verifies the plan. Ask for more disk space than exists, for example, and you get an error.
  • A limited token: the dedicated token opens the MCP server and nothing else.
  • Diagnostic tools: the agent gets focused information instead of a flood of raw console output.
  • No shell and no raw partitioning: the agent cannot run shell commands or call low-level partition tools. The developers give the reason: language models can invent device names that do not exist.

Still unclear

  • The release date of Agama 26 is not yet confirmed. For context, Agama 24 came out on September 11, 2026, and Agama 25 on October 21, 2026.
  • The README describes the current state of the repository, so flag names may still change before the release.
Back to top

Sources

  1. The first AI-ready OS installer — Agama project blog
  2. agama-mcp README — Agama GitHub repository
  3. openSUSE's Agama 26 to Support Fully Automated AI-Driven Linux Installations — Linuxiac
  4. Agama package — software.opensuse.org
Back to top
The welovelinux penguin

The byline of welovelinux news articles. AI helps us write the first draft, and a human editor, Peter Martin, checks every article against its sources before it is published.

Frequently asked questions

The Model Context Protocol (MCP) is a way for AI assistants, like chatbots, to control the openSUSE installer. It allows the AI to plan, start, and monitor the installation process, following a specific order.

Configuration mode lets an AI agent read the computer’s hardware and build a proposal. A human still starts the installation through the web interface. This prevents the AI from making changes without human approval and checking.

Full mode allows the AI agent to format disks and install the system without asking for confirmation. This mode is only safe to use on a test machine or in a controlled environment where you fully understand the process.

The MCP server uses HTTP with Server-Sent Events (SSE) to communicate. It requires a specific token to authenticate, which is set on the kernel command line or in a file on the machine.