Skip to content

Releases

mcp-server-tukit v0.5.0

Choose a tag to compare

@sdrahn sdrahn released this 10 Nov 17:55
926026e

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 a run_in_snapshot command word used to start a log line of its
      own.
    • Snapshot descriptions are bounded (200 bytes) and printable; a
      run_in_snapshot description 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.
    • rollback refuses snapshot 0; package names follow -- on zypper's
      command line; -zypper must be an absolute path and the unit names
      systemd's characters.
  • list_updates takes limit. It returns at most 500 updates
    unless limit (1 to 5000) says otherwise; count still tells how
    many there are, and truncated that some were left out. A
    dist-upgrade can offer thousands.
  • Faster, smaller. The tools and the tools/list answer are built
    once (a tool call no longer rebuilds every schema); server.go is
    split by concern into files of the same package.

mcp-server-tukit v0.4.0

Choose a tag to compare

@sdrahn sdrahn released this 02 Nov 13:42
eba819f

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_updates and refresh_repositories. list_updates lists
    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_repositories runs zypper refresh. tukitd has no such methods: both run zypper in a new
    snapshot, which is discarded, as transactional-update runs zypper refresh; the repository metadata are kept (/var/cache is the
    running system's). tukit-reader gets list_updates,
    tukit-operator both, without approval.

mcp-server-tukit v0.3.0

Choose a tag to compare

@sdrahn sdrahn released this 26 Oct 09:42
8dcc374

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.yaml is gone, as announced in 0.2: the
    definition is /usr/share/mcp-gateway/profiles/tukit.yaml only. 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.yaml and 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 _meta without an initialize
    handshake, with resultType in their results; a request naming a
    version it does not speak is refused with -32022 and the versions it
    speaks. Clients of 2025-11-25 and earlier are served as before.
    mcp-gateway 1.8 probes with server/discover and now uses the server
    as a modern one; the server logs each server/discover with the
    client's name and version.

mcp-server-tukit v0.2.0

Choose a tag to compare

@sdrahn sdrahn released this 24 Oct 06:47
3f05b2e

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 with CAP_SYS_ADMIN and no other capability
    (sandbox.capabilities), instead of privileged: 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 to tukit.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_requires adds only when rpmbuild expands it, too late
    for OBS (the 16.1 build failed without it). Releases come from the
    branches release-X.Y; tools/check-release and the packaging
    README say how.

mcp-server-tukit v0.1.0

Choose a tag to compare

@sdrahn sdrahn released this 24 Oct 04:52
bd74235

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.service and mcp-tukit-apply.service; the SELinux
    domain mcpsrv_tukit_t may 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 by mcpsrv_tukit_t and
    Landlock; roles tukit-reader and tukit-operator, with every change
    approved and every reboot, apply and command approved by itself.
  • Packages (OBS, packaging/suse): mcp-server-tukit, -gateway,
    -selinux and -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 in test/openqa.

Tested with mcp-gateway's main branch (1.8 in development) and tukitd
6.1.3 (MicroOS).