
Kvm Pilot
io.github.DustinTrap由 GitHub 帳號 DustinTrap 發布v1.0.1更新於 Oct 24, 2026
Smart hands for your AI agents - write-capable KVM+BMC+SSH MCP server: gated, verified, audited.
發布方自己的服務:QuickBooks Connector by Meridian
概覽
本機 MCP 伺服器,讓 AI 助理透過 IP-KVM、BMC、Intel AMT 與 SSH 控制實體機器,破壞性操作受閘控並留有稽核。
- 可以做什麼
- 在 KVM 裝置(PiKVM、GLKVM、BliKVM)上截圖並分類畫面、等待開機階段,讀取電源狀態、日誌與虛擬媒體。透過 Redfish 或 IPMI 讀取與修改 BMC 結構化狀態:資訊、開機項、感測器、事件日誌、電源與序列主控台。管理 Intel AMT/vPro 的韌體層級電源、開機裝置、截圖與 SOL。執行 SSH 指令、檢查連通性、透過區域網路喚醒主機並重新啟動裝置。查詢能力、支援矩陣與健康檢查,並提交韌體報告。
- 適用情境
- 適合需要讓助理在目標機上沒有任何代理的情況下,驅動無頭或遠端機器完成 POST、韌體、開機載入程式或作業系統安裝的情境,也適合希望以統一工具介面涵蓋 KVM、BMC、AMT 與 SSH 目標時使用。
- 執行需求
- 需在本機以 pip 安裝 kvm-pilot 套件,其中包含 kvm-pilot-mcp 伺服器。需要可存取的 KVM/BMC/AMT 裝置,可透過設定檔中的 profile 或 KVM_PILOT_HOST、KVM_PILOT_USER、KVM_PILOT_PASSWD 設定。可選 ANTHROPIC_API_KEY 用於伺服器端視覺,或使用本機 OpenAI 相容 VLM 端點。需要能存取該裝置的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kvm Pilot,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[PyPI version] [Python versions] [CI] [License: Apache-2.0] [MCP registry]
kvm-pilot
Smart hands for your AI agents. A write-capable, multi-plane (KVM + BMC + SSH) MCP server for controlling physical machines — gated, verified, audited.
kvm-pilot lets an agent drive a headless box through POST, firmware, the
bootloader, and an OS install with no agent on the target: it works at the
pixel level through an IP-KVM (PiKVM, the GL.iNet GLKVM fork GL-RM1 /
GL-RM1PE, BliKVM), at the structured-state level through a BMC (Redfish on
iDRAC/iLO/OpenBMC, IPMI on BMCs that predate Redfish), at the firmware level
through Intel AMT/vPro (a BIOS/POST/GRUB screenshot + power + SOL on a
business laptop an HDMI-capture KVM can't see boot on), and over SSH once an OS
is up. A pluggable vision subsystem reads a KVM screenshot and tells you what
boot phase the machine is in — bios_menu, grub_menu, installer_progress,
login_prompt, crash_screen, and so on — and a safety layer gates every
destructive operation behind operator opt-ins and per-call approvals.
Vision runs on Claude or any local OpenAI-compatible VLM (LM Studio, Ollama, vLLM, llama.cpp). Point it at a model on your own GPU and the screenshots never leave your network and cost nothing per frame.
How it works
kvm-pilot runs a see → decide → act loop, and the screen is its only sensor:
it pulls a screenshot from the KVM, a vision model classifies the boot phase, and
kvm-pilot acts back through the KVM's keyboard and power. Because it works at the
pixel level, there is no agent on the target — the same loop drives POST,
firmware, the bootloader, and an OS install.
A real, unedited run against a GLKVM on the home fleet — an honest preflight, a headless snapshot (watch it wake the on-demand encoder), a gated dry-run power-cycle, and the boot console the agent actually saw:
Quickstart
One install gives you the whole product — the kvm-pilot CLI, the
kvm-pilot-mcp MCP server, and the bundled Claude skill — nothing to
clone.
Driving a KVM from an AI agent (MCP)
KVM_PILOT_MCP_READ_ONLY=1 is the recommended first rung of the trust ladder
— the agent can see everything and touch nothing until your hardware is
verified. The Getting started guide
covers credentials, Claude Desktop JSON config, sample prompts, and climbing
the ladder. The server is published to the official
MCP registry
as io.github.DustinTrap/kvm-pilot, so registry-aware hosts can discover
and install it by name. Agents: the repo root carries an
llms.txt doc map.
Scripting from Python
For the latest unreleased tree:
CLI
The CLI prompts for confirmation before any destructive action (power, virtual
media — including uploads — keyboard/mouse injection, GPIO). Use --yes to
skip prompts in automation, or --dry-run to log intended actions without
sending them — dry-run short-circuits before the prompt, so it never blocks
waiting for input. --timeout (HTTP per-request timeout) is a global flag and
goes before the subcommand; watch keeps its own --timeout for the vision
wait deadline.
Profiles like homelab live in ~/.config/kvm-pilot/config.toml. See
docs/cli.md for the full command table (every subcommand, the
capability it needs, and its gating), and
docs/configuration.md for the config-file format,
every KVM_PILOT_* environment variable, and the precedence between flags,
env, and profiles.
GLKVM setup note: on GL.iNet firmware the PiKVM REST API is disabled by default and a firmware upgrade can re-disable it — enable it first, per Every
/api/*call returns 404.
The tool surface, by plane
The same capability protocols span three actuation planes, so one agent workflow can mix pixels, structured BMC state, and shell access — with every destructive effect gated per class:
A machine with no KVM and no BMC at all is itself a first-class target:
driver = "ssh" plus ssh_host (the machine's own address, #248) stands
kvm-pilot on the recovery ladder's in-band rung — every device capability
honestly absent, and the healthcheck saying plainly that there is no
out-of-band recovery path there.
The canonical per-tool reference — annotations, effect gates, approval lifecycle — is the MCP server README; the CLI covers the full surface in docs/cli.md.
Status & maturity
Status: 1.0, general availability — on the strength of the run ledger, not beyond it. Three device types have run live (GL-RM1PE, Dell R710 over iDRAC6/IPMI, Dell Latitude 5411 over Intel AMT); three of the seven device drivers (
redfish,pikvm,blikvm) have only ever run against emulators. See the Hardware-Compatibility list for what has actually been exercised — and please add to it. (The exact version lives in the CHANGELOG.) The core paths have graduated from mocked-only to live-verified: a fleet of GL-RM1PE units has exercisedsnapshot/healthcheck/logs/power_state/virtual_media/infoacross two firmware lines — on V1.9.1 the run ledger that ships in the wheel putsinfo/logs/healthcheck/power_stateat ga,snapshotat rc, andvirtual_mediaat beta — derived from real runs, never hand-edited — and a Dell iDRAC6 has exercised the IPMI driver live end-to-end (power, boot-device, sensors, event log, SOL serial console). The paths that can hurt are hardened: transports never re-fire a destructive request, MCP approvals are signed single-use receipts with an audit trail, and every destructive effect — power, HID, media, boot-config, appliance, SSH, external writes — has its own operator opt-in gate. Recent betas added remote boot-device control (Redfish, IPMI, and in-bandefibootmgr), Wake-on-LAN, an IPMI driver for BMCs that predate Redfish, a serial (SOL) console, mouse auto-calibration, and headless native-resolution GLKVM snapshots;kvm-pilot test-reportturns contributing evidence into one command, and the firmware registry feeds itself (firmware-checkauto-files registry updates). Now we need your hardware. PiKVM, BliKVM, other GLKVM models, and Redfish BMCs (iDRAC/iLO/OpenBMC) are the combos the matrix needs most — success or failure, a hardware report takes two minutes and the hourly ingest does the rest. Anything the Hardware-Compatibility list doesn't show as exercised is still unverified: the 1.x line keeps the public API stable, but a rating only moves when a live run moves it; note the remote firmware-flash no-op on GL-RM1PE (#94/#95), and don't point destructive ops at a machine you can't afford to have power-cycled unexpectedly. See Compatibility.
Boot-phase detection
The vision classifier maps each screenshot to a phase — bios_menu,
grub_menu, installer_progress, login_prompt, crash_screen, and so on.
wait_for_state() polls the screen and blocks until the phase you asked for
appears (or a timeout fires), so an unattended install becomes a few waits with
actions wired between them:
Sensing model
Vision is the most expensive way to read a screen — a model call per frame — and
most of what it infers (power state, boot phase, liveness, a crash) is also
available as a field, an event, or a line of text. The direction of
kvm-pilot is to treat classification as a hierarchy: answer from the cheapest
signal the device exposes, and fall through to OCR and finally a vision model
only when nothing cheaper can.
The PiKVM/GLKVM client already exposes the cheap end — ATX and HID LEDs,
video-signal and resolution, on-device OCR (?ocr=true), logs, Prometheus
metrics, and a WebSocket event stream. The capability protocols
add Logs, BootProgress, Sensors, SerialConsole, Watchdog, and
BootConfig as the seam for BMC drivers (Redfish/IPMI), where the boot phase
is a structured enum (BootProgress.LastState) and the console is a serial
text stream rather than pixels. Different device classes are nearly
complementary: capture devices are strong on pixels, BMCs on structured state
and serial text.
Safety model
Power-offs, hard resets, virtual-media connect/disconnect and image uploads,
keyboard/mouse injection (type_text, press_key, shortcuts, clicks), GPIO,
boot-config changes, and Redfish/IPMI resets are classified as destructive
and pass through a safety layer:
- dry-run short-circuits first: it logs the intended call and skips it entirely — the confirm callback is never invoked, so dry runs never prompt or block.
- confirmation — a callback that can veto any destructive call that would
really be sent. The library default allows everything (so plain scripts
work); the CLI installs an interactive
y/Nprompt unless you pass--yes.
The destructive set is defined explicitly in kvm_pilot.safety.DESTRUCTIVE_OPS
so it is auditable rather than guessed. A vision classification can never
trigger a destructive action on its own — you wire that yourself, and the
safety layer still applies. On the MCP side each destructive effect class
additionally needs an operator opt-in env gate plus a per-call approval backed
by a signed single-use receipt — the trust ladder
(READ_ONLY → DRY_RUN → per-effect ALLOW_*) is drawn in the
MCP server README.
This software controls real hardware and can power-cycle or interrupt a running machine. Read SECURITY.md before exposing a KVM to the internet.
No hard-coded model version
There is no model version string anywhere in the code. The Anthropic backend
resolves the newest vision-capable model at runtime via the Models API and
caches it; set KVM_PILOT_VISION_MODEL or pass model= to pin one. The local
backend uses whatever model you loaded on your server. Bring your own backend,
endpoint, and model.
How this differs from other clients
pikvm-lib is a fine general-purpose
PiKVM client. kvm-pilot is aimed at a different job:
- Vision-based boot-phase detection — classify BIOS/GRUB/installer/crash
states from screenshots, with blocking
wait_for_stateloops. This is the core feature andpikvm-libhas no equivalent. - Pluggable local or cloud VLM — run inference on your own GPU at zero per-frame cost, or on Claude.
- A safety layer around destructive operations (dry-run + confirmation).
- GLKVM-fork awareness — documents the API-enable prerequisite and GL hardware quirks that bite GL-RM1PE users.
- Stdlib-only client core — the driver/vision code imports only the standard
library (the bundled MCP server pulls the
mcpSDK; feature extras are opt-in).
If you just want to script power and HID against a stock PiKVM and don't need
the vision layer, pikvm-lib may be the simpler choice.
On the BMC side, sushy, DMTF's
python-redfish-library, and
pyghmi (IPMI) are mature, far more complete BMC
management SDKs — if you need account/firmware/network configuration,
EventService subscriptions, or hardware-proven maturity, use them. kvm-pilot
trades that completeness for one uniform capability surface across device
classes (IP-KVMs and BMCs behind the same protocols), the same safety layer
gating every destructive call, and the vision loop on devices that have pixels.
Compatibility
The GL-RM1PE (read/snapshot paths), a Dell iDRAC6 over IPMI, and a Dell Latitude 5411 over Intel AMT are the combos run live so far — everything else is "expected to work" pending validation. The Hardware-Compatibility list is the authoritative, per-capability record. ATX power control needs the ATX adapter wired to the target's front-panel header: on the GL Comet family (GL-RM1 / GL-RM1PE) that is GL.iNet's separately sold ATX board (GL-ATXPC), while PiKVM v3/v4 kits include the ATX adapter in the box and BliKVM bundles vary by model — check yours. Without ATX wiring, ATX calls return errors from the device. Reports of success or failure on any hardware are exactly what this project needs — please open a hardware report.
Architecture
kvm-pilot is built on a modular, driver-plugin architecture so support can
expand to many KVM/BMC devices (PiKVM family, Redfish BMCs, IPMI BMCs, JetKVM, …).
Each device implements only the capability protocols its hardware supports; the
CLI, safety layer, and vision subsystem stay device-agnostic. A make_driver(kind)
registry (mirroring make_backend) builds drivers by name, and a hardware-free
FakeDriver lets you exercise the whole loop — capabilities, safety gating, the
analyzer — with no device (kvm-pilot capabilities --driver fake). See
docs/architecture.md for the design and diagram.
A RedfishDriver (make_driver("redfish")) speaks the DMTF Redfish API to
server BMCs — Dell iDRAC, HPE iLO, Supermicro, Lenovo XCC, OpenBMC — in one
stdlib-only client. It shows why capabilities are segmented: a BMC's set is
complementary to a PiKVM's (strong on structured state — power, boot phase,
sensors, logs, virtual media — with no keyboard/mouse/screenshot), and the driver
stays portable by following Redfish hypermedia rather than hard-coding vendor ids:
An IpmiDriver (make_driver("ipmi")) covers BMCs that predate Redfish
(e.g. Dell iDRAC6) over the system ipmitool: power, boot-device control,
sensors, the SEL event log, and an SOL serial console (kvm-pilot console).
Both are on the CLI too — kvm-pilot info --driver redfish --host idrac.lan ….
Capability-specific subcommands a BMC can't serve (type, snapshot, events)
fail cleanly rather than crashing. Add --redfish-auth basic for an endpoint
without a SessionService (emulators, or a BMC with session auth disabled).
An AmtDriver (make_driver("amt")) manages Intel AMT/vPro laptops and
desktops out-of-band over AMT's three native protocols — WS-Man (power / info /
single-use boot), SOL (kvm-pilot console), and KVM redirection — all
pure-stdlib. It is the first non-PiKVM driver with Video + HID: snapshot
returns a real firmware-level BIOS/POST/GRUB screenshot on a machine whose
HDMI a capture-KVM can't see boot on a laptop. SOL and KVM listeners are opened
remotely over WS-Man (kvm-pilot amt enable-sol / enable-kvm), no MEBx trip.
Help shape it — this is where you come in
kvm-pilot is built in the open. 1.0 shipped on the evidence of three device
types; what it still needs is not code — it's breadth of real hardware.
Three of the seven drivers
(redfish, pikvm, blikvm) have never run against a physical device, only
emulators. Every rating you see is derived from a run ledger that ships inside
the wheel, never hand-set, so the matrix only grows when someone runs it on real
metal. That someone could be you.
The single most valuable thing you can send: a
hardware report.
kvm-pilot test-report --profile <name> turns it into one command, it is
read-only by default, and an hourly job folds the result into the published
compatibility matrix. Failures are as welcome as successes — a driver that
returns a confident wrong answer on your BMC is a more useful report than one
that works, and it will be treated as a first-class finding, not swept up.
Also genuinely wanted:
- ⭐ Star the repo if the idea is useful to you. It is the cheapest signal that this problem is worth solving, and it is what brings in the operators whose hardware the matrix still needs.
- 🐛 Open an issue for anything: a bug, a device that misbehaves, a confusing error, a doc that lied to you. This repo is issue-per-finding — an issue is the unit of record, and "the error message didn't tell me what to do" is a legitimate report.
- 💬 Tell us what it got wrong. Review the safety model, the approval flow, the tool surface. Push back on the defaults. If an agent did something with your machine that surprised you, that is exactly the feedback that makes this safe for everyone else.
- 🔌 Ask for your device. Missing driver, unsupported BMC, a KVM we've never
heard of? Open a driver request — the plugin architecture exists precisely so
that adding one doesn't mean forking the project, and
docs/plugin-development.mdis the contract. - 🛠️ Send a PR.
docs/CONTRIBUTING.mdhas the full pre-PR checklist; good first issues are labelled.
Nothing here phones home. The project has no telemetry that reports itself — every row in the compatibility matrix is there because a human chose to send it. That's the deal, and it's why your report actually matters.
Documentation
Full user and developer docs live in docs/ (architecture, design
decisions, the Redfish reference, the
troubleshooting & FAQ,
contributing, and the security policy). The
project wiki is an
auto-generated, nicely formatted mirror of that folder, and the repo root
carries an llms.txt
doc map for AI agents.
License
Apache License 2.0 — see LICENSE and NOTICE. kvm-pilot is
independent and not affiliated with or endorsed by the PiKVM project, GL.iNet,
or Anthropic; those names are used only for compatibility description.
來源:README.md,提交 508d271
工具
0版本歷史
3- v1.0.1最新Oct 23, 2026
- v1.0.0Oct 15, 2026
- v0.1.0rc4Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Pilot 整合
QuickBooks Connector by Meridian
com.pilot.meridian官方發布者
讓助理透過託管的遠端連接器讀取與寫入 QuickBooks Online 公司資料。
AI Agent Connector by Meridian
com.pilot.meridian官方發布者
讓 AI 助理以授權的讀取或寫入權限連接 Xero,並可跨多個組織操作。
Tag Pilot GTM
由 GitHub 帳號 tagpilot 發布
為助理提供唯讀的 Google Tag Manager 存取:瀏覽容器、代碼、觸發條件和變數,比對工作區與線上版本,並稽核容器。

Trazo pilot
由 GitHub 帳號 allyburns 發布
讓 AI 代理在納斯卡線條主題的瀏覽器遊戲 Trazo 中逐回合駕駛飛機,並把成績發佈到遊戲的 AI 排行榜。

RemotePilot
由 GitHub 帳號 ORENQIS-LABS 發布
RemotePilot 是一個本機 MCP 伺服器,讓助理在你的電腦上執行終端機指令、操作檔案並管理行程。