Repository avatar
AI Tools
v0.2.6
active

fleetloom

io.github.Rouche01/fleetloom

Fleet awareness for SSH hosts: status, placement, maintenance, and capacity via the CLI.

Documentation

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

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.

Try on Glama

Rouche01/fleetloom MCP server

Browse tools and the quality score on the Glama listing, or try the server online with MCP Inspector.

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.3.0 → 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/
NPM
@fleetloom/mcp
Install Command
npm install @fleetloom/mcp