Bosun
Controls Android devices over ADB, providing device inventory, diagnostics collection, package listing/install/update, and reboot operations, with mutations gated by operator approval.
Manages iOS devices through an MDM, including enrollment profiles, command queue and APNs wake-ups, diagnostics, installed-app queries, managed app install/update, and OS update scheduling.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Bosun
mcp-name: ai.qompass/bosun Qompass AI's remote device provisioning MCP server — the boatswain for the household fleet: one surface that inventories devices, collects their diagnostics, and (only ever through an operator-approved gate) installs and updates packages and reboots them, across Android, Windows, and iOS. iOS is served by a real MDM — check-in endpoint, command queue, SCEP device identity, APNs push — not a companion subset.
Bosun is an MCP-over-stdio server on rmcp, speaking the MCP modern
era only (2026-07-28). Sessions open with server/discover;
a legacy initialize is refused at the stdio front door with the
typed -32022 unsupported-version error. See STAGE1.md for the
current stage record: what is live, what is fenced, and the exact
remaining gate (STAGE0.md keeps the certificate-route and
enrollment research it stands on).
The domain and the surface
One domain: device provisioning. Twelve tools in six role-shaped groups (the trigger-scoped loading groupings):
Group | Tools | Access |
inventory |
| reads ungated; register gated |
diagnostics |
| read-only, ungated |
packages |
| gated mutations |
power |
| gated mutation |
mdm |
| profile + push gated; queue read ungated |
gate |
| read-only verdict |
Every tool is annotated from birth; every input schema is an
object with an explicit properties key. No outputSchema is
published at Stage 0 — backend results carry platform output whose
shape is not yet stable, and an unenforced schema is decoration.
That departure is deliberate and closes when the backend result
shapes are pinned by the Stage 1/2 live exercises.
Related MCP server: OmniCommanderMCP
The gate
Every mutation passes through gate::decide — a pure function
(no I/O, no clock, no ambient authority) in the phlow/ache
pattern. A mutation is allowed only when:
the target device declares the capability the action needs (checked first — an operator cannot approve a device into a capability its platform does not have), and
the call carries an operator approval (
operator_approval.approved_by, non-empty).
Denials are typed (capability_not_declared,
operator_approval_required, device_not_found, …) and return
before the store or any backend is touched. bosun_gate_check
exposes the same verdict without performing the action.
Stage 0's approval was a presented object. Stage 1 lands the
verified approval channel without changing the decision
structure: when the server holds an approval key
($BOSUN_HOME/approval.key, 0600), an approval counts only with
a token minted by bosun approve — HMAC-bound to the action,
the device, the approver, and a ≤ 1 hour expiry — passed as
operator_approval.token and verified by the server before the
gate runs. Keyless deployments keep the presented semantics.
The capability model
Capabilities are computed per device from platform + enrollment and are served inside the device record itself:
Android (ADB): diagnostics, package list/install/update, reboot — the full set.
Windows (SSH + winget): the full set.
iOS (MDM): an unenrolled device declares nothing. An enrolled, unsupervised device declares diagnostics and the installed-application query. An enrolled, supervised device additionally declares package install/update (managed apps) and OS update scheduling. iOS does not declare the transport-style reboot at Stage 0; MDM's queued
RestartDevicejoins when the MDM backend goes live.
Backends
Android: real
adbcommand paths (diagnostics bundle viadumpsys/getprop,pm list packages,install -r,reboot), every call under a 20 s timeout and a 64 KiB output bound. Implemented, not yet exercised against a live device.Windows: real
ssh+wingetcommand paths (CIM diagnostics,winget list/install/upgrade). Same exercise status.iOS: the MDM is live server-side (Stage 1). Commands enqueue in the persisted MDM state and report
queuedwith their command UUID;bosun mdm-serveruns the HTTPS check-in (Authenticate/TokenUpdate/CheckOut) and command channel that deliver them and record device responses against the queue records; APNs wake-ups go through a boundedcurl --http2client-certificate push. Enrollment runs through one-shot session profiles; SCEP is a fenced local-CA step (seeSTAGE1.mdfor the choice and its limits). The remaining gate is the real-device round-trip, which waits on the Owner's push-certificate steps.
Configuration
BOSUN_HOME: directory holdinginventory.json(default~/.local/share/bosun). The inventory is one bounded JSON file (256 KiB, 256 devices), rewritten atomically. The MDM state (mdm_state.json), the approval key, the local CA, and generated profiles live alongside it.BOSUN_MDM_*: the MDM server's contract —SERVER_URL(public https base),BIND,TLS_CERT/TLS_KEY,PUSH_CERT/PUSH_KEY,TOPIC(override; otherwise read from the push certificate),ALLOW_PLAIN_LOOPBACK(dev/test only). Subcommands:bosun mdm-serve,bosun ca-init,bosun approve. Full detail inSTAGE1.md.
The path to 1.0
Stage 0 (this tree): scaffold, capability model, gate, inventory, backend skeletons, the APNs push-certificate route and the enrollment path, both written down in
STAGE0.md.Stage 1: the MDM protocol round-trip. The server-side build is landed (
STAGE1.md): check-in + command server, APNs push, SCEP step, enrollment profiles, verified approval channel, all proven against a simulated device. The completion gate stays open until the push certificate is installed (Owner portal steps,STAGE0.md) and one real iPhone, enrolled via Apple Configurator supervision, round-tripsDeviceInformationandInstallApplication.Stage 2: live Android and Windows exercise against the Owner's devices (diagnostics first, then one gated install each); the guard's ordering barrier if Stage 1 evidence asks for it.
Stage 3: publication — crates.io, the MCP Registry, the fleet client configs, and the qompass.ai listing, under the fleet's per-push and publish rules.
Citizenship
server.json (MCP Registry manifest) and
.well-known/agent-card.json (A2A capability manifest, fleet
profile D-1607) are a provisioning pair; tests/manifest_agreement.rs
holds their join invariant by test. Provider of record is the
studio, Qompass AI — never a personal name (D-489).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage authorized computers with device status, approved diagnostics and bounded remote tools.
Remote enterprise management of Android devices and apps
Reach the computers you manage: list devices, run fixes, take screenshots, add devices.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Fleet Device Management for device management, security monitoring, and compliance enforcement through the Model Context Protocol.195 PyPI4MIT
- AlicenseBqualityDmaintenanceEnables full local computer control from MCP clients, including terminal commands, file system operations, application management, screen capture, and input device automation across Windows, macOS, and Linux.27MIT
- AlicenseNot gradedqualityDmaintenanceEnables bounded agent authority over a macOS workstation via 63 MCP tools with policy, approval, and audit.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to remotely control multiple devices registered to the same account, executing system commands via the Remote Control Assistant desktop bridge.MIT