SysKnife
What it does
Administers Linux via typed, approval-gated actions with an Ed25519-signed audit trail.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
ChatGPT 暂时无法连接 SysKnife
开发者尚未在 MCP 注册表中填写安装方式
你可以改用这些方式
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code 暂时无法连接 SysKnife
开发者尚未在 MCP 注册表中填写安装方式
Cursor 暂时无法连接 SysKnife
开发者尚未在 MCP 注册表中填写安装方式
VS Code 暂时无法连接 SysKnife
开发者尚未在 MCP 注册表中填写安装方式
开发者专用:终端命令和 JSON 设置
需要你填写的值
SYSKNIFE_SOCKETenv特权守护进程的监听位置:unix:// 路径、vsock:// 目标或普通路径。默认为守护进程绑定的位置,因此仅在非默认安装或远程虚拟机时需要设置。查看英文原文
Where the privileged daemon listens: a unix:// path, a vsock:// target, or a bare path. Defaults to wherever the daemon bound, so it is only needed for a non-default install or a remote VM.
说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
GooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 lacs-project 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于今天
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5889 个服务器的 98%
- 发布到注册中心的时间比此分类中其他 5889 个服务器的 87% 更新
- 基础检查结果等于或优于此分类中其他 5889 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
SysKnife 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于今天,最新版本(0.30.2)于4天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Rust。
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
SysKnife
The Linux sysadmin MCP server. Plan. Approve. Audit.
Distros
MCP server · Install · How it works · Why not X ? · Distro matrix · Roadmap · Contribute · Discuss
A deterministic reproduction of the Claude Code MCP flow on Ubuntu 24.04, rendered offline by ubuntu-flow-mock.sh so it replays identically from a fresh checkout. Every action name, risk level and command shown is the one the catalogue carries. The same flow works in Cursor and Codex CLI.
On an atomic host the plan uses rpm-ostree instead: the Fedora Atomic recording . Looking for the standalone CLI? See the CLI guide .
Describe what you want in plain language. Review a typed plan with risk
levels. Approve explicitly. Watch it execute with live output. Atomic-host
changes (rpm-ostree) roll back automatically on failure. Every action is
Ed25519-signed and audited.
The AI never supplies a command. Every action is a typed operation with a formal risk level, and the daemon builds the command line itself from the action's own definition — some actions do run through sh -c, but the shell fragment is constructed by SysKnife, never by the model. The AI cannot touch your system directly. A privileged daemon executes only what you approve, writes a tamper-evident Ed25519-signed audit chain, and rolls back atomic-host (rpm-ostree) changes automatically on failure.
Why typed actions and not a guarded shell? Red-team research (GuardFall) found that 10 of 11 AI agents bypass raw-string shell guards — an allowlist or regex is filtering a language rich enough to hide intent. SysKnife removes the shell string entirely: the model emits typed actions, and a public-key-verifiable audit chain records every one.
MCP server
SysKnife is an MCP server first. Point Claude Code, Cursor or Codex CLI at it and your assistant gets typed, risk-classified sysadmin tools in place of a shell:
| Tool | What it does |
|---|---|
sysknife_plan | Turns plain language into typed steps, each with a risk level, a resolved command and a daemon transaction ID |
sysknife_execute | Runs steps that carry a one-time receipt, and nothing else |
sysknife_history | Reads past runs out of the signed audit log |
sysknife_doctor | Reports daemon, provider and audit-chain health |
sysknife_audit_verify | Walks the Ed25519 chain and says whether it is intact |
sysknife_get_disk_usage, and the rest of the read-only catalogue | Direct queries, selected for the distro you are on |
npx sysknife-setup
One command wires the server into your client and installs the daemon. Install has the detail, and MCP protocol has the wire behaviour.
Your assistant cannot approve its own work. sysknife_plan hands back a transaction ID and stops there. The receipt sysknife_execute demands comes from sysknife approve , typed in your terminal, on a channel the model does not sit on. Missing, expired, mismatched and replayed receipts are all refused.
Prefer to stay in the shell? The CLI is the same engine with no client in front of it.
Install
The fastest path is the setup wizard. It installs the daemon and wires SysKnife into your AI IDE — Claude Code, Cursor, or Codex CLI — so you can plan and execute from chat.
npx sysknife-setup
Needs Node 22 or newer; older Node releases no longer receive security fixes. On Ubuntu 22.04 apt install nodejs gives Node 12, which is too old; the installer says so and how to get a current Node. No Rust toolchain and no compile: it downloads verified prebuilt binaries.
What this does:
- Downloads the prebuilt `sysknife` + `sysknife-daemon` binaries for your architecture (x86_64 / aarch64) from GitHub Releases, SHA-256-verifies each against the release checksum file — a mismatch aborts the install — and places them in
~/.local/bin(no sudo). Pass--no-binaryto skip the download and build from source instead. - Asks for your LLM provider, key, and model — OpenAI / Anthropic / Gemini / Ollama / Groq / DeepSeek / Mistral / xAI (Ollama needs no key). The key prompt is skipped when the matching env var is already set.
- Asks which AI integration to wire up (or pick
--claude/--cursor/--codex/--all) and your daemon target(s) — socket, plus an optional vsock token for a remote VM. - Writes the integration-specific MCP config (merging into any existing file, never clobbering) so the next chat session sees the
sysknife_*tools —sysknife_plan,sysknife_execute,sysknife_history,sysknife_doctor,sysknife_audit_verify, and distro-compatible direct read-only queries such assysknife_get_disk_usage— as first-class tools. - Installs and starts the daemon as a service (last step) — a systemd *user* service by default (no sudo; kept alive across logout via linger). That service runs as you, so read-only actions work but mutating ones do not: installing packages or restarting services needs the system-level service, whose sudoers grants belong to the
sysknifesystem user. Pick the system service on any host where you intend to change something, and pass--daemon-mode=system|user|skipto choose without a prompt.--daemon-mode=systemdoes not install the system service from the wizard — it needs root-owned sudoers, polkit and helper policy thatsudo make installowns — so it prints the exact sequence and reports the daemon as not yet installed.
To verify the download against a checksum list you trust independently of the release, set SYSKNIFE_PINNED_SHA256SUMS=/path/to/sums; see SECURITY.md.
To check where a release binary was built, download it from the release page and run gh attestation verify sysknife-vX.Y.Z-linux-x86_64 --repo lacs-project/sysknife. It succeeds only if the file matches a provenance statement GitHub signed for a build of this repository by release.yml. Each release also ships that provenance as sysknife-vX.Y.Z-linux- .intoto.jsonl, so the same check works with --bundle; see Verify the published release.
| Client | Files written |
|---|---|
| Claude Code | .mcp.json + .claude/hookify.*.local.md |
| Cursor | .cursor/mcp.json + .cursor/rules/sysknife.mdc |
| Codex CLI | ~/.codex/config.toml (appended) + AGENTS.md |
Then in your chat: ask for what you want and review the plan with risk pills. Approve each transaction with sysknife approve in a terminal, return the one-time receipts, and watch it execute. The daemon, not the prompt, enforces the receipt boundary.
Prefer the standalone CLI? Same engine, no IDE — see the
CLI guide for
sysknife "...",--dry-run,--json,
approval prompts, and audit-log inspection.
Manual install — Ubuntu 20.04+
Needs Rust stable and a C compiler (build-essential): the TLS and SQLite dependencies build native code, so a rustup-only machine stops at error: linker cc not found. cmake is not required. Budget 7 to 12 minutes for the ~400-crate build (6m56s on Ubuntu 24.04, 11m43s on 22.04).
sudo apt-get install -y build-essential
git clone https://github.com/lacs-project/sysknife cd sysknife make build # builds sysknife (CLI) + sysknife-daemon sudo make install # installs both; daemon runs as a system service sudo systemctl enable --now sysknife-daemon