Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANTHROPIC_API_KEYNoAnthropic API key for the planner. Optional: with no provider key SysKnife falls back to Ollama.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

SysKnife provides planning and execution tools for Linux system administration.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
sysknife_app_armor_statusA

Read-only SysKnife action AppArmorStatus. show status of all loaded AppArmor profiles (aa-status) — no params; read-only

sysknife_apt_history_listA

Read-only SysKnife action AptHistoryList. show recent apt transaction history — no params; read-only

sysknife_apt_list_installedA

Read-only SysKnife action AptListInstalled. list all installed packages (dpkg -l) — no params; read-only

sysknife_apt_list_upgradableA

Read-only SysKnife action AptListUpgradable. list packages with available upgrades — no params; read-only. Use for 'are there pending updates?' or 'what updates are available?'

sysknife_apt_searchB

Read-only SysKnife action AptSearch. search apt repos for packages — param: term*; read-only

sysknife_apt_showB

Read-only SysKnife action AptShow. show package details (version, deps, description) — param: package*; read-only

sysknife_audit_verifyA

Verify the tamper-evident Ed25519-signed hash chain over the audit log. Returns status (intact/broken/cannot_verify), rows_checked, and, on broken, the first offending row. Also returns rows_censused and attributed_rows: intact is a statement about tampering, not about how much the trail can tell you, so report those counters alongside the status rather than reading intact as complete attribution. Read-only and safe to call without prior sysknife_plan.

sysknife_cloud_init_statusA

Read-only SysKnife action CloudInitStatus. show cloud-init provisioning status (cloud-init status --long) — no params; read-only

sysknife_collect_diagnosticsB

Read-only SysKnife action CollectDiagnostics. recent system journal log (last 500 lines) for error diagnosis and troubleshooting

sysknife_distrobox_listB

Read-only SysKnife action DistroboxList. list distrobox containers — no params; read-only

sysknife_doctorA

Diagnose SysKnife: pings the daemon, reports the configured brain provider/model, the audit DB path, and a quick audit-chain status (intact/broken/unknown). Read-only and safe to call without prior sysknife_plan.

sysknife_executeA

Execute exact steps produced by sysknife_plan. Every step requires a one-time receipt from an explicit sysknife approve <transaction-id> CLI confirmation; MCP cannot approve its own mutations.

sysknife_fail2ban_statusA

Read-only SysKnife action Fail2banStatus. show fail2ban jail status — optional param: jail (omit for all jails); read-only

sysknife_get_apt_pinsB

Read-only SysKnife action GetAptPins. show apt pin priorities (apt-cache policy) — param: package (optional); read-only

sysknife_get_audit_rulesA

Read-only SysKnife action GetAuditRules. list loaded audit rules (auditctl -l) — no params; read-only; needs auditd installed

sysknife_get_authorized_keysC

Read-only SysKnife action GetAuthorizedKeys. list SSH authorized_keys for a user — param: username*

sysknife_get_certificatesA

Read-only SysKnife action GetCertificates. list certbot-managed certificates — no params; read-only; needs certbot installed

sysknife_get_container_infoC

Read-only SysKnife action GetContainerInfo. inspect a Podman container — params: username*, name*

sysknife_get_date_timeB

Read-only SysKnife action GetDateTime. current date, time, timezone, and NTP status (timedatectl) — no params

sysknife_get_disk_usageA

Read-only SysKnife action GetDiskUsage. show disk space usage for all mounted filesystems (df -h) — no params

sysknife_get_firewall_backend_stateA

Read-only SysKnife action GetFirewallBackendState. inspect nftables, ufw and firewalld observations — no params; read-only; use for general firewall status; unavailable or inactive frontends do not prove the host is unfiltered

sysknife_get_firewall_stateA

Read-only SysKnife action GetFirewallState. show current firewalld zones, open services, and port rules — no params

sysknife_get_flatpak_app_infoA

Read-only SysKnife action GetFlatpakAppInfo. show metadata for an installed Flatpak — params: username*, app_id*

sysknife_get_host_stateA

Read-only SysKnife action GetHostState. what this host is: OS release, kernel, architecture, virtualization, machine identity (hostnamectl) — Ubuntu/Debian counterpart to GetSystemState, which reports deployments an apt host does not have

sysknife_get_journal_logA

Read-only SysKnife action GetJournalLog. read filtered systemd journal entries as JSON (journalctl) — all params optional: unit (e.g. 'ssh.service'), priority (0-7 or name like 'err', or a range '0..3'), boot (bool, current boot only), kernel (bool, kernel messages only), since/until (e.g. '2026-07-22 10:00:00', 'yesterday', '-1h'), grep (regex on MESSAGE), lines (default 100, max 10000); read-only

sysknife_get_listening_portsA

Read-only SysKnife action GetListeningPorts. show listening TCP/UDP sockets and the process bound to each (ss -tulpn) — no params; read-only; use for "what is listening on port X?"

sysknife_get_logrotate_statusA

Read-only SysKnife action GetLogrotateStatus. dry-run logrotate to show what would rotate (logrotate -d) — param: config (optional path); read-only

sysknife_get_lvm_reportA

Read-only SysKnife action GetLvmReport. list logical volumes with VG, size, attributes, and usage as JSON (lvs) — no params; read-only

sysknife_get_memory_infoA

Read-only SysKnife action GetMemoryInfo. show RAM and swap usage (free -h) — no params

sysknife_get_mountsA

Read-only SysKnife action GetMounts. list mounted filesystems as JSON (findmnt) — no params; read-only

sysknife_get_network_statusA

Read-only SysKnife action GetNetworkStatus. show LIVE network state: interfaces, IP addresses, and connection state — no params; this is runtime status, NOT the saved configuration; on Ubuntu the saved config is NetplanGetConfig

sysknife_get_nftables_rulesetA

Read-only SysKnife action GetNftablesRuleset. read the current nftables ruleset — no params; read-only; rules do not by themselves prove that traffic is blocked

sysknife_get_password_agingA

Read-only SysKnife action GetPasswordAging. show a user's password-aging fields (chage -l) — param: user*; read-only

sysknife_get_service_logsB

Read-only SysKnife action GetServiceLogs. fetch recent journald log lines for a service — param: unit*

sysknife_get_service_resource_limitsA

Read-only SysKnife action GetServiceResourceLimits. show a service's cgroup limits (MemoryMax/CPUQuota/TasksMax) via systemctl show — param: unit*; read-only

sysknife_get_service_statusB

Read-only SysKnife action GetServiceStatus. show detailed status of a service — param: unit*

sysknife_get_sudo_grantsA

Read-only SysKnife action GetSudoGrants. list SysKnife-managed sudoers.d drop-ins — no params; read-only

sysknife_get_sysctlA

Read-only SysKnife action GetSysctl. read a kernel parameter (sysctl) — param: key (optional, dotted e.g. 'net.ipv4.ip_forward'; omit to dump all); read-only

sysknife_grub_get_kargsA

Read-only SysKnife action GrubGetKargs. read current GRUB_CMDLINE_LINUX from /etc/default/grub — no params; read-only

sysknife_historyA

List past SysKnife audit-log entries. Read-only and safe to call without prior sysknife_plan. Filters: status (succeeded/failed/canceled/...), action (canonical action name), since (ISO-8601 date or UTC-qualified datetime), limit (default 20). Returns an object with an entries array of HistoryEntry rows.

sysknife_list_containersB

Read-only SysKnife action ListContainers. list Podman containers for a user — param: username*

sysknife_list_flatpak_remotesC

Read-only SysKnife action ListFlatpakRemotes. list configured Flatpak remotes — param: username*

sysknife_list_groupsA

Read-only SysKnife action ListGroups. list all local groups — no params

sysknife_list_installed_flatpaksC

Read-only SysKnife action ListInstalledFlatpaks. list installed Flatpak apps for a user — param: username*

sysknife_list_processesA

Read-only SysKnife action ListProcesses. list running processes with CPU and memory usage — no params

sysknife_list_servicesB

Read-only SysKnife action ListServices. list all systemd units and their active/enabled state — no params

sysknife_list_timersA

Read-only SysKnife action ListTimers. list all systemd timer units with next trigger time — no params

sysknife_list_toolboxesC

Read-only SysKnife action ListToolboxes. list toolbox containers for a user — param: username*

sysknife_list_usersA

Read-only SysKnife action ListUsers. list all local user accounts — no params

sysknife_multipass_listB

Read-only SysKnife action MultipassList. list Multipass VMs and their state — no params; read-only

sysknife_netplan_get_configA

Read-only SysKnife action NetplanGetConfig. read the SAVED network configuration: the netplan YAML in /etc/netplan/ — no params; read-only; on Ubuntu this is what "the network config" means, as opposed to GetNetworkStatus which reports live interface state

sysknife_planA

Plan a Linux system administration intent. Returns typed steps with risk levels, resolved commands, and daemon transaction IDs. IMPORTANT: Present the plan, then STOP. The user must run sysknife approve <transaction-id> in a real terminal for each accepted step. Do not execute from chat approval alone.

sysknife_resolvectl_statusA

Read-only SysKnife action ResolvectlStatus. show DNS resolution status for all network interfaces (resolvectl status) — no params; cross-distro (any systemd-resolved host); read-only

sysknife_search_flatpak_appsA

Read-only SysKnife action SearchFlatpakApps. search Flatpak remotes for apps — param: term* (query string) — no username needed

sysknife_snap_infoB

Read-only SysKnife action SnapInfo. show snap details (version, channel, description) — param: name*; read-only

sysknife_snap_listB

Read-only SysKnife action SnapList. list installed snaps — no params; read-only

sysknife_ubuntu_list_flatpaksC

Read-only SysKnife action UbuntuListFlatpaks. list installed Flatpak apps — param: username*; read-only

sysknife_ufw_statusA

Read-only SysKnife action UfwStatus. show current ufw status and rules — optional param: numbered (boolean, default false); true runs ufw status numbered and exposes rule_number values for UfwDeleteRule, false keeps verbose status; read-only

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
aboutDiscovery resource for Codex and other MCP clients.

TDQS

B3.1/5.0

Scored across 58 tools

Disambiguation3/5

Most tools have tightly scoped, well-annotated purposes, but real overlaps exist: sysknife_list_installed_flatpaks and sysknife_ubuntu_list_flatpaks are near-identical, and the firewall family (get_firewall_state, get_firewall_backend_state, get_nftables_ruleset, ufw_status) plus the log family (collect_diagnostics, get_journal_log, get_service_logs) require careful reading to pick correctly. The plan/execute/doctor/audit_verify quartet is well separated by explicit cross-references.

Naming Consistency3/5

All tools share the sysknife_ prefix, but within that there are two competing conventions: noun-first read verbs (apt_history_list, app_armor_status, snap_list, ufw_status) mixed with verb-first names (get_disk_usage, list_users, get_firewall_state). A handful of top-level tools (plan, execute, doctor, history) break the pattern entirely, so an agent cannot reliably predict a name.

Tool Count2/5

58 tools is far beyond a comfortable surface for one server, and much of the bulk is per-domain read chatter (seven package-manager families, four container runtimes) that a generic plan/execute path could already reach. The count makes selection expensive and increases the chance of picking a near-duplicate.

Completeness4/5

Read coverage is genuinely broad across packages, services, networking, firewall, containers, and audit, and the plan/execute pair provides a generic mutation path so there are no dead ends. Gaps are narrower: no dedicated cron/scheduled-task detail beyond list_timers, no SELinux, and no per-service enable/disable tools outside the plan flow.

Maintenance

ActivityActive
ResponsivenessOutdated data