With the Agama MCP server, an AI agent like Claude Code can prepare an openSUSE install from one plain sentence. The installer checks every field of the agent’s profile before anything touches a disk. You decide at boot whether the agent may also start the install, or only build the plan for you to approve.
You’ll boot the installer with inst.mcp, connect Claude Code with a Bearer token and let the agent build a GNOME desktop in config mode. Then you’ll repeat it in full mode up to a booted Tumbleweed desktop, with every 403, 401 and wrong guess shown on the way. The MCP server is due in Agama 26, which is not out yet, so I went through every step on the Agama nightly Build9.19 ISO (labelled 25.0.0) in November 2026, and your release may still change the tools you see. Agent turns ran on Claude through a JSON-RPC wrapper, not an interactive Claude Code session.
Pick a mode: config or full
The Agama MCP server is off unless you add inst.mcp to the kernel command line, and the value you pick sets how far the agent can go. In config mode it can read hardware, fetch the profile schema, write a profile and compute the proposal, but commit_install and reboot come back as 403 and a profile with pre-install scripts is rejected. Full mode removes those limits, so the agent can wipe the disk and reboot on its own.
| Kernel argument | What the agent can do | Who starts the install |
|---|---|---|
(omitted) or inst.mcp=disabled | Nothing, /mcp isn’t served | You, in the web UI |
inst.mcp=config | Read hardware and schema, set the profile, read the proposal, logs and progress | You, by clicking Install now |
inst.mcp=full | All of the above plus commit_install and reboot (the README also lists scripts.pre; not tested here) | The agent |
Pick config mode for any machine you’re sitting next to, because the worst the agent can do there is write a bad plan that you’ll see before you click. Full mode only makes sense on a throwaway VM or a provisioning pipeline where wiping the target disk is the whole point. The Agama team’s announcement frames it the same way: config mode keeps a human in the loop, full mode trusts the orchestrator. If you haven’t used Agama’s web installer before, the getting started guide for the new openSUSE installer walks through the same screens by hand.
Start the Agama nightly with inst.mcp
You need the development ISO, because the stable Agama images don’t carry the MCP server yet. The Devel project publishes a fixed name that always points at the newest x86_64 build, plus a checksum file next to it:
curl -LO https://download.opensuse.org/repositories/systemsmanagement:/Agama:/Devel/images/iso/agama-installer.x86_64-openSUSE.iso
curl -LO https://download.opensuse.org/repositories/systemsmanagement:/Agama:/Devel/images/iso/agama-installer.x86_64-openSUSE.iso.sha256
sha256sum -c agama-installer.x86_64-openSUSE.iso.sha256
The build used here was agama-installer.x86_64-25.0.0-openSUSE-Build9.19.iso, 877 MiB, with SHA256 48d21be0227e86d47287d009d3bae871e28196832988f1b2748a16fe9221bbb3. A newer build will have a different checksum, and that’s normal for a nightly, as long as sha256sum -c prints OK against its own file. The test VM had 6 GiB of RAM and a 30 GiB virtio disk, running under KVM, and the GNOME install needed 5.38 GiB of that disk.
Create the token on your workstation first, because the same value goes on the boot line and into Claude Code. Set both values once so every later command works as written, with your installer’s IP in place of the example:
export AGAMA_IP=10.0.1.50
export AGAMA_TOKEN=$(openssl rand -hex 8)
echo "${AGAMA_TOKEN}"
Boot the ISO, and when the GRUB menu shows Install openSUSE (x86_64), press e instead of Enter. Go to the end of the line that starts with linux, add the three arguments below with your own token and root password, then press Ctrl+x to boot. The live.password argument is optional, but it gives the web UI a root password you know, which you’ll need for the human half of config mode:
inst.mcp=config inst.mcp.token=3f9c1e7a5b2d48c6 live.password=Lab-R00t-pass
In my lab the VM booted the ISO’s kernel and initrd directly with the same arguments, which is exactly what the GRUB edit produces. Once the live system is up, the console prints the installer URL and the SHA256 fingerprint of its self-signed certificate. Note that fingerprint, because you’ll want it in the TLS step. On the installer’s console, confirm the arguments arrived and Agama wrote the token file:

You’ll find the token file at /run/agama/mcp-token. It is root-only (0400), and it holds the value you passed on the boot line. If you leave inst.mcp.token out, Agama generates a token and you read it from that file instead. The part that trips people up is that /proc/cmdline is readable by every local user, so a token on the boot line isn’t secret from anyone with a shell on the live system. On a single-user installer that’s fine, but it’s one more reason the token should be throwaway.
Check the MCP endpoint with curl
Before you bring Claude Code in, check the endpoint with curl, because a failed MCP client only says “failed to connect” while curl tells you whether it’s the token, the transport or TLS. The terminal images in this guide are rendered from the lab’s captured output, with the IP address, prompt and token swapped for the example values. Send three requests: one with no token, one GET with the token, and a proper MCP initialize call:

Each reply tells you one thing, so check them in order:
- You get a 401 naming the Bearer token without a token, so the server is up.
- You get
405 Method Not Allowedwithallow: POSTon the GET. - You see
agama-mcp0.1.0 and protocol 2025-06-18 in theinitializereply.
The 405 is the one that matters most. It means this build speaks MCP’s streamable HTTP transport in stateless mode, where every request is a POST. It does not speak the older SSE transport, which opens a long GET stream. The agama-mcp README still describes the server as SSE, so you’ll want to remember this in the next step.
Connect Claude Code to the Agama MCP server
Add the server with --transport http and the token in an Authorization header. Searches for “claude mcp add bearer token sse” will point you at --transport sse, but this endpoint refuses the GET an SSE client opens with, so use http. Run it from the directory you’ll start Claude Code in, because the default local scope ties the server to that project:
claude mcp add --transport http agama https://${AGAMA_IP}/mcp --header "Authorization: Bearer ${AGAMA_TOKEN}"
The add itself succeeds, but claude mcp get shows the connection failing on the installer’s self-signed certificate. Running claude mcp list with TLS verification off turns it green:

The README’s fix is NODE_TLS_REJECT_UNAUTHORIZED=0 claude, and it works, but it switches off certificate checks for every HTTPS connection that Claude Code process makes, including the one to Anthropic’s API. Notice too that claude mcp get prints the token in clear text from ~/.claude.json, even though add showed it as redacted. A narrower option is to trust the installer’s own self-signed certificate instead of switching checks off. Save it and print its fingerprint:
echo | openssl s_client -connect ${AGAMA_IP}:443 2>/dev/null | openssl x509 > ~/agama-ca.pem
openssl x509 -in ~/agama-ca.pem -noout -fingerprint -sha256
Compare the fingerprint with the one on the installer’s console before you trust the file. If they match, start Claude Code with NODE_EXTRA_CA_CERTS=~/agama-ca.pem claude. The check behind this was a plain Node client, the runtime Claude Code uses, pointed at the same endpoint. With the variable set, it got the expected 401 for a missing token. Without it, the same client failed with DEPTH_ZERO_SELF_SIGNED_CERT. That check did not cover the names in the certificate, so if Claude Code still refuses the connection with a hostname mismatch, the README’s variable is your fallback, scoped to that one process. Delete the file when you are done, because the next installer you boot has a new certificate.
Once connected, the server offers 11 tools. Listing them straight from the endpoint is a quick way to confirm the token works:
curl -sk -H "Authorization: Bearer ${AGAMA_TOKEN}" -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}' https://${AGAMA_IP}/mcp | jq -r '.result.tools[].name'
You get the same list in both modes. Config mode still advertises commit_install and reboot and only refuses them when they’re called:
answer_question
commit_install
get_config_schema
get_logs
get_progress
get_proposal
get_questions
get_system
reboot
set_config
wait_progress
If MCP itself is new to you, the guide to connecting Claude Code to MCP servers covers scopes, .mcp.json and how tools get approved. For why an installer suits a tool server better than a long prompt, see MCP vs RAG vs agent skills.
Let the agent build the profile
With config mode running, give the agent the same sentence the Agama blog uses as its example, so you can compare your results with theirs:
Set up an openSUSE Tumbleweed machine with the GNOME desktop, using Btrfs on the NVMe disk and with a user called "tux" with password "nots3cr3t".
Claude Code on the test workstation was not signed in to an account for this run. So the prompt went to Claude with the tools exposed through mcp-call, a small JSON-RPC wrapper that sends the same tools/call requests Claude Code sends. You’ll want the wrapper anyway, because it shows you each raw reply the agent sees. Save it as ~/bin/mcp-call:
#!/bin/bash
# mcp-call <tool> [json-arguments]
args=${2:-'{}'}
body=$(jq -nc --arg n "$1" --argjson a "$args" '{jsonrpc:"2.0",id:1,method:"tools/call",params:{name:$n,arguments:$a}}')
curl -sk --max-time 600 -H "Authorization: Bearer ${AGAMA_TOKEN}" -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -d "$body" "https://${AGAMA_IP}/mcp" | jq -r 'if .result then (.result.isError|tostring) as $e | "isError=\($e)\n" + ([.result.content[]?.text] | join("\n")) else . end'
It needs jq (sudo zypper install jq, or apt or dnf on other distros), and the tools/list call above uses it too. Create the folder with mkdir -p ~/bin first, make the script executable with chmod +x ~/bin/mcp-call and call it by its full path if ~/bin isn’t on your PATH yet. The agent started by reading the schema, then took a few wrong turns before it had a valid plan (they’re in the next section). The profile it finally sent was short, and the important part is the storage block, which deletes every partition on the disk and asks Agama for its default layout:
mcp-call set_config '{"config":{"product":{"id":"Tumbleweed"},"user":{"userName":"tux","fullName":"tux","password":"nots3cr3t"},"software":{"patterns":["gnome"]},"storage":{"drives":[{"search":"/dev/vda","partitions":[{"search":"*","delete":true},{"generate":"default"}]}]}}}'
Agama answered with “Configuration profile replaced and applied successfully”, and after wait_progress the proposal came back as proposal_ready with no issues. The proposal JSON listed the planned storage actions in plain text, the same ones you’ll see in the browser in a moment:
"text": "Create GPT on /dev/vda"
"text": "Create partition /dev/vda1 (8.00 MiB) as BIOS Boot Partition"
"text": "Create partition /dev/vda2 (27.99 GiB) for / with btrfs"
"text": "Create partition /dev/vda3 (2.00 GiB) for swap"
Now open https://10.0.1.50 in your browser and log in with the live.password you set. The overview already shows the agent’s profile, because the MCP server and the web UI share one installer state:

- 1Software
- 2Storage
- 3Authentication
- 4Install now
Go through it the way you would review a colleague’s pull request. Check these before anything gets installed:
- You can see GNOME Desktop Environment (Wayland) under Software, with 4 additional patterns and 5.38 GiB needed.
- You can open Storage and confirm it names the disk you expect, here vda at 30 GiB.
- You can see the tux account under Authentication.
- You haven’t clicked Install now yet, because that’s the step config mode leaves to you.
Notice what the agent didn’t set. The timezone is Europe/Berlin and the hostname is agama, both installer defaults, because the sentence never mentioned them. “No data loss is expected” under Storage only holds here because the disk was blank. Clicking Storage shows the full plan, and the Result list should match the actions from the proposal JSON:

The Btrfs root with its default subvolumes and a 2 GiB swap is the same layout you’d get by clicking through a manual install, which is what "generate":"default" asks for. If the disk had held another OS, this is the screen where you’d see a delete action for each of its partitions, so read it every time.
Read the agent’s wrong guesses
The agent didn’t get the profile right on its first try, and how it failed is more useful than the result. Its first guess was that disks would show up in get_system, which the README says covers storage. On this build they don’t: the resource list has no storage entry, and disks only appear in the proposal once a product is chosen. Its second mistake was a storage block that named the disk and a filesystem but no root partition:

Look at where each error appeared. set_config accepted the bad storage block because it was valid against the schema, and the problem only surfaced in get_proposal as “A separate file system for / is required”. That’s the guardrail working as designed, but it means an agent that skips get_proposal and asks you to click Install has handed you a plan Agama already knows is broken. Always make the agent read the proposal back before you trust it.
The NVMe part of the prompt was the most interesting moment. The VM had no NVMe disk, only /dev/vda, and instead of inventing /dev/nvme0n1 the agent stopped and asked: “The installer sees no NVMe disk, only a 30 GiB virtio disk /dev/vda. Install on /dev/vda (the plan above) or is a different machine or disk intended?” Feeding Agama the invented name on purpose shows what would have caught it. The set_config call with /dev/nvme0n1 is accepted without complaint:
isError=false
Configuration profile replaced and applied successfully.
Only the next get_proposal tells you about the problem, trimmed here to its issues:
isError=true
{
"status": "issues_detected",
"message": "The proposed configuration produced logical issues that must be resolved.",
"issues": [
{
"scope": "storage",
"class": "proposal",
"description": "Cannot calculate a valid storage setup with the current configuration"
},
{
"scope": "storage",
"class": "configSearchNotFound",
"description": "Mandatory device /dev/nvme0n1 not found"
}
],
You see the same pattern again: set_config happily stores a disk that doesn’t exist, and only the proposal says no. Two more tests round it out. A 50 GiB root on the 30 GiB disk got only the generic “Cannot calculate a valid storage setup with the current configuration”. Nothing in it says size was the problem, so tell the agent to check sizes itself. An invented top-level key, desktop, was rejected at once with “Additional properties are not allowed (‘desktop’ was unexpected)”. That’s the schema check stopping it before anything is stored.
Test what config mode refuses
Config mode is only worth having if the refusals hold when you call the tools directly, without an agent being polite about it. Try to install, reboot and sneak a disk wipe in through a pre-install script:
mcp-call commit_install
mcp-call reboot
Both come back as JSON-RPC errors with code 403, and you’ll notice the second one is a copy of the first:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": 403,
"message": "403 Forbidden: commit_install is disabled in configuration-only mode (inst.mcp=config). A human operator must approve and trigger installation via the Agama Web UI."
}
}
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": 403,
"message": "403 Forbidden: commit_install is disabled in configuration-only mode (inst.mcp=config). A human operator must approve and trigger installation via the Agama Web UI."
}
}
If you see reboot blamed on commit_install, that’s normal on this build: the refusal is right and only the message is reused. The pre-install script test needs the right shape, because a script with a body key fails the schema before the mode check is ever reached. With content it reaches the real guardrail:
mcp-call set_config '{"config":{"product":{"id":"Tumbleweed"},"user":{"userName":"tux","fullName":"tux","password":"nots3cr3t"},"scripts":{"pre":[{"name":"wipe","content":"#!/bin/sh\nwipefs -a /dev/vda"}]}}}'
You get the whole profile refused, typo included:
isError=true
Pre-installation scripts ('scripts.pre') are not permitted in configuration-only mode (inst.mcp=config) becase they execute arbitrary shell commands.
So the only way forward in config mode is you. Back in the browser, click Install now on the overview and Agama asks you to confirm:

Clicking Confirm and install starts the install right away with the agent’s settings. You can stop here if you only wanted the agent to fill in the forms. The rest is the same click-through install covered in the Tumbleweed VirtualBox and VMware guide, and the agent can keep watching progress and reading logs while it runs.
Run a full-mode install end to end
For the hands-off run, reboot the installer with inst.mcp=full in place of inst.mcp=config, keep the same token, and send the same profile. Then commit the install, wait for it, check the log and reboot. These four calls were typed through the mcp-call wrapper, as in config mode, rather than made by an interactive Claude Code session. commit_install returning success here, where config mode answered 403, is what shows full mode was active:

commit_install returns right away, and wait_progress is the call to use next, because it blocks until the install finishes or a question needs an answer instead of making the agent poll. On this VM, a single wait_progress with a 300 second timeout covered the whole GNOME install and came back with isFinished true. That is the tool’s maximum, so on a slower disk or mirror you call it again while isFinished is still false. The log line “Installation completed successfully” is what to look for before you let anything call reboot, because the MCP session ends with the live system and you can’t fetch logs afterwards.
The machine came back from its own disk on openSUSE Tumbleweed 20261121 with kernel 7.3.5, and GDM offered the tux user from the profile:

Two gaps show up on first boot. The text console says localhost login:, because no hostname was set, and an SSH attempt was reset since nothing in the profile turned the SSH server on. Neither is a bug, they’re just things a one-sentence prompt leaves out, so put the hostname, timezone and any SSH key in the sentence if you need them. For a hand-driven comparison with the same installer, see the openSUSE Leap 16 install walkthrough.
Verify the token can’t reach the REST API
Agama’s main HTTP API under /api has no MCP guardrails, so the MCP token must not work there, otherwise an agent could read its own token and go around the checks with curl. Point the token at /api/config and at the public health check:

A 401 with “Invalid authentication token” on /api/config is the result you want, and /api/action answered the same way. The 200 from /api/ping isn’t a leak, because that endpoint answers without any token. Token isolation works as the README promises, so an agent holding only this token is limited to the 11 MCP tools and whatever the mode allows.
Review the security trade-offs
The guardrails held in every test you saw above, but they protect the installer, not your workstation or your network. Before you use the Agama MCP server outside a lab, go through this list:
- You use full mode only where a disk wipe with nobody asked is acceptable.
- You keep
NODE_TLS_REJECT_UNAUTHORIZED=0away from your everyday Claude Code session. - You treat the token as visible in
/proc/cmdlineand in~/.claude.json. - You know the proposal echoes the user password back in plain text.
- You keep the installer on a network only you can reach.
- You run
claude mcp remove agama -s localwhen the install is done.
Each line has a reason behind it. One commit_install in full mode runs whatever storage plan is set. The TLS variable turns off certificate checks for the whole Node process, including its calls to Anthropic. The proposal shows "hashedPassword": false with the password next to it, so the agent’s context and logs now hold that password. And /mcp answers on port 443 to anyone with the token, while the token stays in your project config until you remove it.
For the password problem, ask the agent to send hashedPassword: true with a hash you made, or use an SSH key and skip the password. For TLS, the NODE_EXTRA_CA_CERTS route from the connection step costs two extra commands. It keeps verification on for everything else.
Clear up common misconceptions
A few assumptions came up while testing that don’t match how this build behaves, so it’s worth correcting them before you rely on it.
“Config mode hides the dangerous tools.” It doesn’t. commit_install and reboot are in the tool list in both modes, and the server refuses them only when they’re called. An agent that plans around the tool list will still try them, so expect a 403 in its transcript.
“set_config succeeding means the plan is valid.” It only means the JSON matched the schema. Missing root partitions, disks that don’t exist and sizes that don’t fit all pass set_config and fail in get_proposal, so the proposal status is the real answer.
“It uses SSE, so add it with –transport sse.” The README says SSE, but the endpoint answers a GET with 405 and works with --transport http. Check with the curl test whenever you move to a newer nightly, because this is the kind of detail that can still change before Agama 26.
“This is Agama 26.” Not yet. The ISO calls itself 25.0.0 and is a development build, so treat everything here as a preview of the release. If you’re deciding which openSUSE to install with it, the Leap vs Tumbleweed vs SLES comparison covers that choice, and the agama-mcp README is the place to watch for changes to the tools.