Fleetloom
Fleetloom is a read-only, deterministic MCP server/CLI for inspecting an SSH fleet and recommending where to place workloads.
Fleet health:
fleet_statusreturns live host health, capacity facts, degraded-host collection issues, and optional ontology teach notes.Inventory discovery:
list_serverslists configured hosts, tags, and optional live reachability/memory/disk status.Setup diagnosis:
fleet_doctorvalidates inventory and probes SSH, required tools, and Docker access.Maintenance reporting:
fleet_maintenancechecks reboot-required packages, kernel versions, failed systemd units, and optional needrestart hints.Single-workload placement:
place_servicescores live hosts and returns a ranked host recommendation with reasons/score breakdown.Multi-workload planning:
place_workloadssequentially places workloads while virtualizing capacity, ports, and anti-affinity.Capacity headroom:
fleet_headroomreports usable capacity per host/tag and next-server sizing when saturated.Rebalance suggestion:
suggest_rebalanceproposes one read-only container move to relieve pressure.Deployment brief:
advise_deploygives host-grounded proxy/network conventions, stack path, memory guardrail, and pre-flight checklist; never deploys.Host deep-dive:
explain_hostshows mounts, swap, memory PSI, containers by Compose project, expected-service drift, headroom, and constraints.Service search:
find_servicelocates services by container name, image, Compose project, expected service, or published port.Host comparison:
compare_hostscompares capacity, headroom, tags, and active stacks across two or more hosts.Safety: remote probes are read-only over SSH, and recommendations are deterministic rather than model-chosen.
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:
Stack
Core / CLI: Go (
cmd/fleetloom,internal/…)MCP server: thin TypeScript wrapper (
@fleetloom/mcp) around the Go CLI’s--jsonoutput — works in Cursor, Claude Desktop/Code, VS Code, Windsurf, and other MCP clientsPlacement 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 hostsMCP server
Works with any MCP client. Fastest path in Cursor:
Install the CLI (above) and ensure
fleetloomis on yourPATHClick 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.jsonFrom a repo checkout (dev):
go test ./...
go run ./cmd/fleetloom version
go run ./cmd/fleetloom init
go run ./cmd/fleetloom status -i servers.jsonServer 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— installMCP:
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 toolsadvise_deployARead-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_hostsARead-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_hostARead-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_serviceARead-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_doctorARead-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_headroomARead-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_maintenanceARead-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_statusARead-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_serversARead-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_serviceARead-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_workloadsARead-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_rebalanceARead-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
Scored across 12 tools
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.
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.
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.
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
Related MCP Connectors
SSH client, server management and one remote MCP URL for your machines, with human approvals.
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Termalin's hosted MCP server. Claude, ChatGPT or any MCP client runs commands, moves files over SFTP, queries databases and reads server metrics and monitoring alerts on your servers, keylessly through Termalin Connectors: no SSH key is handed over and no inbound port is opened. Per-host command policy and an audit log. Needs a termal.in Pro or Team account (new accounts start with a 14-day Pro trial).
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI-native SSH orchestration server enabling Claude or any MCP agent to execute commands, manage files, tunnels, and fleet operations across multiple hosts with security policies and audit logs.2Apache 2.0
- AlicenseBqualityDmaintenanceMCP server that gives Claude Code real-time visibility into local infrastructure — Docker containers and system health.21MIT
- AlicenseNot gradedqualityCmaintenanceMCP 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
- AlicenseNot gradedqualityBmaintenanceEnables 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.26AGPL 3.0