Skip to main content

AI-Assisted Fleet Operations (MCP Server)

Invite only

The MCP server is available by invitation while it is in early access. Contact us to request access for your organisation.

Admiral exposes an integrated Model Context Protocol (MCP) server interface, allowing engineering teams to connect autonomous AI coding agents and LLMs (such as Claude Code, Cursor, and ChatGPT) directly into their fleet management pipeline.

With Admiral's MCP server, AI assistants can query real-time device health, inspect live streaming logs, diagnose edge failures, and execute authorized operational remediation tasks safely.

Model Context Protocol (MCP) Integration Topology

1. AI Assistants & Agents
Claude Code, Cursor, ChatGPT, or custom LangChain / LlamaIndex workflows
2. Admiral MCP Server
Tool registry, parameter validation, and fine-grained IAM policy scoping
3. Fleet Infrastructure
Real-time telemetry, zero-fork streaming logs, canary rollouts, and remediation

Authenticated via Fine-Grained IAM Tokens with Audit-Logged Execution


Capabilities Provided by the MCP Server​

  • Fleet Health Inspection: Query real-time device health, CPU/memory gauges, thermals, battery states, and network latency across all enrolled machines.
  • Log Retrieval & Diagnostic Analysis: Retrieve kernel, supervisor, and container logs, and the one-call device diagnosis, to find the root cause of crashes.
  • Desired State as Documents: Read and patch device documents, preview what a device would receive, and adopt or discard settings changed on site.
  • Controlled Canary Rollouts: Create configuration rollouts with a canary, in-flight limit, and failure budget; watch them converge; pause, resume, cancel, or roll back.
  • Device Control & Remediation: Issue authorized reboots and workload restarts on devices experiencing anomalies.
  • Security & IAM Scoping: All MCP actions authenticate against Admiral's fine-grained IAM policy engine, ensuring AI agents operate strictly within explicitly granted permission boundaries.

Tools accept a device by name, tag, notes, IP, or UUID and resolve it first; an ambiguous match returns candidates and changes nothing. Tools that change a device or a rollout are marked destructive so the client asks before running them; only call them on an explicit request.


Tool Reference​

Find and inspect​

ToolWhat it returns
list_organisations, list_fleets, list_devices, searchOrganisations, fleets (search, tag filter), devices (status, fleet, free-text filter), and organisation-wide search.
find_deviceResolve a device from a natural query; returns one match or ranked candidates.
get_device, get_device_specs, get_device_networkDevice detail, hardware and OS specification, IP addresses and interfaces.
get_device_workload, get_device_system_servicesWorkload state and running configuration; platform services and whether any are crash-looping.
get_device_stats, get_device_metricsLatest CPU, memory, disk, and health; historical metric series.
get_device_logs, get_device_eventsHistorical logs (works for offline devices); lifecycle events.
get_device_screenshotLive capture of the device's display (online devices).

State and diagnostics​

ToolWhat it returns
diagnose_deviceThe diagnosis: verdict, severity-ordered issues with evidence, last reboot. Stored data only; works offline.
get_device_stateConditions, observed generation, workload, boot, transport, time, storage, boot reasons, live operations, local override. live=true asks the device now.
watch_device_stateFollows the device's state stream for up to 10 minutes and returns condition transitions and every progress operation seen.
probe_deviceRuns the live probe on the device (optionally only some sections). Support-scope values come back [redacted].

Documents​

ToolWhat it does
get_device_documentThe device's document as JSON or YAML, with its resource version.
patch_device_documentApply a JSON merge patch (for example a fleet move or a workload override), optionally with if_match. Destructive.
render_device_documentDry-run render: what the device would receive and the diff against what it applied.
adopt_local_override, discard_local_overrideAdopt on-site settings into the document, or tell the device to drop them. Discard can take connectivity away from a device; destructive.

Rollouts​

ToolWhat it does
create_rolloutCreate a configuration rollout for a fleet, configuration, and version with an optional strategy (canary, max in flight, max unavailable, failure threshold, progress deadline). Destructive.
get_rollout, list_rollout_devicesStatus, paused reason, strategy, counts; per-device phase, progress, and stuck time.
rollout_controlpause, resume, cancel, or rollback. Destructive.
watch_rolloutFollow a rollout until it finishes or a timeout, returning status and per-device phase transitions.

Actions​

ToolWhat it does
reboot_deviceReboot a device. Destructive.
change_workload_statusStart, stop, restart, or recreate the workload. Destructive.

Tools prefixed admin_ and list_fleet_protocols exist for the Admiral support team; see Admiral Support Team: Device Troubleshooting.