SysKnife
mcpotherio.github.lacs-project/sysknife · v0.25.0
Administers Linux via typed, approval-gated actions with an Ed25519-signed audit trail.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
# once, as root: cargo install --locked sysknife-cli --version 0.25.0 --root /usr/local #!/usr/bin/env bash # sysknife (io.github.lacs-project/sysknife), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-sysknife.service. set -euo pipefail export HOST=127.0.0.1 PORT=8101 exec uvx mcp-proxy --host 127.0.0.1 --port 8101 --pass-environment -- sysknife-cli [Unit] Description=MCP server sysknife (toolset my-agent), generated by Hub After=network-online.target Wants=network-online.target [Service] Type=simple User=mcp Group=mcp EnvironmentFile=/etc/mcp/my-agent.env Environment=HOME=/var/lib/mcp/sysknife WorkingDirectory=/var/lib/mcp/sysknife ExecStart=/opt/mcp/my-agent/bin/sysknife.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/sysknife [Install] WantedBy=multi-user.target
connect to it
copy what your client needssysknife-cli # env: SYSKNIFE_SOCKET
{
"mcpServers": {
"sysknife": {
"command": "sysknife-cli",
"args": [],
"env": {
"SYSKNIFE_SOCKET": "${SYSKNIFE_SOCKET}"
}
}
}
}
#!/usr/bin/env bash
# Registers every server with Claude Code (run once; `claude mcp list` to check).
set -euo pipefail
set -a; [ -f .env ] && source .env; set +a
claude mcp add sysknife -e "SYSKNIFE_SOCKET=${SYSKNIFE_SOCKET}" -- sysknife-cli
{
"mcpServers": {
"sysknife": {
"command": "sysknife-cli",
"args": [],
"env": {
"SYSKNIFE_SOCKET": "${SYSKNIFE_SOCKET}"
}
}
}
}
{
"servers": {
"sysknife": {
"type": "stdio",
"command": "sysknife-cli",
"args": [],
"env": {
"SYSKNIFE_SOCKET": "${SYSKNIFE_SOCKET}"
}
}
}
}
name: my-agent target: local servers: - hub: io.github.lacs-project/sysknife
- not probed yet: tools unpinned, ingest lists them
tools
Not probed yetThe tools appear once the hub or its worker has listed this entry. Running it still works: your client lists them on first start.