Skip to main content
Glama

Fleetloom

Your AI assistant knows your code. Now it knows your servers.

Website: fleetloom.theemate.com · Docs: how it works · all docs · Feedback: Discussions

Fleetloom is an MCP server and CLI. Ask Cursor, Claude, or any MCP client where a service should run, and Fleetloom checks your real hosts over SSH and answers with a named host and the reasons — or tells you that you need another machine. It also works on its own from the terminal. AI explains. Fleetloom calculates: the model never picks the host; recommendations come from deterministic checks, and the model only puts them into words.

Requirements: hosts you can reach with local ssh, ideally running Docker (for container inventory/stats). Tailscale is optional — great for access + discover, but not required for status / place.

Safety: remote access is read-only (probe commands over ssh; nothing installed or uploaded). Details: safety.

Demo

fleetloom status → ask Cursor where to deploy a real project (TokenLedger) → deterministic placement on the fleet:

Watch the demo · stills

Stack

  • Core / CLI: Go (cmd/fleetloom, internal/…)

  • MCP server: thin TypeScript wrapper (@fleetloom/mcp) around the Go CLI’s --json output — works in Cursor, Claude Desktop/Code, VS Code, Windsurf, and other MCP clients

  • Placement stays deterministic; natural-language intent may later fill a structured WorkloadRequest, but never picks the host

Related MCP server: infra-mcp

Status

Go core + CLI + MCP adapter (@fleetloom/mcp on npm) are in place. Packaging: GitHub Releases, Homebrew, and npx. Site: fleetloom.theemate.com. See install and MCP. Maintainer release checklist: docs/release.md.

Install

Full options (Homebrew, Release binary, go install): install docs.

brew install --cask Rouche01/fleetloom/fleetloom
fleetloom status --demo   # bundled sample fleet, no SSH
fleetloom init            # ~/.config/fleetloom/servers.json — edit your hosts
fleetloom status          # needs working SSH to inventory hosts

MCP server

Works with any MCP client. Fastest path in Cursor:

  1. Install the CLI (above) and ensure fleetloom is on your PATH

  2. Click Add to Cursor:

Add to Cursor

Claude Desktop, Claude Code, VS Code, Windsurf, and troubleshooting (spawn npx ENOENT): MCP docs.

Quick start

fleetloom init
# edit ~/.config/fleetloom/servers.json

fleetloom status
fleetloom status --json

fleetloom place \
  --name batch-worker \
  --tag cpu-heavy --tag internal-only \
  --min-ram-mb 2048 --min-disk-gb 20

fleetloom list-servers
fleetloom list-servers --live --json

# Optional: draft inventory from Tailscale (review before adopting)
fleetloom discover
fleetloom discover --write discovered.servers.json

From a repo checkout (dev):

go test ./...
go run ./cmd/fleetloom version
go run ./cmd/fleetloom init
go run ./cmd/fleetloom status -i servers.json

Server inventory

Fleetloom reads a typed JSON inventory of SSH hosts (servers.json).

Full field-by-field guide: inventory.

Interfaces

  • CLI: fleetloom status, fleetloom place, fleetloom list-servers, discover, init — install

  • MCP: npx -y @fleetloom/mcp@0.2.6 → status/place/doctor/maintenance/headroom/rebalance/advise-deploy and more — MCP docs

Design principles

  • Central controller over SSH first (no agent on every host yet); Tailscale optional

  • Read-only remote probes — see safety

  • Deterministic capacity/placement rules first; optional natural-language inference only at the edge

  • Thin product: do not reinvent Beszel/Netdata

  • Shared vocabulary: host, workload, drift, and related concepts are named in the data model (Go types remain the source of truth); JSON Schema + optional JSON-LD context in schemas/

Available Tools

12 tools
advise_deployA
Read-onlyIdempotent

Host-grounded deployment brief for a workload: reverse-proxy/network conventions, stack path, memory guardrail, and pre-flight checklist. Read-only — does not deploy. Use after place_service or with serverId to pin a host. Write Compose/proxy files from this brief; never invent host topology. Optional teach=true adds teachNotes for proxy/storage/stateful signals.

Inputs: name, tags, notes, teach, +15 more.

compare_hostsA
Read-onlyIdempotent

Side-by-side comparison of two or more inventory hosts: capacity, headroom above floors, tags, and active stacks. Use when choosing between known machines; for fleet-wide spare capacity use fleet_headroom; for a single deep dive use explain_host. Read-only.

Inputs: serverIds (required), inventory.

explain_hostA
Read-onlyIdempotent

Deep-dive one host: mounts, swap, memory PSI, containers by Compose project, expected-service drift, usable headroom, and constraints. Use when the user asks why a specific machine is tight or what is running there. Prefer fleet_status for fleet-wide view and fleet_headroom for capacity-above-floors across hosts. Optional teach=true adds teachNotes for observed host signals. Read-only.

Inputs: serverId (required), teach, inventory.

find_serviceA
Read-onlyIdempotent

Locate services across the fleet by container name fragment, image, Compose project, expected service name, or published port. Use before placement or rebalance when the user asks “where is X running?”. Read-only search over live/observed facts.

Inputs: query (required), inventory.

fleet_doctorA
Read-onlyIdempotent

Diagnose Fleetloom setup: validate inventory schema, probe SSH reachability/latency per host, required remote tools (free/df/nproc), and Docker daemon access. Use when status/placement fails or a host looks misconfigured. Read-only probes — does not install packages or change hosts.

Inputs: inventory.

fleet_headroomA
Read-onlyIdempotent

Report usable capacity above configured floors: free memory/disk and load headroom per host and per tag profile (e.g. storage-heavy, memory-heavy), plus next-server sizing when a profile is saturated. Use for capacity planning and “will another service fit?” questions. Prefer fleet_status for live health/pressure, place_service to choose a host, explain_host for one machine, and fleet_maintenance for reboot/kernel issues. Read-only SSH poll — does not place or change workloads. Call with no arguments to use the default inventory.

Inputs: inventory.

fleet_maintenanceA
Read-onlyIdempotent

Report pending host maintenance: reboot-required packages, kernel running vs newest installed, failed systemd units, and optional needrestart service hints. Read-only — never reboots or restarts. Use when the user asks what maintenance is pending; do not conflate this with capacity/pressure (use fleet_status / fleet_headroom for that).

Inputs: serverId, inventory.

fleet_statusA
Read-onlyIdempotent

Poll the Tailscale/SSH fleet and return a plain-English health summary plus structured host facts. Degraded hosts include collectionIssues (code, severity, impact, hint)—use those hints when collection is partial. Use when the user asks how the fleet looks, which hosts are under pressure, or for live capacity. Prefer fleet_headroom for spare capacity above floors, fleet_maintenance for reboot/kernel/failed units. Optional teach=true adds trigger-driven teachNotes (ontology concept slugs). Read-only — does not change hosts.

Inputs: teach, inventory.

list_serversA
Read-onlyIdempotent

List configured Fleetloom inventory hosts: ids, tags, and optional live memory/disk/reachability. Use to discover valid serverId values before place_service, explain_host, or compare_hosts. With live=false (default), returns inventory only without SSH. Read-only.

Inputs: live, inventory.

place_serviceA
Read-onlyIdempotent

Recommend where to deploy a single workload on the fleet. Infer structured infra requirements (or pass composePath/preset). Fleetloom scores live host facts and returns a ranked recommendation with optional scoreBreakdown; do not invent the host yourself. Use place_workloads instead when placing multiple workloads in one plan; follow with advise_deploy for a host-grounded deploy brief; use suggest_rebalance only when relieving an already-stressed host. If no host fits, the JSON says so (needsNewServer / empty recommendation) — do not invent a host. Optional teach=true adds teachNotes for request/placement signals. Read-only scoring — does not deploy or move containers.

Inputs: name, tags, notes, teach, +14 more.

place_workloadsA
Read-onlyIdempotent

Sequentially place multiple workloads as a what-if plan. Each step virtualizes capacity, ports, and anti-affinity so later workloads do not unrealistically stack on the same host. Prefer place_service for a single workload. Read-only — does not deploy.

Inputs: workloads (required), inventory.

suggest_rebalanceA
Read-onlyIdempotent

Suggest one container move that would best relieve pressure on a stressed host (source, destination, rationale). Advisory only — never executes docker moves or Compose changes. Use after fleet_status shows pressure; confirm with place_service/advise_deploy before acting manually.

Inputs: inventory, includeStateful.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools have distinct resource/action roles: place_service vs place_workloads, find_service, advise_deploy, and suggest_rebalance are well separated. The main ambiguity is among several read-only host-reporting tools (fleet_status, fleet_headroom, explain_host, compare_hosts, fleet_doctor), whose boundaries depend on reading the descriptions.

    Naming Consistency3/5

    All names use snake_case and are readable, but conventions are mixed: most action tools use verb_noun (place_service, find_service, list_servers), while reporting tools use fleet_noun (fleet_status, fleet_headroom, fleet_maintenance, fleet_doctor). This is consistent within groups but not a single predictable pattern.

    Tool Count5/5

    Twelve tools is well within a reasonable range for a fleet placement/advisory server, and each appears to cover a distinct planning, discovery, diagnosis, or reporting responsibility. The count does not feel padded or thin.

    Completeness3/5

    The advisory surface is broad—placement, discovery, host comparison, diagnostics, maintenance, headroom, rebalance suggestion, and deploy brief—but there is no tool to execute deployment, apply a move, or write the referenced Compose/proxy files. For actual fleet changes, agents hit a manual dead end; for read-only planning, coverage is reasonably complete.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server that exposes live host metrics (CPU, memory, processes, network) to Cursor/Claude via /proc and optional eBPF, enabling system monitoring dashboards and natural language queries.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to manage an entire fleet of servers over SSH through MCP, fanning a single intent out across many hosts with target expressions while enforcing a policy engine, approval gates, and tamper-evident audit logs. Supports rolling execution with circuit breakers, cross-host diffing, bulk file transfer, tmux sessions, and YAML workflows.
      26
      AGPL 3.0