Repository navigation
Releases
mcp-server-tukit v0.5.0
Hardening from a security review of the whole server, and a bound on
the list of updates. Needs mcp-gateway 1.8, as 0.2 to 0.4.
- Hardening, from a security review.
- What a caller sends no longer shapes the journal: log lines are one
line each, with control characters escaped, and bounded. A newline
in arun_in_snapshotcommand word used to start a log line of its
own. - Snapshot descriptions are bounded (200 bytes) and printable; a
run_in_snapshotdescription with control characters, or a longer
one, is refused. - A call that waits for a running change (
rollback,
delete_snapshot,cleanup_snapshots, and every change) ends when
it is cancelled, and then does nothing: it used to wait on, holding
one of the 8 places for requests, and a cancelled change still ran
once its turn came. - The server holds at most 64 requests at a time and refuses an id
that is still in flight. rollbackrefuses snapshot 0; package names follow--on zypper's
command line;-zyppermust be an absolute path and the unit names
systemd's characters.
- What a caller sends no longer shapes the journal: log lines are one
list_updatestakeslimit. It returns at most 500 updates
unlesslimit(1 to 5000) says otherwise;countstill tells how
many there are, andtruncatedthat some were left out. A
dist-upgrade can offer thousands.- Faster, smaller. The tools and the
tools/listanswer are built
once (a tool call no longer rebuilds every schema);server.gois
split by concern into files of the same package.
mcp-server-tukit v0.4.0
Two tools for what transactional-update has no command for: the updates
the repositories offer, and refreshing the repositories. Needs
mcp-gateway 1.8, as 0.2 and 0.3.
list_updatesandrefresh_repositories.list_updateslists
the package updates (zypper list-updates) or the needed patches
(zypper list-patches, with category, severity and whether a reboot
is suggested) as structured data;refresh_repositoriesrunszypper refresh. tukitd has no such methods: both run zypper in a new
snapshot, which is discarded, as transactional-update runszypper refresh; the repository metadata are kept (/var/cacheis the
running system's).tukit-readergetslist_updates,
tukit-operatorboth, without approval.
mcp-server-tukit v0.3.0
The server speaks MCP 2026-07-28, the stateless revision, and mcp-gateway
1.8 uses it that way; the name 0.1 shipped the gateway definition under
is gone. Needs mcp-gateway 1.8, as 0.2.
tukit-privileged.yamlis gone, as announced in 0.2: the
definition is/usr/share/mcp-gateway/profiles/tukit.yamlonly. An
administrator's link to the old name in/etc/mcp-gateway/servers.d
would dangle and stop the gateway, so the package update points it at
tukit.yamland says so.- MCP 2026-07-28. The server answers
server/discover(supported
versions, capabilities, instructions, server info) and serves requests
that carry the protocol version in_metawithout aninitialize
handshake, withresultTypein their results; a request naming a
version it does not speak is refused with-32022and the versions it
speaks. Clients of 2025-11-25 and earlier are served as before.
mcp-gateway 1.8 probes withserver/discoverand now uses the server
as a modern one; the server logs eachserver/discoverwith the
client's name and version.
mcp-server-tukit v0.2.0
The server runs in mcp-gateway's sandbox, with the one capability
tukitd requires, instead of as a privileged server. Needs mcp-gateway
1.8.
- The sandbox instead of a privileged server. The gateway definition
(now/usr/share/mcp-gateway/profiles/tukit.yaml) runs the server in
mcp-gateway's sandbox withCAP_SYS_ADMINand no other capability
(sandbox.capabilities), instead ofprivileged: true: a read-only
system, no home directories,no_new_privs, the system call filter
and an MCS pair, still as root, which tukitd's bus policy requires.
Needs mcp-gateway 1.8.tukit-privileged.yaml, 0.1's name, is now a
link totukit.yaml, so a link made to it keeps working and gets the
sandbox; it goes away in 0.3, so link the new name:
ln -sf /usr/share/mcp-gateway/profiles/tukit.yaml /etc/mcp-gateway/servers.d/tukit.yaml. - Packaging: the spec names
BuildRequires: pkgconfig(systemd),
which%selinux_requiresadds only when rpmbuild expands it, too late
for OBS (the 16.1 build failed without it). Releases come from the
branchesrelease-X.Y;tools/check-releaseand the packaging
README say how.
mcp-server-tukit v0.1.0
The first release: an MCP server (stdio) for immutable SUSE systems
(openSUSE MicroOS, Leap Micro, SL Micro, SLES 16.1 in immutable mode)
that makes its changes in new snapshots through tukitd, as
transactional-update does, and runs behind mcp-gateway with SELinux
enforcing.
- Tools:
get_status,list_snapshots,pkg_install,pkg_remove,
update_system(update, dist-upgrade, patch),rollback,
delete_snapshot,cleanup_snapshots(tukitd 6.2 and later),apply
(the default snapshot live without a reboot),reboot, and
run_in_snapshot(any command, only with-allow-commands). A change
that fails, or does nothing, leaves no snapshot. - Reboot and apply run through one unit each,
mcp-tukit-reboot.serviceandmcp-tukit-apply.service; the SELinux
domainmcpsrv_tukit_tmay start these two and no other. Both refuse
when there is nothing to reboot into or apply, and when the snapshot
the agent names is not the default. - Behind mcp-gateway: a privileged server definition (tukitd answers
only callers with CAP_SYS_ADMIN), enabled by linking it into
/etc/mcp-gateway/servers.d, still confined bymcpsrv_tukit_tand
Landlock; rolestukit-readerandtukit-operator, with every change
approved and every reboot, apply and command approved by itself. - Packages (OBS,
packaging/suse):mcp-server-tukit,-gateway,
-selinuxand-tests(functional tests for openQA, in phases with
a reboot by the server's own tool between them). - Tested in CI on openSUSE Tumbleweed and Leap 16.0 (package build,
rpmlint, installation) and in a MicroOS VM with SELinux enforcing; the
openQA module and plan are intest/openqa.
Tested with mcp-gateway's main branch (1.8 in development) and tukitd
6.1.3 (MicroOS).